diff --git a/python-pyzstd.changes b/python-pyzstd.changes index 5b39077..8d32801 100644 --- a/python-pyzstd.changes +++ b/python-pyzstd.changes @@ -1,3 +1,19 @@ +------------------------------------------------------------------- +Wed Nov 26 10:30:35 UTC 2025 - John Paul Adrian Glaubitz + +- Update to 0.18.0 + * Support for Python 3.14 + * Build free-threaded wheels for CPython 3.13 and 3.14, + even if the feature is not supported + * Deprecate the `read_size` and `write_size` parameters + of `ZstdFile` and `SeekableZstdFile` + * Deprecate `richmem_compress` and `RichMemZstdCompressor` + * Rework documentation to suggest using `compression.zstd` + from Python stdlib, and provide a migration guide + * Include the `zstd` library license in package distributions +- Add sed command to remove shebang from src/__main__.py +- Don't remove zstd folder in %setup section, it's temporarily required + ------------------------------------------------------------------- Tue May 20 11:41:48 UTC 2025 - John Paul Adrian Glaubitz diff --git a/python-pyzstd.spec b/python-pyzstd.spec index fe2d3fb..f148706 100644 --- a/python-pyzstd.spec +++ b/python-pyzstd.spec @@ -18,7 +18,7 @@ %{?sle15_python_module_pythons} Name: python-pyzstd -Version: 0.17.0 +Version: 0.18.0 Release: 0 Summary: Python bindings to Zstandard (zstd) compression library License: BSD-3-Clause @@ -45,8 +45,8 @@ The API is similar to Python's bz2/lzma/zlib modules. %setup -q -n pyzstd-%{version} # make sure we link dynamically, cannot use command line argument to pip wheel # gh#animalize/pyzstd#18 -rm -r zstd sed -i "s/has_option('--dynamic-link-zstd')/True/" setup.py +sed -i "/\#\!\/usr\/bin\/env\ python3/d" src/__main__.py %build export CFLAGS="%{optflags}" diff --git a/pyzstd-0.17.0.tar.gz b/pyzstd-0.17.0.tar.gz deleted file mode 100644 index 373ca1d..0000000 --- a/pyzstd-0.17.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:d84271f8baa66c419204c1dd115a4dec8b266f8a2921da21b81764fa208c1db6 -size 1212160 diff --git a/pyzstd-0.18.0.tar.gz b/pyzstd-0.18.0.tar.gz new file mode 100644 index 0000000..caf8af7 --- /dev/null +++ b/pyzstd-0.18.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:81b6851ab1ca2e5f2c709e896a1362e3065a64f271f43db77fb7d5e4a78e9861 +size 806048