What change would you like to see?
Where it's available, compression.zstd from the Python standard library should be used.
Installations of pydistcheck in environments with Python 3.14 and later should not require the zstandard library.
How would implementing this improve pydistcheck?
Would allow users from Python 3.14 onwards to avoid a runtime dependency on the third-party zstandard library (https://pypi.org/project/zstandard/), possibly improving installation time and reducing environment size.
Notes
compression.zstd is available starting in Python 3.14: https://docs.python.org/3/library/compression.zstd.html
As a result of PEP 784:
It could be made conditional in the packaging metadata with a specifier similar to this:
|
"tomli>=1.1.0 ; python_version < '3.11'" |
What change would you like to see?
Where it's available,
compression.zstdfrom the Python standard library should be used.Installations of
pydistcheckin environments with Python 3.14 and later should not require thezstandardlibrary.How would implementing this improve
pydistcheck?Would allow users from Python 3.14 onwards to avoid a runtime dependency on the third-party
zstandardlibrary (https://pypi.org/project/zstandard/), possibly improving installation time and reducing environment size.Notes
compression.zstdis available starting in Python 3.14: https://docs.python.org/3/library/compression.zstd.htmlAs a result of PEP 784:
compression.zstdand Python tests python/cpython#133365It could be made conditional in the packaging metadata with a specifier similar to this:
pydistcheck/pyproject.toml
Line 28 in b9826f7