traitlets
traitlets copied to clipboard
5.0.5: sphinx warnings
$ PYTHONPATH=$PWD sphinx-build -b man -d traitlets docs/source .
Running Sphinx v3.5.4
Initializing GitHub plugin
loading intersphinx inventory from https://docs.python.org/objects.inv...
intersphinx inventory has moved: https://docs.python.org/objects.inv -> https://docs.python.org/3/objects.inv
building [mo]: targets for 0 po files that are out of date
building [man]: all manpages
updating environment: [new config] 11 added, 0 changed, 0 removed
reading sources... [100%] utils
/home/tkloczko/rpmbuild/BUILD/traitlets-5.0.5/docs/source/utils.rst:4: WARNING: duplicate object description of traitlets, other instance in trait_types, use :noindex: for one of them
looking for now-outdated files... none found
pickling environment... done
checking consistency... /home/tkloczko/rpmbuild/BUILD/traitlets-5.0.5/docs/source/stats.rst: WARNING: document isn't included in any toctree
done
writing... python-traitlets.3 { using_traitlets trait_types defining_traits api config config-api utils migration changelog } /home/tkloczko/rpmbuild/BUILD/traitlets-5.0.5/docs/source/changelog.rst:125: WARNING: 'any' reference target not found: FuzzyEnum
done
build succeeded, 3 warnings.
New batch of warnings ..
On building my packages I'm using now sphinx-build command with -n switch which shows warmings about missing references. These are not critical issues.
Here is the output with warnings:
+ /usr/bin/sphinx-build -n -T -b man docs/source build/sphinx/man
Running Sphinx v4.5.0
Initializing GitHub plugin
making output directory... done
loading intersphinx inventory from https://docs.python.org/objects.inv...
intersphinx inventory has moved: https://docs.python.org/objects.inv -> https://docs.python.org/3/objects.inv
building [mo]: targets for 0 po files that are out of date
building [man]: all manpages
updating environment: [new config] 11 added, 0 changed, 0 removed
reading sources... [100%] utils
WARNING: autodoc: failed to import class 'HasTraits' from module 'traitlets'; the following exception was raised:
No module named 'traitlets'
WARNING: autodoc: failed to import function 'default' from module 'traitlets'; the following exception was raised:
No module named 'traitlets'
WARNING: autodoc: failed to import function 'observe' from module 'traitlets'; the following exception was raised:
No module named 'traitlets'
WARNING: autodoc: failed to import method 'HasTraits.observe' from module 'traitlets'; the following exception was raised:
No module named 'traitlets'
WARNING: autodoc: failed to import function 'validate' from module 'traitlets'; the following exception was raised:
No module named 'traitlets'
WARNING: autodoc: failed to import class 'config.Configurable' from module 'traitlets'; the following exception was raised:
No module named 'traitlets'
WARNING: autodoc: failed to import class 'config.SingletonConfigurable' from module 'traitlets'; the following exception was raised:
No module named 'traitlets'
WARNING: autodoc: failed to import class 'config.Application' from module 'traitlets'; the following exception was raised:
No module named 'traitlets'
WARNING: autodoc: failed to import class 'config.Config' from module 'traitlets'; the following exception was raised:
No module named 'traitlets'
WARNING: autodoc: failed to import class 'config.loader.LazyConfigValue' from module 'traitlets'; the following exception was raised:
No module named 'traitlets'
WARNING: autodoc: failed to import class 'config.loader.KVArgParseConfigLoader' from module 'traitlets'; the following exception was raised:
No module named 'traitlets'
WARNING: autodoc: failed to import method 'TraitType.__init__' from module 'traitlets'; the following exception was raised:
No module named 'traitlets'
WARNING: autodoc: failed to import method 'TraitType.from_string' from module 'traitlets'; the following exception was raised:
No module named 'traitlets'
WARNING: autodoc: failed to import class 'Integer' from module 'traitlets'; the following exception was raised:
No module named 'traitlets'
WARNING: autodoc: failed to import class 'Float' from module 'traitlets'; the following exception was raised:
No module named 'traitlets'
WARNING: autodoc: failed to import class 'Complex' from module 'traitlets'; the following exception was raised:
No module named 'traitlets'
WARNING: autodoc: failed to import class 'Unicode' from module 'traitlets'; the following exception was raised:
No module named 'traitlets'
WARNING: autodoc: failed to import class 'Bytes' from module 'traitlets'; the following exception was raised:
No module named 'traitlets'
WARNING: autodoc: failed to import class 'ObjectName' from module 'traitlets'; the following exception was raised:
No module named 'traitlets'
WARNING: autodoc: failed to import class 'DottedObjectName' from module 'traitlets'; the following exception was raised:
No module named 'traitlets'
WARNING: autodoc: failed to import class 'List' from module 'traitlets'; the following exception was raised:
No module named 'traitlets'
WARNING: autodoc: failed to import class 'Set' from module 'traitlets'; the following exception was raised:
No module named 'traitlets'
WARNING: autodoc: failed to import class 'Tuple' from module 'traitlets'; the following exception was raised:
No module named 'traitlets'
WARNING: autodoc: failed to import class 'Dict' from module 'traitlets'; the following exception was raised:
No module named 'traitlets'
WARNING: autodoc: failed to import class 'Instance' from module 'traitlets'; the following exception was raised:
No module named 'traitlets'
WARNING: autodoc: failed to import class 'Type' from module 'traitlets'; the following exception was raised:
No module named 'traitlets'
WARNING: autodoc: failed to import class 'This' from module 'traitlets'; the following exception was raised:
No module named 'traitlets'
WARNING: autodoc: failed to import class 'ForwardDeclaredInstance' from module 'traitlets'; the following exception was raised:
No module named 'traitlets'
WARNING: autodoc: failed to import class 'ForwardDeclaredType' from module 'traitlets'; the following exception was raised:
No module named 'traitlets'
WARNING: autodoc: failed to import class 'Bool' from module 'traitlets'; the following exception was raised:
No module named 'traitlets'
WARNING: autodoc: failed to import class 'Enum' from module 'traitlets'; the following exception was raised:
No module named 'traitlets'
WARNING: autodoc: failed to import class 'CaselessStrEnum' from module 'traitlets'; the following exception was raised:
No module named 'traitlets'
WARNING: autodoc: failed to import class 'UseEnum' from module 'traitlets'; the following exception was raised:
No module named 'traitlets'
WARNING: autodoc: failed to import class 'TCPAddress' from module 'traitlets'; the following exception was raised:
No module named 'traitlets'
WARNING: autodoc: failed to import class 'CRegExp' from module 'traitlets'; the following exception was raised:
No module named 'traitlets'
WARNING: autodoc: failed to import class 'Union' from module 'traitlets'; the following exception was raised:
No module named 'traitlets'
WARNING: autodoc: failed to import class 'Callable' from module 'traitlets'; the following exception was raised:
No module named 'traitlets'
WARNING: autodoc: failed to import class 'Any' from module 'traitlets'; the following exception was raised:
No module named 'traitlets'
/home/tkloczko/rpmbuild/BUILD/traitlets-5.2.0/docs/source/utils.rst:4: WARNING: duplicate object description of traitlets, other instance in trait_types, use :noindex: for one of them
WARNING: autodoc: failed to import function 'import_item' from module 'traitlets'; the following exception was raised:
No module named 'traitlets'
WARNING: autodoc: failed to import function 'signature_has_traits' from module 'traitlets'; the following exception was raised:
No module named 'traitlets'
WARNING: autodoc: failed to import class 'link' from module 'traitlets'; the following exception was raised:
No module named 'traitlets'
WARNING: autodoc: failed to import class 'directional_link' from module 'traitlets'; the following exception was raised:
No module named 'traitlets'
looking for now-outdated files... none found
pickling environment... done
checking consistency... /home/tkloczko/rpmbuild/BUILD/traitlets-5.2.0/docs/source/stats.rst: WARNING: document isn't included in any toctree
done
writing... python-traitlets.3 { using_traitlets trait_types defining_traits api config config-api utils migration changelog } /home/tkloczko/rpmbuild/BUILD/traitlets-5.2.0/docs/source/using_traitlets.rst:17: WARNING: py:class reference target not found: traitlets.HasTraits
/home/tkloczko/rpmbuild/BUILD/traitlets-5.2.0/docs/source/trait_types.rst:25: WARNING: py:class reference target not found: Integer
/home/tkloczko/rpmbuild/BUILD/traitlets-5.2.0/docs/source/trait_types.rst:29: WARNING: py:class reference target not found: Integer
/home/tkloczko/rpmbuild/BUILD/traitlets-5.2.0/docs/source/defining_traits.rst:22: WARNING: py:exc reference target not found: TraitError
/home/tkloczko/rpmbuild/BUILD/traitlets-5.2.0/docs/source/defining_traits.rst:22: WARNING: py:meth reference target not found: TraitType.error
/home/tkloczko/rpmbuild/BUILD/traitlets-5.2.0/docs/source/defining_traits.rst:29: WARNING: py:class reference target not found: TCPAddress
/home/tkloczko/rpmbuild/BUILD/traitlets-5.2.0/docs/source/api.rst:6: WARNING: py:class reference target not found: HasTraits
/home/tkloczko/rpmbuild/BUILD/traitlets-5.2.0/docs/source/api.rst:62: WARNING: py:func reference target not found: traitlets.observe
/home/tkloczko/rpmbuild/BUILD/traitlets-5.2.0/docs/source/config.rst:22: WARNING: py:class reference target not found: traitlets.config.Config
/home/tkloczko/rpmbuild/BUILD/traitlets-5.2.0/docs/source/config.rst:36: WARNING: py:class reference target not found: traitlets.config.Application
/home/tkloczko/rpmbuild/BUILD/traitlets-5.2.0/docs/source/config.rst:53: WARNING: py:class reference target not found: traitlets.config.Configurable
/home/tkloczko/rpmbuild/BUILD/traitlets-5.2.0/docs/source/config.rst:39: WARNING: py:class reference target not found: traitlets.config.Configurable
/home/tkloczko/rpmbuild/BUILD/traitlets-5.2.0/docs/source/config.rst:44: WARNING: py:class reference target not found: traitlets.config.Configurable
/home/tkloczko/rpmbuild/BUILD/traitlets-5.2.0/docs/source/config.rst:44: WARNING: py:class reference target not found: traitlets.HasTraits
/home/tkloczko/rpmbuild/BUILD/traitlets-5.2.0/docs/source/config.rst:50: WARNING: py:class reference target not found: traitlets.config.Configurable
/home/tkloczko/rpmbuild/BUILD/traitlets-5.2.0/docs/source/config.rst:65: WARNING: py:class reference target not found: traitlets.config.SingletonConfigurable
/home/tkloczko/rpmbuild/BUILD/traitlets-5.2.0/docs/source/config.rst:56: WARNING: py:meth reference target not found: traitlets.config.SingletonConfigurable.instance
/home/tkloczko/rpmbuild/BUILD/traitlets-5.2.0/docs/source/config.rst:56: WARNING: py:class reference target not found: traitlets.config.Application`s is a singleton.
This lets
objects easily connect to the current running Application without passing
objects around everywhere. For instance, to get the current running
Application instance, simply do: ``app = Application.instance()`
/home/tkloczko/rpmbuild/BUILD/traitlets-5.2.0/docs/source/config.rst:69: WARNING: py:meth reference target not found: instance
/home/tkloczko/rpmbuild/BUILD/traitlets-5.2.0/docs/source/config.rst:102: WARNING: py:class reference target not found: traitlets.config.Config
/home/tkloczko/rpmbuild/BUILD/traitlets-5.2.0/docs/source/config.rst:111: WARNING: py:class reference target not found: traitlets.config.Configurable
/home/tkloczko/rpmbuild/BUILD/traitlets-5.2.0/docs/source/config.rst:130: WARNING: py:class reference target not found: MyClass
/home/tkloczko/rpmbuild/BUILD/traitlets-5.2.0/docs/source/config.rst:130: WARNING: py:class reference target not found: MyClass
/home/tkloczko/rpmbuild/BUILD/traitlets-5.2.0/docs/source/config.rst:142: WARNING: py:class reference target not found: MyClass
/home/tkloczko/rpmbuild/BUILD/traitlets-5.2.0/docs/source/config.rst:142: WARNING: py:class reference target not found: traitlets.Unicode
/home/tkloczko/rpmbuild/BUILD/traitlets-5.2.0/docs/source/config.rst:142: WARNING: py:class reference target not found: traitlets.Integer
/home/tkloczko/rpmbuild/BUILD/traitlets-5.2.0/docs/source/config.rst:142: WARNING: py:class reference target not found: traitlets.Float
/home/tkloczko/rpmbuild/BUILD/traitlets-5.2.0/docs/source/config.rst:154: WARNING: py:class reference target not found: traitlets.config.Config
/home/tkloczko/rpmbuild/BUILD/traitlets-5.2.0/docs/source/config.rst:162: WARNING: py:class reference target not found: traitlets.config.Config
/home/tkloczko/rpmbuild/BUILD/traitlets-5.2.0/docs/source/config.rst:162: WARNING: py:class reference target not found: traitlets.config.Config
/home/tkloczko/rpmbuild/BUILD/traitlets-5.2.0/docs/source/config.rst:162: WARNING: py:class reference target not found: traitlets.config.Config
/home/tkloczko/rpmbuild/BUILD/traitlets-5.2.0/docs/source/config.rst:175: WARNING: py:class reference target not found: traitlets.config.Config
/home/tkloczko/rpmbuild/BUILD/traitlets-5.2.0/docs/source/config.rst:203: WARNING: py:func reference target not found: load_subconfig
/home/tkloczko/rpmbuild/BUILD/traitlets-5.2.0/docs/source/config.rst:225: WARNING: py:func reference target not found: load_subconfig
/home/tkloczko/rpmbuild/BUILD/traitlets-5.2.0/docs/source/config.rst:249: WARNING: py:class reference target not found: Foo
/home/tkloczko/rpmbuild/BUILD/traitlets-5.2.0/docs/source/config.rst:249: WARNING: py:class reference target not found: Bar
/home/tkloczko/rpmbuild/BUILD/traitlets-5.2.0/docs/source/config.rst:260: WARNING: py:attr reference target not found: Foo.name
/home/tkloczko/rpmbuild/BUILD/traitlets-5.2.0/docs/source/config.rst:260: WARNING: py:attr reference target not found: Bar.name
/home/tkloczko/rpmbuild/BUILD/traitlets-5.2.0/docs/source/config.rst:260: WARNING: py:class reference target not found: Bar
/home/tkloczko/rpmbuild/BUILD/traitlets-5.2.0/docs/source/config.rst:260: WARNING: py:class reference target not found: Foo
/home/tkloczko/rpmbuild/BUILD/traitlets-5.2.0/docs/source/config.rst:260: WARNING: py:class reference target not found: Foo
/home/tkloczko/rpmbuild/BUILD/traitlets-5.2.0/docs/source/config.rst:263: WARNING: py:attr reference target not found: Foo.value
/home/tkloczko/rpmbuild/BUILD/traitlets-5.2.0/docs/source/config.rst:263: WARNING: py:attr reference target not found: Bar.value
/home/tkloczko/rpmbuild/BUILD/traitlets-5.2.0/docs/source/config.rst:265: WARNING: py:attr reference target not found: Bar.othervalue
/home/tkloczko/rpmbuild/BUILD/traitlets-5.2.0/docs/source/config.rst:265: WARNING: py:class reference target not found: Foo
/home/tkloczko/rpmbuild/BUILD/traitlets-5.2.0/docs/source/config.rst:265: WARNING: py:class reference target not found: Bar
/home/tkloczko/rpmbuild/BUILD/traitlets-5.2.0/docs/source/config.rst:265: WARNING: py:attr reference target not found: othervalue
/home/tkloczko/rpmbuild/BUILD/traitlets-5.2.0/docs/source/config.rst:275: WARNING: py:class reference target not found: traitlets.config.loader.KVArgParseConfigLoader
/home/tkloczko/rpmbuild/BUILD/traitlets-5.2.0/docs/source/config.rst:311: WARNING: py:class reference target not found: Unicode
/home/tkloczko/rpmbuild/BUILD/traitlets-5.2.0/docs/source/config.rst:311: WARNING: py:class reference target not found: Integer
/home/tkloczko/rpmbuild/BUILD/traitlets-5.2.0/docs/source/config.rst:356: WARNING: py:class reference target not found: traitlets.config.Application
/home/tkloczko/rpmbuild/BUILD/traitlets-5.2.0/docs/source/config.rst:417: WARNING: py:class reference target not found: traitlets.config.Application
/home/tkloczko/rpmbuild/BUILD/traitlets-5.2.0/docs/source/config.rst:420: WARNING: py:class reference target not found: Application
/home/tkloczko/rpmbuild/BUILD/traitlets-5.2.0/docs/source/config.rst:423: WARNING: py:meth reference target not found: SingletonConfigurable.instance
/home/tkloczko/rpmbuild/BUILD/traitlets-5.2.0/docs/source/config.rst:431: WARNING: py:meth reference target not found: SingletonConfigurable.instance
/home/tkloczko/rpmbuild/BUILD/traitlets-5.2.0/docs/source/config.rst:435: WARNING: py:attr reference target not found: Application.subapp
/home/tkloczko/rpmbuild/BUILD/traitlets-5.2.0/docs/source/config.rst:435: WARNING: py:meth reference target not found: Application.initialize
/home/tkloczko/rpmbuild/BUILD/traitlets-5.2.0/docs/source/config.rst:452: WARNING: py:meth reference target not found: TraitType.from_string
/home/tkloczko/rpmbuild/BUILD/traitlets-5.2.0/docs/source/config.rst:452: WARNING: py:meth reference target not found: List.from_string_list
/home/tkloczko/rpmbuild/BUILD/traitlets-5.2.0/docs/source/config.rst:452: WARNING: py:meth reference target not found: List.item_from_string
/home/tkloczko/rpmbuild/BUILD/traitlets-5.2.0/docs/source/config.rst:460: WARNING: py:func reference target not found: literal_eval
/home/tkloczko/rpmbuild/BUILD/traitlets-5.2.0/docs/source/config.rst:477: WARNING: py:meth reference target not found: TraitType.from_string
/home/tkloczko/rpmbuild/BUILD/traitlets-5.2.0/docs/source/config.rst:501: WARNING: py:meth reference target not found: TraitType.from_string
/home/tkloczko/rpmbuild/BUILD/traitlets-5.2.0/docs/source/config.rst:605: WARNING: py:meth reference target not found: List.from_string_list
/home/tkloczko/rpmbuild/BUILD/traitlets-5.2.0/docs/source/config.rst:605: WARNING: py:meth reference target not found: List.item_from_string
/home/tkloczko/rpmbuild/BUILD/traitlets-5.2.0/docs/source/changelog.rst:181: WARNING: 'any' reference target not found: Application
/home/tkloczko/rpmbuild/BUILD/traitlets-5.2.0/docs/source/changelog.rst:190: WARNING: 'any' reference target not found: Callable
/home/tkloczko/rpmbuild/BUILD/traitlets-5.2.0/docs/source/changelog.rst:197: WARNING: 'any' reference target not found: FuzzyEnum
/home/tkloczko/rpmbuild/BUILD/traitlets-5.2.0/docs/source/changelog.rst:357: WARNING: py:meth reference target not found: _traitname_default
/home/tkloczko/rpmbuild/BUILD/traitlets-5.2.0/docs/source/changelog.rst:375: WARNING: py:attr reference target not found: Application.raise_config_file_errors
/home/tkloczko/rpmbuild/BUILD/traitlets-5.2.0/docs/source/changelog.rst:410: WARNING: py:class reference target not found: JSONFileConfigLoader
done
build succeeded, 115 warnings.
To fix first set of warnings patch like below needs to be applied
--- a/docs/source/conf.py~ 2022-05-10 13:47:48.039096883 +0000
+++ b/docs/source/conf.py 2022-05-10 13:49:38.151122240 +0000
@@ -21,7 +21,7 @@
# If extensions (or modules to document with autodoc) are in another directory,
# add these directories to sys.path here. If the directory is relative to the
# documentation root, use os.path.abspath to make it absolute, like shown here.
-# sys.path.insert(0, os.path.abspath('.'))
+sys.path.insert(0, os.path.abspath('../..'))
# We load the ipython release info into a dict by explicit execution
_release = {} # type:ignore
That patch does exactly what is mentioned in the comment above. Additionally it guarantees that documentation will be always generated out of module code from source teree and accidentally oit of instlled code. Than with that patch summary warnings
+ /usr/bin/sphinx-build -n -T -b man docs/source build/sphinx/man
Running Sphinx v4.5.0
Initializing GitHub plugin
making output directory... done
loading intersphinx inventory from https://docs.python.org/objects.inv...
intersphinx inventory has moved: https://docs.python.org/objects.inv -> https://docs.python.org/3/objects.inv
building [mo]: targets for 0 po files that are out of date
building [man]: all manpages
updating environment: [new config] 11 added, 0 changed, 0 removed
reading sources... [100%] utils
/home/tkloczko/rpmbuild/BUILD/traitlets-5.2.0/docs/source/utils.rst:4: WARNING: duplicate object description of traitlets, other instance in trait_types, use :noindex: for one of them
looking for now-outdated files... none found
pickling environment... done
checking consistency... /home/tkloczko/rpmbuild/BUILD/traitlets-5.2.0/docs/source/stats.rst: WARNING: document isn't included in any toctree
done
writing... python-traitlets.3 { using_traitlets trait_types defining_traits api config config-api utils migration changelog } <unknown>:1: WARNING: py:class reference target not found: traitlets.traitlets.Int
/home/tkloczko/rpmbuild/BUILD/traitlets-5.2.0/traitlets/traitlets.py:docstring of traitlets.traitlets.List.__init__:: WARNING: py:class reference target not found: optional
/home/tkloczko/rpmbuild/BUILD/traitlets-5.2.0/traitlets/traitlets.py:docstring of traitlets.traitlets.List.__init__:: WARNING: py:class reference target not found: SequenceType
/home/tkloczko/rpmbuild/BUILD/traitlets-5.2.0/traitlets/traitlets.py:docstring of traitlets.traitlets.List.__init__:: WARNING: py:class reference target not found: optional
/home/tkloczko/rpmbuild/BUILD/traitlets-5.2.0/traitlets/traitlets.py:docstring of traitlets.traitlets.List.__init__:: WARNING: py:class reference target not found: default 0
/home/tkloczko/rpmbuild/BUILD/traitlets-5.2.0/traitlets/traitlets.py:docstring of traitlets.traitlets.List.__init__:: WARNING: py:class reference target not found: default sys.maxsize
/home/tkloczko/rpmbuild/BUILD/traitlets-5.2.0/traitlets/traitlets.py:docstring of traitlets.traitlets.Set.__init__:: WARNING: py:class reference target not found: optional
/home/tkloczko/rpmbuild/BUILD/traitlets-5.2.0/traitlets/traitlets.py:docstring of traitlets.traitlets.Set.__init__:: WARNING: py:class reference target not found: SequenceType
/home/tkloczko/rpmbuild/BUILD/traitlets-5.2.0/traitlets/traitlets.py:docstring of traitlets.traitlets.Set.__init__:: WARNING: py:class reference target not found: optional
/home/tkloczko/rpmbuild/BUILD/traitlets-5.2.0/traitlets/traitlets.py:docstring of traitlets.traitlets.Set.__init__:: WARNING: py:class reference target not found: default 0
/home/tkloczko/rpmbuild/BUILD/traitlets-5.2.0/traitlets/traitlets.py:docstring of traitlets.traitlets.Set.__init__:: WARNING: py:class reference target not found: default sys.maxsize
/home/tkloczko/rpmbuild/BUILD/traitlets-5.2.0/traitlets/traitlets.py:docstring of traitlets.traitlets.Tuple.__init__:: WARNING: py:class reference target not found: TraitTypes
/home/tkloczko/rpmbuild/BUILD/traitlets-5.2.0/traitlets/traitlets.py:docstring of traitlets.traitlets.Tuple.__init__:: WARNING: py:class reference target not found: optional
/home/tkloczko/rpmbuild/BUILD/traitlets-5.2.0/traitlets/traitlets.py:docstring of traitlets.traitlets.Tuple.__init__:: WARNING: py:class reference target not found: SequenceType
/home/tkloczko/rpmbuild/BUILD/traitlets-5.2.0/traitlets/traitlets.py:docstring of traitlets.traitlets.Tuple.__init__:: WARNING: py:class reference target not found: optional
/home/tkloczko/rpmbuild/BUILD/traitlets-5.2.0/traitlets/traitlets.py:docstring of traitlets.traitlets.Dict.__init__:: WARNING: py:class reference target not found: optional
/home/tkloczko/rpmbuild/BUILD/traitlets-5.2.0/traitlets/traitlets.py:docstring of traitlets.traitlets.Dict.__init__:: WARNING: py:class reference target not found: Dictionary of {keys:trait types}
/home/tkloczko/rpmbuild/BUILD/traitlets-5.2.0/traitlets/traitlets.py:docstring of traitlets.traitlets.Dict.__init__:: WARNING: py:class reference target not found: optional
/home/tkloczko/rpmbuild/BUILD/traitlets-5.2.0/traitlets/traitlets.py:docstring of traitlets.traitlets.Dict.__init__:: WARNING: py:class reference target not found: keyword-only
/home/tkloczko/rpmbuild/BUILD/traitlets-5.2.0/traitlets/traitlets.py:docstring of traitlets.traitlets.Dict.__init__:: WARNING: py:class reference target not found: optional
/home/tkloczko/rpmbuild/BUILD/traitlets-5.2.0/traitlets/traitlets.py:docstring of traitlets.traitlets.Dict.__init__:: WARNING: py:class reference target not found: keyword-only
/home/tkloczko/rpmbuild/BUILD/traitlets-5.2.0/traitlets/traitlets.py:docstring of traitlets.traitlets.Dict.__init__:: WARNING: py:class reference target not found: SequenceType
/home/tkloczko/rpmbuild/BUILD/traitlets-5.2.0/traitlets/traitlets.py:docstring of traitlets.traitlets.Dict.__init__:: WARNING: py:class reference target not found: optional
/home/tkloczko/rpmbuild/BUILD/traitlets-5.2.0/traitlets/traitlets.py:docstring of traitlets.traitlets.Dict.__init__:: WARNING: py:class reference target not found: keyword-only
/home/tkloczko/rpmbuild/BUILD/traitlets-5.2.0/traitlets/traitlets.py:docstring of traitlets.traitlets.Instance.__init__:: WARNING: py:class reference target not found: class
/home/tkloczko/rpmbuild/BUILD/traitlets-5.2.0/traitlets/traitlets.py:docstring of traitlets.traitlets.Instance.__init__:: WARNING: py:class reference target not found: default False
/home/tkloczko/rpmbuild/BUILD/traitlets-5.2.0/traitlets/traitlets.py:docstring of traitlets.traitlets.Type.__init__:: WARNING: py:class reference target not found: class
/home/tkloczko/rpmbuild/BUILD/traitlets-5.2.0/traitlets/traitlets.py:docstring of traitlets.traitlets.Type.__init__:: WARNING: py:class reference target not found: class
/home/tkloczko/rpmbuild/BUILD/traitlets-5.2.0/traitlets/traitlets.py:docstring of traitlets.traitlets.Type.__init__:: WARNING: py:class reference target not found: default object
/home/tkloczko/rpmbuild/BUILD/traitlets-5.2.0/traitlets/traitlets.py:docstring of traitlets.traitlets.Type.__init__:: WARNING: py:class reference target not found: default False
/home/tkloczko/rpmbuild/BUILD/traitlets-5.2.0/traitlets/traitlets.py:docstring of traitlets.traitlets.Union.__init__:: WARNING: py:class reference target not found: sequence
/home/tkloczko/rpmbuild/BUILD/traitlets-5.2.0/docs/source/defining_traits.rst:22: WARNING: py:exc reference target not found: TraitError
/home/tkloczko/rpmbuild/BUILD/traitlets-5.2.0/docs/source/defining_traits.rst:22: WARNING: py:meth reference target not found: TraitType.error
/home/tkloczko/rpmbuild/BUILD/traitlets-5.2.0/traitlets/traitlets.py:docstring of traitlets.traitlets.observe:: WARNING: py:class reference target not found: kwarg-only
/home/tkloczko/rpmbuild/BUILD/traitlets-5.2.0/traitlets/traitlets.py:docstring of traitlets.traitlets.HasTraits.observe:: WARNING: py:class reference target not found: callable
/home/tkloczko/rpmbuild/BUILD/traitlets-5.2.0/traitlets/traitlets.py:docstring of traitlets.traitlets.HasTraits.observe:: WARNING: py:class reference target not found: All
/home/tkloczko/rpmbuild/BUILD/traitlets-5.2.0/traitlets/traitlets.py:docstring of traitlets.traitlets.HasTraits.observe:: WARNING: py:class reference target not found: All
/home/tkloczko/rpmbuild/BUILD/traitlets-5.2.0/traitlets/traitlets.py:docstring of traitlets.traitlets.HasTraits.observe:: WARNING: py:class reference target not found: default: 'change'
/home/tkloczko/rpmbuild/BUILD/traitlets-5.2.0/docs/source/config.rst:56: WARNING: py:class reference target not found: traitlets.config.Application`s is a singleton.
This lets
objects easily connect to the current running Application without passing
objects around everywhere. For instance, to get the current running
Application instance, simply do: ``app = Application.instance()`
/home/tkloczko/rpmbuild/BUILD/traitlets-5.2.0/docs/source/config.rst:69: WARNING: py:meth reference target not found: instance
/home/tkloczko/rpmbuild/BUILD/traitlets-5.2.0/docs/source/config.rst:130: WARNING: py:class reference target not found: MyClass
/home/tkloczko/rpmbuild/BUILD/traitlets-5.2.0/docs/source/config.rst:130: WARNING: py:class reference target not found: MyClass
/home/tkloczko/rpmbuild/BUILD/traitlets-5.2.0/docs/source/config.rst:142: WARNING: py:class reference target not found: MyClass
/home/tkloczko/rpmbuild/BUILD/traitlets-5.2.0/docs/source/config.rst:203: WARNING: py:func reference target not found: load_subconfig
/home/tkloczko/rpmbuild/BUILD/traitlets-5.2.0/docs/source/config.rst:225: WARNING: py:func reference target not found: load_subconfig
/home/tkloczko/rpmbuild/BUILD/traitlets-5.2.0/docs/source/config.rst:249: WARNING: py:class reference target not found: Foo
/home/tkloczko/rpmbuild/BUILD/traitlets-5.2.0/docs/source/config.rst:249: WARNING: py:class reference target not found: Bar
/home/tkloczko/rpmbuild/BUILD/traitlets-5.2.0/docs/source/config.rst:260: WARNING: py:attr reference target not found: Foo.name
/home/tkloczko/rpmbuild/BUILD/traitlets-5.2.0/docs/source/config.rst:260: WARNING: py:attr reference target not found: Bar.name
/home/tkloczko/rpmbuild/BUILD/traitlets-5.2.0/docs/source/config.rst:260: WARNING: py:class reference target not found: Bar
/home/tkloczko/rpmbuild/BUILD/traitlets-5.2.0/docs/source/config.rst:260: WARNING: py:class reference target not found: Foo
/home/tkloczko/rpmbuild/BUILD/traitlets-5.2.0/docs/source/config.rst:260: WARNING: py:class reference target not found: Foo
/home/tkloczko/rpmbuild/BUILD/traitlets-5.2.0/docs/source/config.rst:263: WARNING: py:attr reference target not found: Foo.value
/home/tkloczko/rpmbuild/BUILD/traitlets-5.2.0/docs/source/config.rst:263: WARNING: py:attr reference target not found: Bar.value
/home/tkloczko/rpmbuild/BUILD/traitlets-5.2.0/docs/source/config.rst:265: WARNING: py:attr reference target not found: Bar.othervalue
/home/tkloczko/rpmbuild/BUILD/traitlets-5.2.0/docs/source/config.rst:265: WARNING: py:class reference target not found: Foo
/home/tkloczko/rpmbuild/BUILD/traitlets-5.2.0/docs/source/config.rst:265: WARNING: py:class reference target not found: Bar
/home/tkloczko/rpmbuild/BUILD/traitlets-5.2.0/docs/source/config.rst:265: WARNING: py:attr reference target not found: othervalue
/home/tkloczko/rpmbuild/BUILD/traitlets-5.2.0/docs/source/config.rst:311: WARNING: py:class reference target not found: Integer
/home/tkloczko/rpmbuild/BUILD/traitlets-5.2.0/docs/source/config.rst:435: WARNING: py:attr reference target not found: Application.subapp
/home/tkloczko/rpmbuild/BUILD/traitlets-5.2.0/docs/source/config.rst:460: WARNING: py:func reference target not found: literal_eval
/home/tkloczko/rpmbuild/BUILD/traitlets-5.2.0/traitlets/config/configurable.py:docstring of traitlets.config.configurable.Configurable.class_config_section:: WARNING: py:class reference target not found: optional
/home/tkloczko/rpmbuild/BUILD/traitlets-5.2.0/traitlets/config/configurable.py:docstring of traitlets.config.configurable.SingletonConfigurable.instance:6: WARNING: py:meth reference target not found: __init__
<unknown>:1: WARNING: py:class reference target not found: traitlets.config.loader.JSONFileConfigLoader
<unknown>:1: WARNING: py:class reference target not found: traitlets.config.loader.PyFileConfigLoader
/home/tkloczko/rpmbuild/BUILD/traitlets-5.2.0/traitlets/config/loader.py:docstring of traitlets.config.loader.Config.copy:: WARNING: py:class reference target not found: a shallow copy of D
/home/tkloczko/rpmbuild/BUILD/traitlets-5.2.0/traitlets/config/loader.py:docstring of traitlets.config.loader.LazyConfigValue.merge_into:: WARNING: py:class reference target not found: container
/home/tkloczko/rpmbuild/BUILD/traitlets-5.2.0/traitlets/config/loader.py:docstring of traitlets.config.loader.ArgParseConfigLoader.__init__:: WARNING: py:class reference target not found: optional
/home/tkloczko/rpmbuild/BUILD/traitlets-5.2.0/traitlets/config/loader.py:docstring of traitlets.config.loader.ArgParseConfigLoader.__init__:: WARNING: py:class reference target not found: optional
/home/tkloczko/rpmbuild/BUILD/traitlets-5.2.0/traitlets/config/loader.py:docstring of traitlets.config.loader.ArgParseConfigLoader.__init__:: WARNING: py:class reference target not found: dict of str to str
/home/tkloczko/rpmbuild/BUILD/traitlets-5.2.0/traitlets/config/loader.py:docstring of traitlets.config.loader.ArgParseConfigLoader.__init__:: WARNING: py:class reference target not found: dict of str to str
/home/tkloczko/rpmbuild/BUILD/traitlets-5.2.0/traitlets/config/loader.py:docstring of traitlets.config.loader.ArgParseConfigLoader.load_config:: WARNING: py:class reference target not found: optional
/home/tkloczko/rpmbuild/BUILD/traitlets-5.2.0/traitlets/utils/importstring.py:docstring of traitlets.utils.importstring.import_item:: WARNING: py:class reference target not found: string
/home/tkloczko/rpmbuild/BUILD/traitlets-5.2.0/traitlets/utils/importstring.py:docstring of traitlets.utils.importstring.import_item:: WARNING: py:class reference target not found: module object
/home/tkloczko/rpmbuild/BUILD/traitlets-5.2.0/traitlets/traitlets.py:docstring of traitlets.traitlets.link:: WARNING: py:class reference target not found: object / attribute name
/home/tkloczko/rpmbuild/BUILD/traitlets-5.2.0/traitlets/traitlets.py:docstring of traitlets.traitlets.link:: WARNING: py:class reference target not found: pair
/home/tkloczko/rpmbuild/BUILD/traitlets-5.2.0/traitlets/traitlets.py:docstring of traitlets.traitlets.link:: WARNING: py:class reference target not found: object / attribute name
/home/tkloczko/rpmbuild/BUILD/traitlets-5.2.0/traitlets/traitlets.py:docstring of traitlets.traitlets.link:: WARNING: py:class reference target not found: pair
/home/tkloczko/rpmbuild/BUILD/traitlets-5.2.0/traitlets/traitlets.py:docstring of traitlets.traitlets.link:: WARNING: py:class reference target not found: iterable with two callables
/home/tkloczko/rpmbuild/BUILD/traitlets-5.2.0/traitlets/traitlets.py:docstring of traitlets.traitlets.link:: WARNING: py:class reference target not found: optional
/home/tkloczko/rpmbuild/BUILD/traitlets-5.2.0/traitlets/traitlets.py:docstring of traitlets.traitlets.directional_link:: WARNING: py:class reference target not found: attribute name
/home/tkloczko/rpmbuild/BUILD/traitlets-5.2.0/traitlets/traitlets.py:docstring of traitlets.traitlets.directional_link:: WARNING: py:class reference target not found: pair
/home/tkloczko/rpmbuild/BUILD/traitlets-5.2.0/traitlets/traitlets.py:docstring of traitlets.traitlets.directional_link:: WARNING: py:class reference target not found: attribute name
/home/tkloczko/rpmbuild/BUILD/traitlets-5.2.0/traitlets/traitlets.py:docstring of traitlets.traitlets.directional_link:: WARNING: py:class reference target not found: pair
/home/tkloczko/rpmbuild/BUILD/traitlets-5.2.0/traitlets/traitlets.py:docstring of traitlets.traitlets.directional_link:: WARNING: py:class reference target not found: callable
/home/tkloczko/rpmbuild/BUILD/traitlets-5.2.0/traitlets/traitlets.py:docstring of traitlets.traitlets.directional_link:: WARNING: py:class reference target not found: optional
/home/tkloczko/rpmbuild/BUILD/traitlets-5.2.0/docs/source/changelog.rst:181: WARNING: more than one target found for 'any' cross-reference 'Application': could be :py:class:`traitlets.config.Application` or :py:class:`traitlets.config.application.Application`
/home/tkloczko/rpmbuild/BUILD/traitlets-5.2.0/docs/source/changelog.rst:190: WARNING: more than one target found for 'any' cross-reference 'Callable': could be :py:class:`traitlets.Callable` or :py:class:`traitlets.traitlets.Callable`
/home/tkloczko/rpmbuild/BUILD/traitlets-5.2.0/docs/source/changelog.rst:197: WARNING: 'any' reference target not found: FuzzyEnum
/home/tkloczko/rpmbuild/BUILD/traitlets-5.2.0/docs/source/changelog.rst:357: WARNING: py:meth reference target not found: _traitname_default
/home/tkloczko/rpmbuild/BUILD/traitlets-5.2.0/docs/source/changelog.rst:375: WARNING: py:attr reference target not found: Application.raise_config_file_errors
/home/tkloczko/rpmbuild/BUILD/traitlets-5.2.0/docs/source/changelog.rst:410: WARNING: py:class reference target not found: JSONFileConfigLoader
done
build succeeded, 94 warnings.
And on test suite execution I just found on pytest warning
+ PYTHONPATH=/home/tkloczko/rpmbuild/BUILDROOT/python-traitlets-5.2.0-2.fc35.x86_64/usr/lib64/python3.8/site-packages:/home/tkloczko/rpmbuild/BUILDROOT/python-traitlets-5.2.0-2.fc35.x86_64/usr/lib/python3.8/site-packages
+ /usr/bin/pytest -ra
=========================================================================== test session starts ============================================================================
platform linux -- Python 3.8.13, pytest-7.1.2, pluggy-1.0.0
rootdir: /home/tkloczko/rpmbuild/BUILD/traitlets-5.2.0, configfile: pyproject.toml, testpaths: traitlets, examples
collected 556 items
traitlets/traitlets.py ..... [ 0%]
traitlets/config/configurable.py . [ 1%]
traitlets/config/loader.py . [ 1%]
traitlets/config/tests/test_application.py ........................................ [ 8%]
traitlets/config/tests/test_configurable.py ................................... [ 14%]
traitlets/config/tests/test_loader.py .............................................................. [ 25%]
traitlets/tests/_warnings.py .s [ 26%]
traitlets/tests/test_traitlets.py .................................................................................................................................. [ 49%]
.................................................................................................................................................................... [ 79%]
................................................................................. [ 93%]
traitlets/tests/test_traitlets_enum.py ........................ [ 98%]
traitlets/utils/descriptions.py . [ 98%]
traitlets/utils/nested_update.py . [ 98%]
traitlets/utils/tests/test_bunch.py .. [ 98%]
traitlets/utils/tests/test_decorators.py ..... [ 99%]
traitlets/utils/tests/test_importstring.py .. [100%]
============================================================================= warnings summary =============================================================================
traitlets/tests/_warnings.py::traitlets.tests._warnings.all_warnings
<doctest traitlets.tests._warnings.all_warnings[1]>:2: RuntimeWarning: bar
-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
=========================================================================== slowest 10 durations ===========================================================================
0.23s call traitlets/config/tests/test_application.py::test_help_output
0.22s call traitlets/config/tests/test_application.py::test_help_all_output
0.21s call traitlets/config/tests/test_application.py::test_show_config_cli
0.21s call traitlets/config/tests/test_application.py::test_show_config_json_cli
0.02s call traitlets/config/tests/test_configurable.py::TestConfigurable::test_override2
0.02s call traitlets/config/tests/test_application.py::TestApplication::test_extra_args
0.01s call traitlets/config/tests/test_application.py::TestApplication::test_flags
0.01s call traitlets/config/tests/test_application.py::TestApplication::test_generate_config_file_classes_to_include
0.01s call traitlets/config/tests/test_application.py::TestApplication::test_aliases
0.01s call traitlets/config/tests/test_application.py::TestApplication::test_subcommands_instanciation
========================================================================= short test summary info ==========================================================================
SKIPPED [1] ../../../../../usr/lib/python3.8/site-packages/_pytest/doctest.py:452: all tests skipped by +SKIP option
================================================================ 555 passed, 1 skipped, 1 warning in 2.42s =================================================================