Details
-
Type:
Story
-
Status: Done
-
Resolution: Done
-
Fix Version/s: None
-
Component/s: documenteer
-
Labels:None
-
Story Points:0.7
-
Epic Link:
-
Team:SQuaRE
-
Urgent?:No
Description
We need to update Documenteer's mypy typing. It appears that dependencies have published types with their packages, and this requires us to add those stubs to Documenteer's dependencies and/or adjust the typing in documenteer itself.
2022-03-14T04:28:38.0526142Z documenteer/requestsutils.py:6: error: Library stubs not installed for "requests" (or incompatible with Python 3.9)
|
2022-03-14T04:28:38.0527537Z documenteer/requestsutils.py:7: error: Library stubs not installed for "requests.adapters" (or incompatible with Python 3.9)
|
2022-03-14T04:28:38.0528878Z documenteer/requestsutils.py:8: error: Library stubs not installed for "requests.packages.urllib3.util.retry" (or incompatible with Python 3.9)
|
2022-03-14T04:28:38.0581396Z documenteer/sphinxext/lsstdocushare.py:3: error: Library stubs not installed for "docutils" (or incompatible with Python 3.9)
|
2022-03-14T04:28:38.0635246Z documenteer/__init__.py:3: error: Library stubs not installed for "pkg_resources" (or incompatible with Python 3.9)
|
2022-03-14T04:28:38.0636160Z documenteer/__init__.py:3: note: Hint: "python3 -m pip install types-setuptools"
|
2022-03-14T04:28:38.0636784Z documenteer/__init__.py:3: note: (or run "mypy --install-types" to install all missing stub packages)
|
2022-03-14T04:28:38.0637489Z documenteer/__init__.py:3: note: See https://mypy.readthedocs.io/en/stable/running_mypy.html#missing-imports
|
2022-03-14T04:28:38.7969002Z documenteer/packagemetadata.py:58: error: Item "None" of "Optional[Match[str]]" has no attribute "group"
|
2022-03-14T04:28:38.7969941Z documenteer/packagemetadata.py:59: error: Item "None" of "Optional[Match[str]]" has no attribute "group"
|
2022-03-14T04:28:38.7970468Z documenteer/packagemetadata.py:60: error: Item "None" of "Optional[Match[str]]" has no attribute "group"
|
2022-03-14T04:28:38.7970995Z documenteer/packagemetadata.py:61: error: Item "None" of "Optional[Match[str]]" has no attribute "group"
|
2022-03-14T04:28:38.7971526Z documenteer/packagemetadata.py:62: error: Item "None" of "Optional[Match[str]]" has no attribute "group"
|
2022-03-14T04:28:39.2976824Z documenteer/stackdocs/pkgdiscovery.py:20: error: Library stubs not installed for "yaml" (or incompatible with Python 3.9)
|
2022-03-14T04:28:39.3012573Z documenteer/sphinxext/mockcoderefs.py:9: error: Library stubs not installed for "docutils" (or incompatible with Python 3.9)
|
2022-03-14T04:28:39.3042807Z documenteer/sphinxext/jira.py:9: error: Library stubs not installed for "docutils" (or incompatible with Python 3.9)
|
2022-03-14T04:28:39.3101969Z documenteer/bin/refreshlsstbib.py:12: error: Library stubs not installed for "requests" (or incompatible with Python 3.9)
|
2022-03-14T04:28:39.3102869Z documenteer/bin/refreshlsstbib.py:12: note: Hint: "python3 -m pip install types-requests"
|
2022-03-14T04:28:39.3103423Z documenteer/bin/refreshlsstbib.py:13: error: Library stubs not installed for "pkg_resources" (or incompatible with Python 3.9)
|
2022-03-14T04:28:42.1984197Z documenteer/sphinxconfig/technoteconf.py:11: error: Library stubs not installed for "yaml" (or incompatible with Python 3.9)
|
2022-03-14T04:28:42.2110033Z documenteer/conf/technote.py:83: error: Library stubs not installed for "yaml" (or incompatible with Python 3.9)
|
2022-03-14T04:28:42.2110936Z documenteer/conf/technote.py:83: note: Hint: "python3 -m pip install types-PyYAML"
|
2022-03-14T04:28:47.2865076Z documenteer/sphinxext/utils.py:13: error: Library stubs not installed for "docutils" (or incompatible with Python 3.9)
|
2022-03-14T04:28:47.2866229Z documenteer/sphinxext/utils.py:14: error: Library stubs not installed for "docutils.statemachine" (or incompatible with Python 3.9)
|
2022-03-14T04:28:47.2909625Z documenteer/sphinxext/packagetoctree.py:7: error: Library stubs not installed for "docutils" (or incompatible with Python 3.9)
|
2022-03-14T04:28:47.2910300Z documenteer/sphinxext/packagetoctree.py:9: error: Library stubs not installed for "docutils.parsers.rst" (or incompatible with Python 3.9)
|
2022-03-14T04:28:47.2910939Z documenteer/sphinxext/packagetoctree.py:10: error: Library stubs not installed for "pkg_resources" (or incompatible with Python 3.9)
|
2022-03-14T04:28:47.2962100Z documenteer/sphinxext/lssttasks/topiclists.py:17: error: Library stubs not installed for "docutils" (or incompatible with Python 3.9)
|
2022-03-14T04:28:47.2962760Z documenteer/sphinxext/lssttasks/topiclists.py:18: error: Library stubs not installed for "docutils.parsers.rst" (or incompatible with Python 3.9)
|
2022-03-14T04:28:47.3005920Z documenteer/ext/autodocreset.py:12: error: Library stubs not installed for "pkg_resources" (or incompatible with Python 3.9)
|
2022-03-14T04:28:47.3143936Z documenteer/sphinxext/remotecodeblock.py:7: error: Library stubs not installed for "docutils" (or incompatible with Python 3.9)
|
2022-03-14T04:28:47.3144615Z documenteer/sphinxext/remotecodeblock.py:8: error: Library stubs not installed for "docutils.parsers.rst" (or incompatible with Python 3.9)
|
2022-03-14T04:28:47.3145236Z documenteer/sphinxext/remotecodeblock.py:9: error: Library stubs not installed for "pkg_resources" (or incompatible with Python 3.9)
|
2022-03-14T04:28:47.3194690Z documenteer/sphinxext/lssttasks/pyapisummary.py:6: error: Library stubs not installed for "docutils" (or incompatible with Python 3.9)
|
2022-03-14T04:28:47.3195351Z documenteer/sphinxext/lssttasks/pyapisummary.py:7: error: Library stubs not installed for "docutils.parsers.rst" (or incompatible with Python 3.9)
|
2022-03-14T04:28:47.3244064Z documenteer/sphinxext/lssttasks/crossrefs.py:17: error: Library stubs not installed for "docutils" (or incompatible with Python 3.9)
|
2022-03-14T04:28:47.3347234Z documenteer/ext/autocppapi.py:12: error: Library stubs not installed for "docutils" (or incompatible with Python 3.9)
|
2022-03-14T04:28:47.3348138Z documenteer/ext/autocppapi.py:12: note: Hint: "python3 -m pip install types-docutils"
|
2022-03-14T04:28:47.3348728Z documenteer/ext/autocppapi.py:13: error: Library stubs not installed for "docutils.parsers.rst" (or incompatible with Python 3.9)
|
2022-03-14T04:28:47.3349321Z documenteer/ext/autocppapi.py:14: error: Library stubs not installed for "pkg_resources" (or incompatible with Python 3.9)
|
2022-03-14T04:28:47.3506338Z documenteer/sphinxext/lssttasks/topics.py:11: error: Library stubs not installed for "docutils" (or incompatible with Python 3.9)
|
2022-03-14T04:28:47.3507066Z documenteer/sphinxext/lssttasks/topics.py:12: error: Library stubs not installed for "docutils.parsers.rst" (or incompatible with Python 3.9)
|
2022-03-14T04:28:47.3653873Z documenteer/sphinxext/lssttasks/configfieldlists.py:14: error: Library stubs not installed for "docutils" (or incompatible with Python 3.9)
|
2022-03-14T04:28:47.3654576Z documenteer/sphinxext/lssttasks/configfieldlists.py:15: error: Library stubs not installed for "docutils.parsers.rst" (or incompatible with Python 3.9)
|
2022-03-14T04:28:47.3659458Z documenteer/sphinxext/__init__.py:19: error: Library stubs not installed for "pkg_resources" (or incompatible with Python 3.9)
|
2022-03-14T04:28:47.3709119Z tests/test_sphinxext_mockcoderefs.py:15: error: Library stubs not installed for "mock" (or incompatible with Python 3.9)
|
2022-03-14T04:28:47.3709654Z tests/test_sphinxext_mockcoderefs.py:15: error: Name "Mock" already defined (possibly by an import)
|
2022-03-14T04:28:47.3757664Z tests/test_sphinxext_lsstdocushare.py:16: error: Library stubs not installed for "mock" (or incompatible with Python 3.9)
|
2022-03-14T04:28:47.3758241Z tests/test_sphinxext_lsstdocushare.py:16: error: Name "Mock" already defined (possibly by an import)
|
2022-03-14T04:28:47.3801934Z tests/test_sphinxext_jira.py:19: error: Library stubs not installed for "mock" (or incompatible with Python 3.9)
|
2022-03-14T04:28:47.3802824Z tests/test_sphinxext_jira.py:19: note: Hint: "python3 -m pip install types-mock"
|
2022-03-14T04:28:47.3803295Z tests/test_sphinxext_jira.py:19: error: Name "Mock" already defined (possibly by an import)
|
2022-03-14T04:28:47.3908090Z documenteer/sphinxext/lssttasks/__init__.py:6: error: Library stubs not installed for "pkg_resources" (or incompatible with Python 3.9)
|
2022-03-14T04:28:47.3923498Z documenteer/bin/buildstackdocs.py:11: error: Library stubs not installed for "pkg_resources" (or incompatible with Python 3.9)
|
2022-03-14T04:28:47.3977744Z Found 47 errors in 26 files (checked 61 source files)
|
2022-03-14T04:28:47.4073931Z ERROR: InvocationError for command /home/runner/work/documenteer/documenteer/.tox/typing-sphinx4/bin/mypy documenteer tests setup.py (exited with code 1)
|
2022-03-14T04:28:47.4079265Z ___________________________________ summary ____________________________________
|
2022-03-14T04:28:47.4079957Z ERROR: typing-sphinx4: commands failed
|