marshmallow-code / marshmallow

A lightweight library for converting complex objects to and from simple Python datatypes.
https://marshmallow.readthedocs.io/
MIT License
7.05k stars 629 forks source link

3.21.2: sphinx warnings `reference target not found` #2275

Open kloczek opened 5 months ago

kloczek commented 5 months ago

On building my packages I'm using sphinx-build command with -n switch which shows warmings about missing references. These are not critical issues. Here is the output with warnings:

```console + /usr/bin/sphinx-build -n -T -b man docs build/sphinx/man Running Sphinx v7.3.7 making output directory... done loading intersphinx inventory from https://python.readthedocs.io/en/latest/objects.inv... [autosummary] generating autosummary for: api_reference.rst, authors.rst, changelog.rst, code_of_conduct.rst, contributing.rst, custom_fields.rst, ecosystem.rst, examples.rst, extending.rst, index.rst, ..., marshmallow.exceptions.rst, marshmallow.fields.rst, marshmallow.schema.rst, marshmallow.utils.rst, marshmallow.validate.rst, nesting.rst, quickstart.rst, upgrading.rst, whos_using.rst, why.rst WARNING: Failed to import marshmallow.utils. Possible hints: * ModuleNotFoundError: No module named 'marshmallow' * KeyError: 'marshmallow' WARNING: Failed to import marshmallow.error_store. Possible hints: * ModuleNotFoundError: No module named 'marshmallow' * KeyError: 'marshmallow' WARNING: Failed to import marshmallow.class_registry. Possible hints: * ModuleNotFoundError: No module named 'marshmallow' * KeyError: 'marshmallow' WARNING: Failed to import marshmallow. Possible hints: * ModuleNotFoundError: No module named 'marshmallow' * KeyError: 'marshmallow' WARNING: Failed to import marshmallow.fields. Possible hints: * ModuleNotFoundError: No module named 'marshmallow' * KeyError: 'marshmallow' WARNING: Failed to import marshmallow.exceptions. Possible hints: * ModuleNotFoundError: No module named 'marshmallow' * KeyError: 'marshmallow' WARNING: Failed to import marshmallow.validate. Possible hints: * ModuleNotFoundError: No module named 'marshmallow' * KeyError: 'marshmallow' WARNING: Failed to import marshmallow.decorators. Possible hints: * ModuleNotFoundError: No module named 'marshmallow' * KeyError: 'marshmallow' building [mo]: targets for 0 po files that are out of date writing output... building [man]: all manpages updating environment: [new config] 26 added, 0 changed, 0 removed reading sources... [100%] why WARNING: autodoc: failed to import module 'marshmallow'; the following exception was raised: No module named 'marshmallow' CHANGELOG.rst:206: ERROR: Unexpected indentation. CHANGELOG.rst:781: WARNING: Bullet list ends without a blank line; unexpected unindent. /home/tkloczko/rpmbuild/BUILD/marshmallow-3.21.2/docs/extending.rst:1: WARNING: duplicate object description of marshmallow, other instance in examples, use :no-index: for one of them WARNING: autodoc: failed to import module 'class_registry' from module 'marshmallow'; the following exception was raised: No module named 'marshmallow' WARNING: autodoc: failed to import module 'decorators' from module 'marshmallow'; the following exception was raised: No module named 'marshmallow' WARNING: autodoc: failed to import module 'error_store' from module 'marshmallow'; the following exception was raised: No module named 'marshmallow' WARNING: autodoc: failed to import module 'exceptions' from module 'marshmallow'; the following exception was raised: No module named 'marshmallow' WARNING: autodoc: failed to import module 'fields' from module 'marshmallow'; the following exception was raised: No module named 'marshmallow' WARNING: autodoc: failed to import class 'schema.Schema' from module 'marshmallow'; the following exception was raised: No module named 'marshmallow' WARNING: autodoc: failed to import class 'schema.SchemaOpts' from module 'marshmallow'; the following exception was raised: No module named 'marshmallow' WARNING: autodoc: failed to import module 'utils' from module 'marshmallow'; the following exception was raised: No module named 'marshmallow' WARNING: autodoc: failed to import module 'validate' from module 'marshmallow'; the following exception was raised: No module named 'marshmallow' /home/tkloczko/rpmbuild/BUILD/marshmallow-3.21.2/docs/quickstart.rst:1: WARNING: duplicate object description of marshmallow, other instance in extending, use :no-index: for one of them looking for now-outdated files... none found pickling environment... done checking consistency... done writing... python-marshmallow.3 { install quickstart nesting custom_fields extending examples api_reference marshmallow.schema marshmallow.fields marshmallow.decorators marshmallow.validate marshmallow.utils marshmallow.error_store marshmallow.class_registry marshmallow.exceptions why changelog upgrading ecosystem whos_using license authors contributing code_of_conduct kudos } /home/tkloczko/rpmbuild/BUILD/marshmallow-3.21.2/docs/install.rst:6: WARNING: py:obj reference target not found: packaging /home/tkloczko/rpmbuild/BUILD/marshmallow-3.21.2/docs/quickstart.rst:28: WARNING: py:class reference target not found: fields.Field /home/tkloczko/rpmbuild/BUILD/marshmallow-3.21.2/docs/quickstart.rst:47: WARNING: py:obj reference target not found: marshmallow.Schema.from_dict /home/tkloczko/rpmbuild/BUILD/marshmallow-3.21.2/docs/quickstart.rst:57: WARNING: py:obj reference target not found: marshmallow.Schema.from_dict /home/tkloczko/rpmbuild/BUILD/marshmallow-3.21.2/docs/quickstart.rst:62: WARNING: py:meth reference target not found: marshmallow.Schema.dump /home/tkloczko/rpmbuild/BUILD/marshmallow-3.21.2/docs/quickstart.rst:76: WARNING: py:meth reference target not found: marshmallow.Schema.dumps /home/tkloczko/rpmbuild/BUILD/marshmallow-3.21.2/docs/quickstart.rst:101: WARNING: py:obj reference target not found: Schema.dump /home/tkloczko/rpmbuild/BUILD/marshmallow-3.21.2/docs/quickstart.rst:101: WARNING: py:obj reference target not found: Schema.load /home/tkloczko/rpmbuild/BUILD/marshmallow-3.21.2/docs/quickstart.rst:104: WARNING: py:meth reference target not found: Schema.load /home/tkloczko/rpmbuild/BUILD/marshmallow-3.21.2/docs/quickstart.rst:104: WARNING: py:exc reference target not found: marshmallow.exceptions.ValidationError /home/tkloczko/rpmbuild/BUILD/marshmallow-3.21.2/docs/quickstart.rst:128: WARNING: py:class reference target not found: Schema /home/tkloczko/rpmbuild/BUILD/marshmallow-3.21.2/docs/quickstart.rst:128: WARNING: py:obj reference target not found: marshmallow.decorators.post_load /home/tkloczko/rpmbuild/BUILD/marshmallow-3.21.2/docs/quickstart.rst:144: WARNING: py:obj reference target not found: Schema.load /home/tkloczko/rpmbuild/BUILD/marshmallow-3.21.2/docs/quickstart.rst:179: WARNING: py:meth reference target not found: Schema.load /home/tkloczko/rpmbuild/BUILD/marshmallow-3.21.2/docs/quickstart.rst:179: WARNING: py:meth reference target not found: Schema.loads /home/tkloczko/rpmbuild/BUILD/marshmallow-3.21.2/docs/quickstart.rst:179: WARNING: py:exc reference target not found: marshmallow.exceptions.ValidationError /home/tkloczko/rpmbuild/BUILD/marshmallow-3.21.2/docs/quickstart.rst:179: WARNING: py:obj reference target not found: marshmallow.exceptions.ValidationError.messages /home/tkloczko/rpmbuild/BUILD/marshmallow-3.21.2/docs/quickstart.rst:179: WARNING: py:obj reference target not found: marshmallow.exceptions.ValidationError.valid_data /home/tkloczko/rpmbuild/BUILD/marshmallow-3.21.2/docs/quickstart.rst:179: WARNING: py:class reference target not found: fields.Email /home/tkloczko/rpmbuild/BUILD/marshmallow-3.21.2/docs/quickstart.rst:179: WARNING: py:class reference target not found: fields.URL /home/tkloczko/rpmbuild/BUILD/marshmallow-3.21.2/docs/quickstart.rst:246: WARNING: py:exc reference target not found: marshmallow.exceptions.ValidationError /home/tkloczko/rpmbuild/BUILD/marshmallow-3.21.2/docs/quickstart.rst:277: WARNING: py:meth reference target not found: Schema.dump /home/tkloczko/rpmbuild/BUILD/marshmallow-3.21.2/docs/quickstart.rst:283: WARNING: py:func reference target not found: Schema.handle_error /home/tkloczko/rpmbuild/BUILD/marshmallow-3.21.2/docs/quickstart.rst:295: WARNING: py:obj reference target not found: marshmallow.decorators.validates /home/tkloczko/rpmbuild/BUILD/marshmallow-3.21.2/docs/quickstart.rst:316: WARNING: py:meth reference target not found: Schema.load /home/tkloczko/rpmbuild/BUILD/marshmallow-3.21.2/docs/quickstart.rst:379: WARNING: py:obj reference target not found: load_default /home/tkloczko/rpmbuild/BUILD/marshmallow-3.21.2/docs/quickstart.rst:379: WARNING: py:obj reference target not found: dump_default /home/tkloczko/rpmbuild/BUILD/marshmallow-3.21.2/docs/quickstart.rst:399: WARNING: py:meth reference target not found: Schema.load /home/tkloczko/rpmbuild/BUILD/marshmallow-3.21.2/docs/quickstart.rst:399: WARNING: py:exc reference target not found: marshmallow.exceptions.ValidationError /home/tkloczko/rpmbuild/BUILD/marshmallow-3.21.2/docs/quickstart.rst:403: WARNING: py:obj reference target not found: marshmallow.utils.RAISE /home/tkloczko/rpmbuild/BUILD/marshmallow-3.21.2/docs/quickstart.rst:403: WARNING: py:exc reference target not found: marshmallow.exceptions.ValidationError /home/tkloczko/rpmbuild/BUILD/marshmallow-3.21.2/docs/quickstart.rst:405: WARNING: py:obj reference target not found: marshmallow.utils.EXCLUDE /home/tkloczko/rpmbuild/BUILD/marshmallow-3.21.2/docs/quickstart.rst:406: WARNING: py:obj reference target not found: marshmallow.utils.INCLUDE /home/tkloczko/rpmbuild/BUILD/marshmallow-3.21.2/docs/quickstart.rst:408: WARNING: py:obj reference target not found: Schema /home/tkloczko/rpmbuild/BUILD/marshmallow-3.21.2/docs/quickstart.rst:425: WARNING: py:obj reference target not found: Schema.load /home/tkloczko/rpmbuild/BUILD/marshmallow-3.21.2/docs/quickstart.rst:431: WARNING: py:meth reference target not found: Schema.load /home/tkloczko/rpmbuild/BUILD/marshmallow-3.21.2/docs/quickstart.rst:439: WARNING: py:meth reference target not found: Schema.validate /home/tkloczko/rpmbuild/BUILD/marshmallow-3.21.2/docs/quickstart.rst:468: WARNING: py:obj reference target not found: data_key /home/tkloczko/rpmbuild/BUILD/marshmallow-3.21.2/docs/quickstart.rst:510: WARNING: py:class reference target not found: marshmallow.fields.String /home/tkloczko/rpmbuild/BUILD/marshmallow-3.21.2/docs/quickstart.rst:510: WARNING: py:class reference target not found: marshmallow.fields.DateTime /home/tkloczko/rpmbuild/BUILD/marshmallow-3.21.2/docs/nesting.rst:25: WARNING: py:class reference target not found: marshmallow.fields.Nested /home/tkloczko/rpmbuild/BUILD/marshmallow-3.21.2/docs/nesting.rst:58: WARNING: py:obj reference target not found: marshmallow.fields.Nested /home/tkloczko/rpmbuild/BUILD/marshmallow-3.21.2/docs/nesting.rst:58: WARNING: py:obj reference target not found: marshmallow.fields.List /home/tkloczko/rpmbuild/BUILD/marshmallow-3.21.2/docs/nesting.rst:103: WARNING: py:class reference target not found: marshmallow.fields.Pluck /home/tkloczko/rpmbuild/BUILD/marshmallow-3.21.2/docs/nesting.rst:171: WARNING: py:obj reference target not found: marshmallow.fields.Nested /home/tkloczko/rpmbuild/BUILD/marshmallow-3.21.2/docs/nesting.rst:226: WARNING: py:obj reference target not found: marshmallow.fields.Nested /home/tkloczko/rpmbuild/BUILD/marshmallow-3.21.2/docs/nesting.rst:264: WARNING: py:obj reference target not found: Schema /home/tkloczko/rpmbuild/BUILD/marshmallow-3.21.2/docs/custom_fields.rst:5: WARNING: py:obj reference target not found: Schema /home/tkloczko/rpmbuild/BUILD/marshmallow-3.21.2/docs/custom_fields.rst:7: WARNING: py:class reference target not found: marshmallow.fields.Field /home/tkloczko/rpmbuild/BUILD/marshmallow-3.21.2/docs/custom_fields.rst:8: WARNING: py:class reference target not found: marshmallow.fields.Method /home/tkloczko/rpmbuild/BUILD/marshmallow-3.21.2/docs/custom_fields.rst:9: WARNING: py:class reference target not found: marshmallow.fields.Function /home/tkloczko/rpmbuild/BUILD/marshmallow-3.21.2/docs/custom_fields.rst:16: WARNING: py:class reference target not found: marshmallow.fields.Field /home/tkloczko/rpmbuild/BUILD/marshmallow-3.21.2/docs/custom_fields.rst:16: WARNING: py:meth reference target not found: marshmallow.fields.Field._serialize /home/tkloczko/rpmbuild/BUILD/marshmallow-3.21.2/docs/custom_fields.rst:16: WARNING: py:meth reference target not found: marshmallow.fields.Field._deserialize /home/tkloczko/rpmbuild/BUILD/marshmallow-3.21.2/docs/custom_fields.rst:49: WARNING: py:class reference target not found: marshmallow.fields.Method /home/tkloczko/rpmbuild/BUILD/marshmallow-3.21.2/docs/custom_fields.rst:65: WARNING: py:class reference target not found: marshmallow.fields.Function /home/tkloczko/rpmbuild/BUILD/marshmallow-3.21.2/docs/custom_fields.rst:65: WARNING: py:class reference target not found: marshmallow.fields.Method /home/tkloczko/rpmbuild/BUILD/marshmallow-3.21.2/docs/custom_fields.rst:76: WARNING: py:obj reference target not found: Method /home/tkloczko/rpmbuild/BUILD/marshmallow-3.21.2/docs/custom_fields.rst:76: WARNING: py:obj reference target not found: Function /home/tkloczko/rpmbuild/BUILD/marshmallow-3.21.2/docs/custom_fields.rst:79: WARNING: py:class reference target not found: marshmallow.fields.Function /home/tkloczko/rpmbuild/BUILD/marshmallow-3.21.2/docs/custom_fields.rst:79: WARNING: py:class reference target not found: marshmallow.fields.Method /home/tkloczko/rpmbuild/BUILD/marshmallow-3.21.2/docs/custom_fields.rst:100: WARNING: py:obj reference target not found: Method /home/tkloczko/rpmbuild/BUILD/marshmallow-3.21.2/docs/custom_fields.rst:100: WARNING: py:obj reference target not found: Function /home/tkloczko/rpmbuild/BUILD/marshmallow-3.21.2/docs/custom_fields.rst:103: WARNING: py:class reference target not found: marshmallow.fields.Function /home/tkloczko/rpmbuild/BUILD/marshmallow-3.21.2/docs/custom_fields.rst:103: WARNING: py:class reference target not found: marshmallow.fields.Method /home/tkloczko/rpmbuild/BUILD/marshmallow-3.21.2/docs/custom_fields.rst:105: WARNING: py:obj reference target not found: Schema /home/tkloczko/rpmbuild/BUILD/marshmallow-3.21.2/docs/custom_fields.rst:105: WARNING: py:class reference target not found: marshmallow.fields.Function /home/tkloczko/rpmbuild/BUILD/marshmallow-3.21.2/docs/custom_fields.rst:105: WARNING: py:class reference target not found: marshmallow.fields.Method /home/tkloczko/rpmbuild/BUILD/marshmallow-3.21.2/docs/custom_fields.rst:148: WARNING: py:obj reference target not found: Field's /home/tkloczko/rpmbuild/BUILD/marshmallow-3.21.2/docs/custom_fields.rst:150: WARNING: py:obj reference target not found: Field's /home/tkloczko/rpmbuild/BUILD/marshmallow-3.21.2/docs/extending.rst:9: WARNING: py:obj reference target not found: marshmallow.decorators.pre_load /home/tkloczko/rpmbuild/BUILD/marshmallow-3.21.2/docs/extending.rst:9: WARNING: py:obj reference target not found: marshmallow.decorators.post_load /home/tkloczko/rpmbuild/BUILD/marshmallow-3.21.2/docs/extending.rst:9: WARNING: py:obj reference target not found: marshmallow.decorators.pre_dump /home/tkloczko/rpmbuild/BUILD/marshmallow-3.21.2/docs/extending.rst:9: WARNING: py:obj reference target not found: marshmallow.decorators.post_dump /home/tkloczko/rpmbuild/BUILD/marshmallow-3.21.2/docs/extending.rst:34: WARNING: py:func reference target not found: marshmallow.Schema.dump /home/tkloczko/rpmbuild/BUILD/marshmallow-3.21.2/docs/extending.rst:34: WARNING: py:func reference target not found: marshmallow.Schema.load /home/tkloczko/rpmbuild/BUILD/marshmallow-3.21.2/docs/extending.rst:104: WARNING: py:obj reference target not found: marshmallow.exceptions.ValidationError /home/tkloczko/rpmbuild/BUILD/marshmallow-3.21.2/docs/extending.rst:128: WARNING: py:obj reference target not found: marshmallow.exceptions.ValidationError /home/tkloczko/rpmbuild/BUILD/marshmallow-3.21.2/docs/extending.rst:224: WARNING: py:class reference target not found: Schema /home/tkloczko/rpmbuild/BUILD/marshmallow-3.21.2/docs/extending.rst:224: WARNING: py:obj reference target not found: marshmallow.decorators.validates_schema /home/tkloczko/rpmbuild/BUILD/marshmallow-3.21.2/docs/extending.rst:253: WARNING: py:exc reference target not found: marshmallow.exceptions.ValidationError /home/tkloczko/rpmbuild/BUILD/marshmallow-3.21.2/docs/extending.rst:307: WARNING: py:obj reference target not found: marshmallow.decorators.post_load /home/tkloczko/rpmbuild/BUILD/marshmallow-3.21.2/docs/extending.rst:307: WARNING: py:obj reference target not found: marshmallow.decorators.validates_schema /home/tkloczko/rpmbuild/BUILD/marshmallow-3.21.2/docs/extending.rst:338: WARNING: py:obj reference target not found: utils.get_value /home/tkloczko/rpmbuild/BUILD/marshmallow-3.21.2/docs/extending.rst:340: WARNING: py:meth reference target not found: marshmallow.Schema.get_attribute /home/tkloczko/rpmbuild/BUILD/marshmallow-3.21.2/docs/extending.rst:356: WARNING: py:meth reference target not found: Schema.load /home/tkloczko/rpmbuild/BUILD/marshmallow-3.21.2/docs/extending.rst:356: WARNING: py:exc reference target not found: marshmallow.exceptions.ValidationError /home/tkloczko/rpmbuild/BUILD/marshmallow-3.21.2/docs/extending.rst:358: WARNING: py:class reference target not found: Schema /home/tkloczko/rpmbuild/BUILD/marshmallow-3.21.2/docs/extending.rst:358: WARNING: py:obj reference target not found: marshmallow.Schema.handle_error /home/tkloczko/rpmbuild/BUILD/marshmallow-3.21.2/docs/extending.rst:358: WARNING: py:exc reference target not found: marshmallow.exceptions.ValidationError /home/tkloczko/rpmbuild/BUILD/marshmallow-3.21.2/docs/extending.rst:386: WARNING: py:class reference target not found: Schema /home/tkloczko/rpmbuild/BUILD/marshmallow-3.21.2/docs/extending.rst:386: WARNING: py:class reference target not found: Schema.Meta /home/tkloczko/rpmbuild/BUILD/marshmallow-3.21.2/docs/extending.rst:388: WARNING: py:class reference target not found: SchemaOpts /home/tkloczko/rpmbuild/BUILD/marshmallow-3.21.2/docs/extending.rst:428: WARNING: py:class reference target not found: Schema /home/tkloczko/rpmbuild/BUILD/marshmallow-3.21.2/docs/extending.rst:467: WARNING: py:obj reference target not found: Schema /home/tkloczko/rpmbuild/BUILD/marshmallow-3.21.2/docs/extending.rst:480: WARNING: py:obj reference target not found: marshmallow.Schema.load /home/tkloczko/rpmbuild/BUILD/marshmallow-3.21.2/docs/extending.rst:480: WARNING: py:obj reference target not found: marshmallow.Schema.loads /home/tkloczko/rpmbuild/BUILD/marshmallow-3.21.2/docs/extending.rst:480: WARNING: py:obj reference target not found: marshmallow.exceptions.ValidationError /home/tkloczko/rpmbuild/BUILD/marshmallow-3.21.2/docs/extending.rst:480: WARNING: py:obj reference target not found: marshmallow.Schema.error_messages /home/tkloczko/rpmbuild/BUILD/marshmallow-3.21.2/docs/extending.rst:491: WARNING: py:obj reference target not found: marshmallow.fields.Field.default_error_messages /home/tkloczko/rpmbuild/BUILD/marshmallow-3.21.2/docs/examples.rst:15: WARNING: py:meth reference target not found: Schema.load /home/tkloczko/rpmbuild/BUILD/marshmallow-3.21.2/docs/examples.rst:145: WARNING: py:obj reference target not found: marshmallow.decorators.pre_load /home/tkloczko/rpmbuild/BUILD/marshmallow-3.21.2/docs/examples.rst:232: WARNING: py:obj reference target not found: marshmallow.Schema.load /home/tkloczko/rpmbuild/BUILD/marshmallow-3.21.2/docs/examples.rst:232: WARNING: py:obj reference target not found: marshmallow.decorators.pre_load /home/tkloczko/rpmbuild/BUILD/marshmallow-3.21.2/docs/examples.rst:232: WARNING: py:obj reference target not found: marshmallow.decorators.post_load /home/tkloczko/rpmbuild/BUILD/marshmallow-3.21.2/docs/examples.rst:297: WARNING: py:obj reference target not found: marshmallow.Schema.on_bind_field /home/tkloczko/rpmbuild/BUILD/marshmallow-3.21.2/docs/why.rst:18: WARNING: py:class reference target not found: marshmallow.Schema /home/tkloczko/rpmbuild/BUILD/marshmallow-3.21.2/docs/why.rst:18: WARNING: py:obj reference target not found: marshmallow.Schema /home/tkloczko/rpmbuild/BUILD/marshmallow-3.21.2/docs/why.rst:18: WARNING: py:meth reference target not found: marshmallow.Schema.dump /home/tkloczko/rpmbuild/BUILD/marshmallow-3.21.2/docs/why.rst:18: WARNING: py:meth reference target not found: marshmallow.Schema.load /home/tkloczko/rpmbuild/BUILD/marshmallow-3.21.2/docs/why.rst:28: WARNING: py:class reference target not found: marshmallow.Schema /home/tkloczko/rpmbuild/BUILD/marshmallow-3.21.2/docs/why.rst:30: WARNING: py:obj reference target not found: marshmallow.Schema /home/tkloczko/rpmbuild/BUILD/marshmallow-3.21.2/docs/why.rst:53: WARNING: py:class reference target not found: Schema /home/tkloczko/rpmbuild/BUILD/marshmallow-3.21.2/docs/why.rst:64: WARNING: py:obj reference target not found: marshmallow.Schema /home/tkloczko/rpmbuild/BUILD/marshmallow-3.21.2/CHANGELOG.rst:65: WARNING: py:obj reference target not found: OrderedSet /home/tkloczko/rpmbuild/BUILD/marshmallow-3.21.2/CHANGELOG.rst:65: WARNING: py:obj reference target not found: set_class /home/tkloczko/rpmbuild/BUILD/marshmallow-3.21.2/CHANGELOG.rst:886: WARNING: py:obj reference target not found: StringNotCollectionError /home/tkloczko/rpmbuild/BUILD/marshmallow-3.21.2/CHANGELOG.rst:1090: WARNING: py:obj reference target not found: default /home/tkloczko/rpmbuild/BUILD/marshmallow-3.21.2/CHANGELOG.rst:1090: WARNING: py:obj reference target not found: default /home/tkloczko/rpmbuild/BUILD/marshmallow-3.21.2/CHANGELOG.rst:1133: WARNING: py:obj reference target not found: 325 /home/tkloczko/rpmbuild/BUILD/marshmallow-3.21.2/CHANGELOG.rst:1314: WARNING: py:obj reference target not found: alefnula /home/tkloczko/rpmbuild/BUILD/marshmallow-3.21.2/CHANGELOG.rst:1406: WARNING: py:obj reference target not found: __getitem__ /home/tkloczko/rpmbuild/BUILD/marshmallow-3.21.2/CHANGELOG.rst:1512: WARNING: py:obj reference target not found: Function /home/tkloczko/rpmbuild/BUILD/marshmallow-3.21.2/CHANGELOG.rst:1929: WARNING: py:obj reference target not found: Schema.dump /home/tkloczko/rpmbuild/BUILD/marshmallow-3.21.2/CHANGELOG.rst:1940: WARNING: py:obj reference target not found: {input} /home/tkloczko/rpmbuild/BUILD/marshmallow-3.21.2/CHANGELOG.rst:2208: WARNING: py:obj reference target not found: class Meta /home/tkloczko/rpmbuild/BUILD/marshmallow-3.21.2/CHANGELOG.rst:2209: WARNING: py:obj reference target not found: class Meta /home/tkloczko/rpmbuild/BUILD/marshmallow-3.21.2/docs/upgrading.rst:9: WARNING: py:obj reference target not found: marshmallow.fields.Nested /home/tkloczko/rpmbuild/BUILD/marshmallow-3.21.2/docs/upgrading.rst:74: WARNING: py:obj reference target not found: marshmallow.Schema.load /home/tkloczko/rpmbuild/BUILD/marshmallow-3.21.2/docs/upgrading.rst:74: WARNING: py:obj reference target not found: marshmallow.Schema.dump /home/tkloczko/rpmbuild/BUILD/marshmallow-3.21.2/docs/upgrading.rst:76: WARNING: py:exc reference target not found: marshmallow.exceptions.ValidationError /home/tkloczko/rpmbuild/BUILD/marshmallow-3.21.2/docs/upgrading.rst:76: WARNING: py:obj reference target not found: marshmallow.exceptions.ValidationError.messages /home/tkloczko/rpmbuild/BUILD/marshmallow-3.21.2/docs/upgrading.rst:76: WARNING: py:obj reference target not found: marshmallow.exceptions.ValidationError.valid_data /home/tkloczko/rpmbuild/BUILD/marshmallow-3.21.2/docs/upgrading.rst:106: WARNING: py:meth reference target not found: marshmallow.Schema.validate /home/tkloczko/rpmbuild/BUILD/marshmallow-3.21.2/docs/upgrading.rst:113: WARNING: py:obj reference target not found: Schema /home/tkloczko/rpmbuild/BUILD/marshmallow-3.21.2/docs/upgrading.rst:113: WARNING: py:obj reference target not found: Schema /home/tkloczko/rpmbuild/BUILD/marshmallow-3.21.2/docs/upgrading.rst:134: WARNING: py:obj reference target not found: marshmallow.decorators.pre_load /home/tkloczko/rpmbuild/BUILD/marshmallow-3.21.2/docs/upgrading.rst:134: WARNING: py:obj reference target not found: marshmallow.decorators.post_load /home/tkloczko/rpmbuild/BUILD/marshmallow-3.21.2/docs/upgrading.rst:134: WARNING: py:obj reference target not found: marshmallow.decorators.pre_dump /home/tkloczko/rpmbuild/BUILD/marshmallow-3.21.2/docs/upgrading.rst:134: WARNING: py:obj reference target not found: marshmallow.decorators.post_dump /home/tkloczko/rpmbuild/BUILD/marshmallow-3.21.2/docs/upgrading.rst:134: WARNING: py:obj reference target not found: marshmallow.decorators.validates_schema /home/tkloczko/rpmbuild/BUILD/marshmallow-3.21.2/docs/upgrading.rst:134: WARNING: py:obj reference target not found: marshmallow.decorators.pre_load /home/tkloczko/rpmbuild/BUILD/marshmallow-3.21.2/docs/upgrading.rst:134: WARNING: py:obj reference target not found: marshmallow.decorators.post_load /home/tkloczko/rpmbuild/BUILD/marshmallow-3.21.2/docs/upgrading.rst:134: WARNING: py:obj reference target not found: marshmallow.decorators.validates_schema /home/tkloczko/rpmbuild/BUILD/marshmallow-3.21.2/docs/upgrading.rst:166: WARNING: py:obj reference target not found: marshmallow.Schema.handle_error /home/tkloczko/rpmbuild/BUILD/marshmallow-3.21.2/docs/upgrading.rst:185: WARNING: py:meth reference target not found: marshmallow.Schema.dump /home/tkloczko/rpmbuild/BUILD/marshmallow-3.21.2/docs/upgrading.rst:220: WARNING: py:obj reference target not found: marshmallow.Schema.load /home/tkloczko/rpmbuild/BUILD/marshmallow-3.21.2/docs/upgrading.rst:260: WARNING: py:exc reference target not found: marshmallow.exceptions.ValidationError /home/tkloczko/rpmbuild/BUILD/marshmallow-3.21.2/docs/upgrading.rst:260: WARNING: py:obj reference target not found: marshmallow.fields.Field /home/tkloczko/rpmbuild/BUILD/marshmallow-3.21.2/docs/upgrading.rst:289: WARNING: py:exc reference target not found: marshmallow.exceptions.ValidationError /home/tkloczko/rpmbuild/BUILD/marshmallow-3.21.2/docs/upgrading.rst:326: WARNING: py:exc reference target not found: marshmallow.exceptions.ValidationError /home/tkloczko/rpmbuild/BUILD/marshmallow-3.21.2/docs/upgrading.rst:326: WARNING: py:exc reference target not found: ValidationError /home/tkloczko/rpmbuild/BUILD/marshmallow-3.21.2/docs/upgrading.rst:374: WARNING: py:obj reference target not found: marshmallow.Schema /home/tkloczko/rpmbuild/BUILD/marshmallow-3.21.2/docs/upgrading.rst:374: WARNING: py:obj reference target not found: marshmallow.Schema.get_attribute /home/tkloczko/rpmbuild/BUILD/marshmallow-3.21.2/docs/upgrading.rst:395: WARNING: py:obj reference target not found: marshmallow.decorators.validates_schema /home/tkloczko/rpmbuild/BUILD/marshmallow-3.21.2/docs/upgrading.rst:395: WARNING: py:obj reference target not found: marshmallow.decorators.post_load /home/tkloczko/rpmbuild/BUILD/marshmallow-3.21.2/docs/upgrading.rst:395: WARNING: py:obj reference target not found: marshmallow.decorators.post_dump /home/tkloczko/rpmbuild/BUILD/marshmallow-3.21.2/docs/upgrading.rst:395: WARNING: py:obj reference target not found: original_data /home/tkloczko/rpmbuild/BUILD/marshmallow-3.21.2/docs/upgrading.rst:432: WARNING: py:obj reference target not found: marshmallow.utils.get_func_args /home/tkloczko/rpmbuild/BUILD/marshmallow-3.21.2/docs/upgrading.rst:432: WARNING: py:obj reference target not found: 'self' /home/tkloczko/rpmbuild/BUILD/marshmallow-3.21.2/docs/upgrading.rst:456: WARNING: py:obj reference target not found: marshmallow.fields.Method /home/tkloczko/rpmbuild/BUILD/marshmallow-3.21.2/docs/upgrading.rst:456: WARNING: py:obj reference target not found: marshmallow.fields.Function /home/tkloczko/rpmbuild/BUILD/marshmallow-3.21.2/docs/upgrading.rst:496: WARNING: py:obj reference target not found: marshmallow.decorators.post_dump /home/tkloczko/rpmbuild/BUILD/marshmallow-3.21.2/docs/upgrading.rst:496: WARNING: py:obj reference target not found: marshmallow.Schema /home/tkloczko/rpmbuild/BUILD/marshmallow-3.21.2/docs/upgrading.rst:534: WARNING: py:obj reference target not found: marshmallow.decorators.validates_schema /home/tkloczko/rpmbuild/BUILD/marshmallow-3.21.2/docs/upgrading.rst:585: WARNING: py:obj reference target not found: SchemaOpts /home/tkloczko/rpmbuild/BUILD/marshmallow-3.21.2/docs/upgrading.rst:588: WARNING: py:obj reference target not found: marshmallow.SchemaOpts /home/tkloczko/rpmbuild/BUILD/marshmallow-3.21.2/docs/upgrading.rst:588: WARNING: py:obj reference target not found: ordered /home/tkloczko/rpmbuild/BUILD/marshmallow-3.21.2/docs/upgrading.rst:608: WARNING: py:obj reference target not found: ContainsOnly /home/tkloczko/rpmbuild/BUILD/marshmallow-3.21.2/docs/upgrading.rst:611: WARNING: py:obj reference target not found: marshmallow.validate.ContainsOnly /home/tkloczko/rpmbuild/BUILD/marshmallow-3.21.2/docs/upgrading.rst:645: WARNING: py:obj reference target not found: marshmallow.validate.ContainsOnly /home/tkloczko/rpmbuild/BUILD/marshmallow-3.21.2/docs/upgrading.rst:657: WARNING: py:obj reference target not found: marshmallow.validate.Length /home/tkloczko/rpmbuild/BUILD/marshmallow-3.21.2/docs/upgrading.rst:702: WARNING: py:obj reference target not found: marshmallow.fields.Boolean /home/tkloczko/rpmbuild/BUILD/marshmallow-3.21.2/docs/upgrading.rst:717: WARNING: py:obj reference target not found: marshmallow.fields.Email /home/tkloczko/rpmbuild/BUILD/marshmallow-3.21.2/docs/upgrading.rst:717: WARNING: py:obj reference target not found: marshmallow.fields.URL /home/tkloczko/rpmbuild/BUILD/marshmallow-3.21.2/docs/upgrading.rst:739: WARNING: py:obj reference target not found: Schema /home/tkloczko/rpmbuild/BUILD/marshmallow-3.21.2/docs/upgrading.rst:893: WARNING: py:obj reference target not found: marshmallow.fields.DateTime /home/tkloczko/rpmbuild/BUILD/marshmallow-3.21.2/docs/upgrading.rst:895: WARNING: py:obj reference target not found: marshmallow.fields.Date /home/tkloczko/rpmbuild/BUILD/marshmallow-3.21.2/docs/upgrading.rst:895: WARNING: py:obj reference target not found: marshmallow.fields.Date /home/tkloczko/rpmbuild/BUILD/marshmallow-3.21.2/docs/upgrading.rst:998: WARNING: py:obj reference target not found: marshmallow.fields.Function /home/tkloczko/rpmbuild/BUILD/marshmallow-3.21.2/docs/upgrading.rst:998: WARNING: py:obj reference target not found: marshmallow.fields.Method /home/tkloczko/rpmbuild/BUILD/marshmallow-3.21.2/docs/upgrading.rst:1017: WARNING: py:obj reference target not found: marshmallow.Schema /home/tkloczko/rpmbuild/BUILD/marshmallow-3.21.2/docs/upgrading.rst:1064: WARNING: py:obj reference target not found: marshmallow.fields.Field.fail /home/tkloczko/rpmbuild/BUILD/marshmallow-3.21.2/docs/upgrading.rst:1064: WARNING: py:obj reference target not found: marshmallow.fields.Field.fail /home/tkloczko/rpmbuild/BUILD/marshmallow-3.21.2/docs/upgrading.rst:1133: WARNING: py:obj reference target not found: marshmallow.fields.Function /home/tkloczko/rpmbuild/BUILD/marshmallow-3.21.2/docs/upgrading.rst:1146: WARNING: py:obj reference target not found: marshmallow.fields.Method /home/tkloczko/rpmbuild/BUILD/marshmallow-3.21.2/docs/upgrading.rst:1160: WARNING: py:obj reference target not found: marshmallow.fields.Function /home/tkloczko/rpmbuild/BUILD/marshmallow-3.21.2/docs/upgrading.rst:1160: WARNING: py:obj reference target not found: marshmallow.fields.Method /home/tkloczko/rpmbuild/BUILD/marshmallow-3.21.2/docs/upgrading.rst:1198: WARNING: py:obj reference target not found: marshmallow.fields.String /home/tkloczko/rpmbuild/BUILD/marshmallow-3.21.2/docs/upgrading.rst:1198: WARNING: py:obj reference target not found: marshmallow.fields.List /home/tkloczko/rpmbuild/BUILD/marshmallow-3.21.2/docs/upgrading.rst:1198: WARNING: py:obj reference target not found: marshmallow.fields.Nested /home/tkloczko/rpmbuild/BUILD/marshmallow-3.21.2/docs/upgrading.rst:1201: WARNING: py:obj reference target not found: marshmallow.fields.Field /home/tkloczko/rpmbuild/BUILD/marshmallow-3.21.2/docs/upgrading.rst:1247: WARNING: py:obj reference target not found: marshmallow.decorators.pre_load /home/tkloczko/rpmbuild/BUILD/marshmallow-3.21.2/docs/upgrading.rst:1247: WARNING: py:obj reference target not found: marshmallow.decorators.post_load /home/tkloczko/rpmbuild/BUILD/marshmallow-3.21.2/docs/upgrading.rst:1247: WARNING: py:obj reference target not found: marshmallow.decorators.pre_dump /home/tkloczko/rpmbuild/BUILD/marshmallow-3.21.2/docs/upgrading.rst:1247: WARNING: py:obj reference target not found: marshmallow.decorators.post_dump /home/tkloczko/rpmbuild/BUILD/marshmallow-3.21.2/docs/upgrading.rst:1247: WARNING: py:obj reference target not found: Schema.preprocessor /home/tkloczko/rpmbuild/BUILD/marshmallow-3.21.2/docs/upgrading.rst:1247: WARNING: py:obj reference target not found: Schema.data_handler /home/tkloczko/rpmbuild/BUILD/marshmallow-3.21.2/docs/upgrading.rst:1294: WARNING: py:obj reference target not found: marshmallow.decorators.validates_schema /home/tkloczko/rpmbuild/BUILD/marshmallow-3.21.2/docs/upgrading.rst:1294: WARNING: py:obj reference target not found: Schema.validator /home/tkloczko/rpmbuild/BUILD/marshmallow-3.21.2/docs/upgrading.rst:1329: WARNING: py:obj reference target not found: Schema.accessor /home/tkloczko/rpmbuild/BUILD/marshmallow-3.21.2/docs/upgrading.rst:1329: WARNING: py:obj reference target not found: Schema.error_handler /home/tkloczko/rpmbuild/BUILD/marshmallow-3.21.2/docs/upgrading.rst:1362: WARNING: py:obj reference target not found: marshmallow.decorators.post_load /home/tkloczko/rpmbuild/BUILD/marshmallow-3.21.2/docs/upgrading.rst:1362: WARNING: py:obj reference target not found: make_object /home/tkloczko/rpmbuild/BUILD/marshmallow-3.21.2/docs/upgrading.rst:1365: WARNING: py:obj reference target not found: make_object /home/tkloczko/rpmbuild/BUILD/marshmallow-3.21.2/docs/upgrading.rst:1365: WARNING: py:obj reference target not found: marshmallow.Schema /home/tkloczko/rpmbuild/BUILD/marshmallow-3.21.2/docs/upgrading.rst:1365: WARNING: py:obj reference target not found: marshmallow.decorators.post_load /home/tkloczko/rpmbuild/BUILD/marshmallow-3.21.2/docs/upgrading.rst:1432: WARNING: py:exc reference target not found: MarshallingError /home/tkloczko/rpmbuild/BUILD/marshmallow-3.21.2/docs/upgrading.rst:1432: WARNING: py:exc reference target not found: UnmarshallingError /home/tkloczko/rpmbuild/BUILD/marshmallow-3.21.2/docs/upgrading.rst:1432: WARNING: py:exc reference target not found: marshmallow.exceptions.ValidationError /home/tkloczko/rpmbuild/BUILD/marshmallow-3.21.2/docs/upgrading.rst:1437: WARNING: py:obj reference target not found: strict /home/tkloczko/rpmbuild/BUILD/marshmallow-3.21.2/docs/upgrading.rst:1437: WARNING: py:obj reference target not found: ValidationErrors /home/tkloczko/rpmbuild/BUILD/marshmallow-3.21.2/docs/upgrading.rst:1437: WARNING: py:obj reference target not found: Schema.dump /home/tkloczko/rpmbuild/BUILD/marshmallow-3.21.2/docs/upgrading.rst:1437: WARNING: py:obj reference target not found: Schema.load /home/tkloczko/rpmbuild/BUILD/marshmallow-3.21.2/docs/upgrading.rst:1461: WARNING: py:obj reference target not found: strict /home/tkloczko/rpmbuild/BUILD/marshmallow-3.21.2/docs/upgrading.rst:1461: WARNING: py:obj reference target not found: ValidationError's /home/tkloczko/rpmbuild/BUILD/marshmallow-3.21.2/docs/upgrading.rst:1482: WARNING: py:obj reference target not found: marshmallow.fields.Field._deserialize /home/tkloczko/rpmbuild/BUILD/marshmallow-3.21.2/docs/upgrading.rst:1483: WARNING: py:exc reference target not found: marshmallow.exceptions.ValidationError /home/tkloczko/rpmbuild/BUILD/marshmallow-3.21.2/docs/upgrading.rst:1483: WARNING: py:obj reference target not found: _deserialize /home/tkloczko/rpmbuild/BUILD/marshmallow-3.21.2/docs/upgrading.rst:1483: WARNING: py:obj reference target not found: _serialize /home/tkloczko/rpmbuild/BUILD/marshmallow-3.21.2/docs/upgrading.rst:1508: WARNING: py:obj reference target not found: *args /home/tkloczko/rpmbuild/BUILD/marshmallow-3.21.2/docs/upgrading.rst:1508: WARNING: py:obj reference target not found: **kwargs /home/tkloczko/rpmbuild/BUILD/marshmallow-3.21.2/docs/upgrading.rst:1521: WARNING: py:obj reference target not found: Field /home/tkloczko/rpmbuild/BUILD/marshmallow-3.21.2/docs/upgrading.rst:1552: WARNING: py:obj reference target not found: fields.Select /home/tkloczko/rpmbuild/BUILD/marshmallow-3.21.2/docs/upgrading.rst:1552: WARNING: py:obj reference target not found: OneOf /home/tkloczko/rpmbuild/BUILD/marshmallow-3.21.2/docs/upgrading.rst:1662: WARNING: py:obj reference target not found: DateTime /home/tkloczko/rpmbuild/BUILD/marshmallow-3.21.2/docs/upgrading.rst:1662: WARNING: py:obj reference target not found: Date /home/tkloczko/rpmbuild/BUILD/marshmallow-3.21.2/docs/upgrading.rst:1662: WARNING: py:obj reference target not found: Time /home/tkloczko/rpmbuild/BUILD/marshmallow-3.21.2/docs/upgrading.rst:1662: WARNING: py:obj reference target not found: TimeDelta /home/tkloczko/rpmbuild/BUILD/marshmallow-3.21.2/docs/upgrading.rst:1662: WARNING: py:obj reference target not found: python-dateutil /home/tkloczko/rpmbuild/BUILD/marshmallow-3.21.2/docs/upgrading.rst:1675: WARNING: py:obj reference target not found: Decimal /home/tkloczko/rpmbuild/BUILD/marshmallow-3.21.2/docs/upgrading.rst:1675: WARNING: py:obj reference target not found: Fixed /home/tkloczko/rpmbuild/BUILD/marshmallow-3.21.2/docs/upgrading.rst:1675: WARNING: py:obj reference target not found: Price /home/tkloczko/rpmbuild/BUILD/marshmallow-3.21.2/docs/upgrading.rst:1675: WARNING: py:obj reference target not found: Arbitrary /home/tkloczko/rpmbuild/BUILD/marshmallow-3.21.2/docs/upgrading.rst:1675: WARNING: py:obj reference target not found: Decimal /home/tkloczko/rpmbuild/BUILD/marshmallow-3.21.2/docs/upgrading.rst:1683: WARNING: py:meth reference target not found: Schema.dump /home/tkloczko/rpmbuild/BUILD/marshmallow-3.21.2/docs/upgrading.rst:1683: WARNING: py:meth reference target not found: Schema.dump /home/tkloczko/rpmbuild/BUILD/marshmallow-3.21.2/docs/upgrading.rst:1683: WARNING: py:meth reference target not found: Schema.load /home/tkloczko/rpmbuild/BUILD/marshmallow-3.21.2/docs/upgrading.rst:1712: WARNING: py:obj reference target not found: Schema /home/tkloczko/rpmbuild/BUILD/marshmallow-3.21.2/docs/upgrading.rst:1712: WARNING: py:obj reference target not found: Schema.data /home/tkloczko/rpmbuild/BUILD/marshmallow-3.21.2/docs/upgrading.rst:1712: WARNING: py:obj reference target not found: Schema.errors /home/tkloczko/rpmbuild/BUILD/marshmallow-3.21.2/docs/upgrading.rst:1712: WARNING: py:obj reference target not found: is_valid /home/tkloczko/rpmbuild/BUILD/marshmallow-3.21.2/docs/upgrading.rst:1714: WARNING: py:meth reference target not found: Field._serialize /home/tkloczko/rpmbuild/BUILD/marshmallow-3.21.2/docs/upgrading.rst:1714: WARNING: py:meth reference target not found: Field._deserialize /home/tkloczko/rpmbuild/BUILD/marshmallow-3.21.2/docs/upgrading.rst:1729: WARNING: py:meth reference target not found: Schema.dump /home/tkloczko/rpmbuild/BUILD/marshmallow-3.21.2/docs/upgrading.rst:1729: WARNING: py:meth reference target not found: Schema.load /home/tkloczko/rpmbuild/BUILD/marshmallow-3.21.2/docs/upgrading.rst:1758: WARNING: py:obj reference target not found: ordered /home/tkloczko/rpmbuild/BUILD/marshmallow-3.21.2/docs/upgrading.rst:1759: WARNING: py:class reference target not found: Serializer /home/tkloczko/rpmbuild/BUILD/marshmallow-3.21.2/docs/upgrading.rst:1759: WARNING: py:class reference target not found: Schema /home/tkloczko/rpmbuild/BUILD/marshmallow-3.21.2/docs/upgrading.rst:1759: WARNING: py:obj reference target not found: marshmallow.Serializer /home/tkloczko/rpmbuild/BUILD/marshmallow-3.21.2/docs/upgrading.rst:1759: WARNING: py:class reference target not found: Schema /home/tkloczko/rpmbuild/BUILD/marshmallow-3.21.2/docs/upgrading.rst:1762: WARNING: py:obj reference target not found: Schema.factory /home/tkloczko/rpmbuild/BUILD/marshmallow-3.21.2/CONTRIBUTING.rst:132: WARNING: py:obj reference target not found: docs/ /home/tkloczko/rpmbuild/BUILD/marshmallow-3.21.2/CONTRIBUTING.rst:140: WARNING: py:obj reference target not found: Field done build succeeded, 276 warnings. ```

Firset set of warnings No module named 'marshmallow' is possible to fix by patch like below:

--- a/docs/conf.py
+++ b/docs/conf.py
@@ -1,4 +1,8 @@
 import alabaster
+import sys
+import os
+
+sys.path.insert(0, os.path.abspath("../src"))

 extensions = [
     "sphinx.ext.autodoc",

This patch fixes what is in the comment and that can of fix is suggested in sphinx example copy.py https://www.sphinx-doc.org/en/master/usage/configuration.html#example-of-configuration-file

You can peak on fixes that kind of issues in other projects https://github.com/RDFLib/rdflib-sqlalchemy/issues/95 https://github.com/RDFLib/rdflib/pull/2036 https://github.com/click-contrib/sphinx-click/commit/abc31069 https://github.com/frostming/unearth/issues/14 https://github.com/jaraco/cssutils/issues/21 https://github.com/latchset/jwcrypto/pull/289 https://github.com/latchset/jwcrypto/pull/289 https://github.com/pypa/distlib/commit/98b9b89f https://github.com/pywbem/pywbem/pull/2895 https://github.com/sissaschool/elementpath/commit/bf869d9e https://github.com/sissaschool/xmlschema/commit/42ea98f2 https://github.com/sqlalchemy/sqlalchemy/commit/5e88e6e8

fzhu886 commented 3 months ago

fix-sphinx-warnings.patch I asked Devin.ai to fix this, maybe give it a try.

deckar01 commented 3 months ago

I think newer versions of python are better at importing through non-module directories. That said, I think the CI job installs the package like python -m pip install -e ., which should allow it to be imported as long as sphinx-build is linked to the correct python version.

Neither of those patches should be necessary. Especially not the AI regurgitated one. 😛