14
0
forked from pool/python-pyzstd

Accepting request 1320160 from devel:languages:python

OBS-URL: https://build.opensuse.org/request/show/1320160
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pyzstd?expand=0&rev=8
This commit is contained in:
2025-11-26 16:18:48 +00:00
committed by Git OBS Bridge
4 changed files with 21 additions and 5 deletions

View File

@@ -1,3 +1,19 @@
-------------------------------------------------------------------
Wed Nov 26 10:30:35 UTC 2025 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
- 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 <adrian.glaubitz@suse.com>

View File

@@ -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}"

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:d84271f8baa66c419204c1dd115a4dec8b266f8a2921da21b81764fa208c1db6
size 1212160

3
pyzstd-0.18.0.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:81b6851ab1ca2e5f2c709e896a1362e3065a64f271f43db77fb7d5e4a78e9861
size 806048