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

Replace deprecated sphinx.testing.path with pathlib.Path #41

Merged
merged 3 commits into from
May 21, 2024

Conversation

roehling
Copy link
Contributor

This PR gets rid of a deprecation warning with Sphinx 7

@kloczek
Copy link

kloczek commented Mar 15, 2024

Just tested this PR and looks like it fixes test suite issue.

+ PYTHONPATH=/home/tkloczko/rpmbuild/BUILDROOT/python-sphinxcontrib-moderncmakedomain-3.27.0-2.fc36.x86_64/usr/lib64/python3.9/site-packages:/home/tkloczko/rpmbuild/BUILDROOT/python-sphinxcontrib-moderncmakedomain-3.27.0-2.fc36.x86_64/usr/lib/python3.9/site-packages
+ /usr/bin/pytest -ra -m 'not network'
==================================================================================== test session starts ====================================================================================
platform linux -- Python 3.9.18, pytest-8.1.1, pluggy-1.4.0
rootdir: /home/tkloczko/rpmbuild/BUILD/moderncmakedomain-3.27.0
configfile: pyproject.toml
testpaths: tests
collected 4 items

tests/test_basic.py ...                                                                                                                                                               [ 75%]
tests/test_version.py .                                                                                                                                                               [100%]

===================================================================================== 4 passed in 1.01s =====================================================================================

It would be good to merge this PR.

@henryiii henryiii closed this May 21, 2024
@henryiii henryiii reopened this May 21, 2024
@henryiii henryiii closed this May 21, 2024
@henryiii henryiii reopened this May 21, 2024
@henryiii henryiii merged commit e4004ef into scikit-build:main May 21, 2024
3 of 5 checks passed
@henryiii
Copy link
Contributor

Thanks!

@roehling roehling deleted the pathlib branch May 21, 2024 16:21
@henryiii
Copy link
Contributor

This broke the tests. .copytree is not part of pathlib.

@henryiii
Copy link
Contributor

7.3 (Python 3.9+) supports Path.

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