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

Add Python 3.13 compatibility #183

Merged
merged 4 commits into from
Nov 9, 2024

Conversation

otetard
Copy link
Contributor

@otetard otetard commented Oct 13, 2024

Changes:

  • PurePath._flavour is now known as PurePath.parser.
  • PurePath._load_parts() is now gone and replaced by PurePath._raw_path.
  • Disable old glob feature when using Python 3.13 (a lot of changes were done in official pathlib).

Changes:
- `PurePath._flavour` is now known as `PurePath.parser`.
- `PurePath._load_parts()` is now gone and replaced by `PurePath._raw_path`.
@otetard otetard force-pushed the add-python-3.13-support branch from 1f3d80d to ea880f4 Compare October 29, 2024 11:01
@Darkheir Darkheir force-pushed the add-python-3.13-support branch from be1c0b7 to 9627e66 Compare October 30, 2024 13:58
@otetard otetard marked this pull request as ready for review October 30, 2024 14:25
Copy link
Owner

@liormizr liormizr left a comment

Choose a reason for hiding this comment

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

Thank you for your contribution!

The only things I believe are missing are:

I think it would be cleaner for the next release to be a minor version update (0.6.0). In this version, we could remove support for the old glob algorithm entirely, as the new algorithm seems better for S3 usage anyway.

I'm also missing the related documentation update. I'll add this after we disable the old algorithm.

@liormizr liormizr merged commit a13888b into liormizr:master Nov 9, 2024
6 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