Correct the import of _compression for Python 3.14#303
Conversation
This is backwards compatible with all supported versions of Python.
Caution: The new `compression` module in Python >= 3.14 Standard Library causes compatibility problems. * https://docs.python.org/3.14/library/compression.html * python-lz4#302 * python-lz4#303 * python-lz4#308 --- Python v3.14 -- October 7th * https://www.python.org/download/pre-releases * https://www.python.org/downloads/release/python-3140rc3 * https://docs.python.org/3.14/whatsnew/3.14.html What's new in Python 3.14: ___PEP 784: Adding Zstandard to the standard library___ * https://docs.python.org/3.14/whatsnew/3.14.html#whatsnew314-pep784
|
Is there anything blocking merging this PR? |
Co-authored-by: Christian Clauss <cclauss@me.com>
|
@taegyunkim When you think a pull request is useful and ready to be merged, please consider giving it a positive review. Every check mark ✔️ at the top right of this page gives project maintainers confidence that the proposed changes have been read through and deemed both useful and safe to merge into the codebase. Lots of 👍 and "what is the ETA?" comments are easier for maintainers to ignore than ✔️✔️✔️✔️✔️ from several different reviewers. Anyone can review a pull request on GitHub. To do so here:
|
|
Python 3.14 (the π version) was released 30 minutes ago. |
|
@jonathanunderwood Six positive code reviews... Can you or another maintainer please review the proposed changes? @emmatyping Your review, please. |
Reviews by fly by folks are meaningless.
See above. |
Caution: The new `compression` module in Python >= 3.14 Standard Library causes compatibility problems. * https://docs.python.org/3.14/library/compression.html * python-lz4#302 * python-lz4#303 * python-lz4#308 --- Python v3.14 -- October 7th * https://www.python.org/download/pre-releases * https://www.python.org/downloads/release/python-3140rc3 * https://docs.python.org/3.14/whatsnew/3.14.html What's new in Python 3.14: ___PEP 784: Adding Zstandard to the standard library___ * https://docs.python.org/3.14/whatsnew/3.14.html#whatsnew314-pep784
Caution: The new `compression` module in Python >= 3.14 Standard Library causes compatibility problems. * https://docs.python.org/3.14/library/compression.html * #302 * #303 * #308 --- Python v3.14 -- October 7th * https://www.python.org/download/pre-releases * https://www.python.org/downloads/release/python-3140rc3 * https://docs.python.org/3.14/whatsnew/3.14.html What's new in Python 3.14: ___PEP 784: Adding Zstandard to the standard library___ * https://docs.python.org/3.14/whatsnew/3.14.html#whatsnew314-pep784
This is backwards compatible with all supported versions of Python.
Resolves: #302