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

Update reserved paths based on Python 3.13 Windows changes #185

Merged
merged 1 commit into from
Jun 19, 2024

Conversation

berquist
Copy link
Contributor

@berquist berquist commented Jun 8, 2024

Closes #180

I will update the Python versions tested in CI separately, but this is passing using Tox with versions 3.7-3.13.

@berquist berquist force-pushed the python-3.13-reserved-paths branch from e556193 to 7dcbf4c Compare June 8, 2024 19:52
@berquist berquist marked this pull request as draft June 8, 2024 21:34
@berquist berquist marked this pull request as ready for review June 9, 2024 00:45
@berquist
Copy link
Contributor Author

berquist commented Jun 9, 2024

There are unrelated case-sensitivity problems on Windows and macOS that I'll address separately.

Copy link
Member

@dragly dragly left a comment

Choose a reason for hiding this comment

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

Thanks for fixing this!

Comment on lines -36 to +37
exob._assert_valid_name("\n", f)
with pytest.raises(NameError):
exob._assert_valid_name("\n", f)
Copy link
Member

Choose a reason for hiding this comment

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

Nice, this is way more sensible! 👍

@dragly dragly merged commit e04600a into CINPLA:dev Jun 19, 2024
3 checks passed
@berquist berquist deleted the python-3.13-reserved-paths branch June 19, 2024 15:12
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.

Python 3.13: test_assert_valid_name_minimal fails due to changed behavior of PurePath.is_reserved()
2 participants