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

Use values of READ and WRITE from the gzip module #45

Merged
merged 2 commits into from
Jul 15, 2024

Conversation

musicinmybrain
Copy link
Contributor

These changed from integers to mode strings in Python 3.13, and we need to remain consistent with the standard library.

Fixes #44.

Reference:
https://docs.python.org/3.13/library/gzip.html#gzip.GzipFile.mode

Checklist

  • Pull request details were added to CHANGELOG.rst
  • Documentation was updated (if needed)

These changed from integers to mode strings in Python 3.13, and we need
to remain consistent with the standard library.

Fixes pycompression#44.

Reference:
https://docs.python.org/3.13/library/gzip.html#gzip.GzipFile.mode
@rhpvorderman
Copy link
Contributor

Good find! I will merge this ASAP, it looks like MacOS is having problems on the CI, so I will fix these problems first in a separate PR.

@rhpvorderman rhpvorderman reopened this Jul 15, 2024
@rhpvorderman rhpvorderman merged commit 1c9e979 into pycompression:develop Jul 15, 2024
35 of 39 checks passed
@rhpvorderman
Copy link
Contributor

Thanks @musicinmybrain for fixing this.

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.

Test failures on Python 3.13 due to read-only Gzip(NG)File
2 participants