Open kloczek opened 5 months ago
fix-sphinx-warnings.patch I asked Devin.ai to fix this, maybe give it a try.
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. 😛
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:Firset set of warnings
No module named 'marshmallow'
is possible to fix by patch like below: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