14
0
forked from pool/python-pyzstd

6 Commits

Author SHA256 Message Date
597c0e2639 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
2025-11-26 16:18:48 +00:00
8d61fb7cee - 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

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyzstd?expand=0&rev=15
2025-11-26 11:26:59 +00:00
f5797ba985 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
39079b9da2 Accepting request 1278681 from home:glaubitz:branches:devel:languages:python
- 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/1278681
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
0f23cb723e 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
4170dba310 - 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 54 additions and 7 deletions

View File

@@ -1,3 +1,48 @@
-------------------------------------------------------------------
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>
- 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
-------------------------------------------------------------------
Mon Oct 28 22:36:13 UTC 2024 - Dirk Müller <dmueller@suse.com>
- 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
-------------------------------------------------------------------
Thu May 2 08:04:33 UTC 2024 - Dirk Müller <dmueller@suse.com>

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-pyzstd
#
# Copyright (c) 2024 SUSE LLC
# Copyright (c) 2025 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -18,7 +18,7 @@
%{?sle15_python_module_pythons}
Name: python-pyzstd
Version: 0.15.10
Version: 0.18.0
Release: 0
Summary: Python bindings to Zstandard (zstd) compression library
License: BSD-3-Clause
@@ -27,10 +27,12 @@ Source: https://files.pythonhosted.org/packages/source/p/pyzstd/pyzstd-%
BuildRequires: %{python_module devel >= 3.5}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module typing_extensions >= 4.13.2}
BuildRequires: %{python_module wheel}
BuildRequires: fdupes
BuildRequires: libzstd-devel >= 1.4.0
BuildRequires: python-rpm-macros
Requires: (python-typing_extensions >= 4.13.2 if python-base < 3.13)
%python_subpackages
%description
@@ -43,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}"
@@ -58,7 +60,7 @@ export CFLAGS="%{optflags}"
%pyunittest_arch discover -v tests
%files %{python_files}
%doc README.rst
%doc README.md
%license LICENSE
%{python_sitearch}/pyzstd
%{python_sitearch}/pyzstd-%{version}.dist-info

View File

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

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