4 Commits

Author SHA256 Message Date
c09a06df65 Accepting request 1278842 from devel:languages:python
Forwarded request #1278681 from glaubitz

- Update to 0.17.0
    * Upgrade zstd source code from v1.5.6 to v1.5.7
    * Raise an exception when attempting to decompress empty data
    * Add `ZstdFile.name` property
    * Deprecate `(de)compress_stream` functions
    * Use a leading `_` for private objects
    * Build wheels for Windows ARM64
    * Support for PyPy 3.11
  - Update BuildRequires and Requires from setup.py

OBS-URL: https://build.opensuse.org/request/show/1278842
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pyzstd?expand=0&rev=7
2025-05-23 12:30:46 +00:00
2df147e40d - Update to 0.17.0
* Upgrade zstd source code from v1.5.6 to v1.5.7
  * Raise an exception when attempting to decompress empty data
  * Add `ZstdFile.name` property
  * Deprecate `(de)compress_stream` functions
  * Use a leading `_` for private objects
  * Build wheels for Windows ARM64
  * Support for PyPy 3.11
- Update BuildRequires and Requires from setup.py

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyzstd?expand=0&rev=13
2025-05-20 14:45:04 +00:00
e3bf7893c0 Accepting request 1218886 from devel:languages:python
- update to 0.16.2:
  * Build wheels for Python 3.13
  * Deprecate support for Python version before 3.9 and stop
    building wheels for them
  * Compatibility with Python 3.13
  * Upgrade zstd source code from v1.5.5 to v1.5.6
  * Fix pyzstd_pep517 parameter name in
    `get_requires_for_build_wheel`
  * Deprecate support for Python version before 3.8 and stop
    building wheels for them
  * Minor fixes in type hints
  * Refactor README & CHANGELOG files

OBS-URL: https://build.opensuse.org/request/show/1218886
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pyzstd?expand=0&rev=6
2024-10-29 13:35:38 +00:00
8ef4a66bcd - update to 0.16.2:
* Build wheels for Python 3.13
  * Deprecate support for Python version before 3.9 and stop
    building wheels for them
  * Compatibility with Python 3.13
  * Upgrade zstd source code from v1.5.5 to v1.5.6
  * Fix pyzstd_pep517 parameter name in
    `get_requires_for_build_wheel`
  * Deprecate support for Python version before 3.8 and stop
    building wheels for them
  * Minor fixes in type hints
  * Refactor README & CHANGELOG files

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyzstd?expand=0&rev=11
2024-10-28 22:36:47 +00:00
4 changed files with 5 additions and 21 deletions

View File

@@ -1,19 +1,3 @@
-------------------------------------------------------------------
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> 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} %{?sle15_python_module_pythons}
Name: python-pyzstd Name: python-pyzstd
Version: 0.18.0 Version: 0.17.0
Release: 0 Release: 0
Summary: Python bindings to Zstandard (zstd) compression library Summary: Python bindings to Zstandard (zstd) compression library
License: BSD-3-Clause License: BSD-3-Clause
@@ -45,8 +45,8 @@ The API is similar to Python's bz2/lzma/zlib modules.
%setup -q -n pyzstd-%{version} %setup -q -n pyzstd-%{version}
# make sure we link dynamically, cannot use command line argument to pip wheel # make sure we link dynamically, cannot use command line argument to pip wheel
# gh#animalize/pyzstd#18 # gh#animalize/pyzstd#18
rm -r zstd
sed -i "s/has_option('--dynamic-link-zstd')/True/" setup.py sed -i "s/has_option('--dynamic-link-zstd')/True/" setup.py
sed -i "/\#\!\/usr\/bin\/env\ python3/d" src/__main__.py
%build %build
export CFLAGS="%{optflags}" export CFLAGS="%{optflags}"

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

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

View File

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