Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[#69] fix deprecation warning #70

Merged
merged 8 commits into from
Apr 2, 2024
Merged

Conversation

kreuzberger
Copy link
Contributor

Sphinx in Versions >= 7 migrated to PathLib and generates warnings.
Tests must considers this too

Copy link
Member

@danwos danwos left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good. Thanks for the PR 👍

Just 1-2 questions :)

@@ -2,7 +2,7 @@
from nox import session

PYTHON_VERSIONS = ["3.8", "3.9", "3.10"]
SPHINX_VERSIONS = ["5.0"]
SPHINX_VERSIONS = ["5.0", "6.2.1", "7.1.2", "7.2.5"]
Copy link
Member

@danwos danwos Jan 22, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For Sphinx-Needs we have this matrix settings:
image

Should we use the same versions here as well?

Are there any important changes between 7.1.2 and 7.2.5 which will let our code behave differently?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

First of all: i would be happy if all useblocks provided sphinx extensions could match the same build/testing environment, this would make integration into my used building/testing environment

I choosed 7.1.2 cause this was the last version before the deprecation (introduced with 7.2.0)

It seems to me that with 7.2.5 the App object required by the spinx tests api changed the interface from PathLike Objects to pathlib.Paths. So testing one version AFTER this change and one before seems useful.

tests/conftest.py Show resolved Hide resolved
@cpolzer
Copy link

cpolzer commented Mar 25, 2024

Hey hello @danwos , is there any chance we get this merged?

@danwos danwos merged commit a8da8e8 into useblocks:master Apr 2, 2024
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants