1
0

48 Commits

Author SHA256 Message Date
e58e2fa89c Accepting request 1316900 from Archiving
OBS-URL: https://build.opensuse.org/request/show/1316900
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-zstandard?expand=0&rev=21
2025-11-11 18:19:24 +00:00
4d985c4cfc - Update to 0.25.0
* PyO3 Rust crates upgraded from 0.24 to 0.25.
  * We now use Py_REFCNT(obj) instead of accessing (*obj)->ob_refcnt
    directly.
  * The PYTHON_ZSTANDARD_IMPORT_POLICY environment variable now has leading
    and trailing whitespace stripped.
  * The pyproject.toml build backend has been switched from
    setuptools.build_meta:__legacy__ to setuptools.build_meta.
  * The setuptools build dependency has been upgraded from <69.0.0 to
    >=77.0.0.
  * Python 3.14 wheels are now built with manylinux_2_28.
  * We now require cffi >= 2.0.0b on Python 3.14. <3.14 still requires 1.17.
  * Relax run-time libzstd version checking in C extension from exactly 1.5.7
    to >=1.5.6.
  * C extension types now (correctly) declare their fully qualified type names
    as zstandard.backend_c.* versus zstd.* before.

OBS-URL: https://build.opensuse.org/package/show/Archiving/python-zstandard?expand=0&rev=26
2025-11-10 10:57:06 +00:00
e1fc37097f Accepting request 1306187 from Archiving
- Switch from %python_{build,install} to %pyproject_* macros. (forwarded request 1305262 from mcepl)

OBS-URL: https://build.opensuse.org/request/show/1306187
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-zstandard?expand=0&rev=20
2025-09-22 14:38:43 +00:00
371173b078 - Switch from %python_{build,install} to %pyproject_* macros.
OBS-URL: https://build.opensuse.org/package/show/Archiving/python-zstandard?expand=0&rev=24
2025-09-21 01:58:00 +00:00
26bd2e3ed2 Accepting request 1305093 from Archiving
- Update to 0.24.0
  * Support for Python 3.8 has been dropped
  * Bundled zstd library upgraded from 1.5.6 to 1.5.7.
  * We now use and require cffi 1.17.0 or newer.
  * We now collections.abs.Buffer on Python 3.12+ instead of typing.ByteString,
    as typing.ByteString was deprecated and later removed.
  * get_frame_parameters() now accepts an optional format argument defining
    the zstandard frame type.
  * Initial Python 3.14 support.
- Drop merged fix-zstd-1.5.7.patch

OBS-URL: https://build.opensuse.org/request/show/1305093
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-zstandard?expand=0&rev=19
2025-09-17 14:37:14 +00:00
9cf48bc142 - Update to 0.24.0
* Support for Python 3.8 has been dropped
  * Bundled zstd library upgraded from 1.5.6 to 1.5.7.
  * We now use and require cffi 1.17.0 or newer.
  * We now collections.abs.Buffer on Python 3.12+ instead of typing.ByteString,
    as typing.ByteString was deprecated and later removed.
  * get_frame_parameters() now accepts an optional format argument defining
    the zstandard frame type.
  * Initial Python 3.14 support.
- Drop merged fix-zstd-1.5.7.patch

OBS-URL: https://build.opensuse.org/package/show/Archiving/python-zstandard?expand=0&rev=22
2025-09-12 15:03:38 +00:00
b446efc61d Accepting request 1296377 from Archiving
OBS-URL: https://build.opensuse.org/request/show/1296377
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-zstandard?expand=0&rev=18
2025-07-31 15:44:56 +00:00
0addd83122 - Update to 0.23.0
* tests: suppress data_too_large health check
  * zstd: upgrade vendored zstd to 1.5.6
  * setup: Python 3.13 support
  * rust: upgrade packages in Cargo.toml
  * build: fix building with modern setuptools backend

OBS-URL: https://build.opensuse.org/package/show/Archiving/python-zstandard?expand=0&rev=20
2025-07-29 20:00:11 +00:00
0baeb64c48 Accepting request 1247620 from Archiving
Add fix-zstd-1.5.7.patch to make it work with zstd-1.5.7
- Drop fix-zstd-1.5.6.patch
- Require libzstd1 = 1.5.7

OBS-URL: https://build.opensuse.org/request/show/1247620
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-zstandard?expand=0&rev=17
2025-02-22 18:04:17 +00:00
0c9cf50a0d cleanup
OBS-URL: https://build.opensuse.org/package/show/Archiving/python-zstandard?expand=0&rev=18
2025-02-21 12:16:41 +00:00
30c3784684 Require libzstd1 = 1.5.7
OBS-URL: https://build.opensuse.org/package/show/Archiving/python-zstandard?expand=0&rev=17
2025-02-21 12:10:22 +00:00
9748ece0f8 Add fix-zstd-1.5.7.patch to make it work with zstd-1.5.7
- Drop fix-zstd-1.5.6.patch

OBS-URL: https://build.opensuse.org/package/show/Archiving/python-zstandard?expand=0&rev=16
2025-02-21 10:45:09 +00:00
eeed422b4d Accepting request 1191781 from Archiving
Remove Conflict with python-zstd - they should be co-installable

OBS-URL: https://build.opensuse.org/request/show/1191781
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-zstandard?expand=0&rev=16
2024-08-07 04:09:46 +00:00
78b4dbd48e Accepting request 1165428 from Archiving
Add fix-zstd-1.5.6.patch to work with zstd-1.5.6

OBS-URL: https://build.opensuse.org/request/show/1165428
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-zstandard?expand=0&rev=15
2024-04-05 18:25:55 +00:00
0a4568871c Add fix-zstd-1.5.6.patch to work with zstd-1.5.6
OBS-URL: https://build.opensuse.org/package/show/Archiving/python-zstandard?expand=0&rev=12
2024-04-05 06:57:35 +00:00
b756e3fcb0 Accepting request 1156845 from Archiving
OBS-URL: https://build.opensuse.org/request/show/1156845
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-zstandard?expand=0&rev=14
2024-03-14 16:42:19 +00:00
faa6fc0f05 Accepting request 1155205 from home:dimstar:Factory
Prepare for RPM 4.20

OBS-URL: https://build.opensuse.org/request/show/1155205
OBS-URL: https://build.opensuse.org/package/show/Archiving/python-zstandard?expand=0&rev=10
2024-03-11 07:42:02 +00:00
0a1411bbdc Accepting request 1139407 from Archiving
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/1139407
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-zstandard?expand=0&rev=13
2024-01-17 21:14:30 +00:00
627ccea3ca Accepting request 1136071 from devel:languages:python
- Add %{?sle15_python_module_pythons}

OBS-URL: https://build.opensuse.org/request/show/1136071
OBS-URL: https://build.opensuse.org/package/show/Archiving/python-zstandard?expand=0&rev=8
2024-01-17 08:40:12 +00:00
5fbad7d7be Accepting request 1123361 from Archiving
Update to version 0.22.0
  * Official support for CPython 3.12
  * ZstdDecompressor.decompressobj() now accepts a read_across_frames
    boolean named argument to control whether to transparently read across
    multiple zstd frames. It still defaults to False to preserve existing
    behavior

OBS-URL: https://build.opensuse.org/request/show/1123361
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-zstandard?expand=0&rev=12
2023-11-05 11:19:12 +00:00
5fb1e00a14 Update to version 0.22.0
OBS-URL: https://build.opensuse.org/package/show/Archiving/python-zstandard?expand=0&rev=6
2023-11-04 20:08:27 +00:00
31206bc822 Update to versoin 0.22.0
* Official support for CPython 3.12
  * ZstdDecompressor.decompressobj() now accepts a read_across_frames
    boolean named argument to control whether to transparently read across
    multiple zstd frames. It still defaults to False to preserve existing
    behavior

OBS-URL: https://build.opensuse.org/package/show/Archiving/python-zstandard?expand=0&rev=5
2023-11-04 07:50:14 +00:00
bcf63ecd13 Accepting request 1080378 from Archiving
Update to version 0.21.0
  * Support zstd 1.5.5

OBS-URL: https://build.opensuse.org/request/show/1080378
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-zstandard?expand=0&rev=11
2023-04-25 14:53:04 +00:00
9c2b6430f8 require exact zstd
OBS-URL: https://build.opensuse.org/package/show/Archiving/python-zstandard?expand=0&rev=3
2023-04-19 15:34:54 +00:00
9c6e3a4fd6 Accepting request 1080376 from home:bmwiedemann:branches:devel:languages:python
move from dlp to make Archiving the new devel project
because this is strongly coupled to zstd version

OBS-URL: https://build.opensuse.org/request/show/1080376
OBS-URL: https://build.opensuse.org/package/show/Archiving/python-zstandard?expand=0&rev=2
2023-04-19 15:31:28 +00:00
4a0c64fce4 OBS-URL: https://build.opensuse.org/package/show/Archiving/python-zstandard?expand=0&rev=1 2023-04-19 15:26:40 +00:00
6b7869f2ab Accepting request 1067413 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1067413
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-zstandard?expand=0&rev=10
2023-02-25 18:54:15 +00:00
6fae74de3e Accepting request 1066986 from home:marxin:branches:devel:languages:python
- Update to version 0.20.0
  * This will likely be the last release officially supporting Python 3.6.
    Python 3.6 is end of life as of 2021-12-23.
  * Bundled zstd library upgraded from 1.5.2 to 1.5.4.
  * Use of the deprecated ZSTD_copyDCtx() was removed from the C and
    Rust backends.

OBS-URL: https://build.opensuse.org/request/show/1066986
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-zstandard?expand=0&rev=20
2023-02-23 14:12:33 +00:00
cb17627a77 Accepting request 1066418 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1066418
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-zstandard?expand=0&rev=9
2023-02-19 17:18:31 +00:00
be64fd7185 Accepting request 1066378 from home:marxin:branches:devel:languages:python
- Enable --system-zstd so that we depend of a system shared library
  of zstd.
- Add feature-detection.patch as feature detection test does not support
  --system-zstd (gh#indygreg/python-zstandard#191).

OBS-URL: https://build.opensuse.org/request/show/1066378
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-zstandard?expand=0&rev=18
2023-02-17 16:59:23 +00:00
1528fc2b00 Accepting request 1040446 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1040446
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-zstandard?expand=0&rev=8
2022-12-07 16:34:14 +00:00
7b88b9f2b5 Accepting request 1040403 from home:yarunachalam:branches:devel:languages:python
-  Fixed spec file to include exceptiongroup

OBS-URL: https://build.opensuse.org/request/show/1040403
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-zstandard?expand=0&rev=16
2022-12-05 21:27:06 +00:00
e7b47af9f6 Accepting request 1036966 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1036966
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-zstandard?expand=0&rev=7
2022-11-21 14:28:46 +00:00
aacba74329 Accepting request 1036857 from home:mia:branches:devel:languages:python
- Update to 0.19.0
Bug fixes
  * The C backend implementation of
    ZstdDecompressionObj.decompress() could have raised an
    assertion in cases where the function was called multiple times
    on an instance. In non-debug builds, calls to this method could
    have leaked memory.
Changes
  * PyPy 3.6 support dropped; Pypy 3.8 and 3.9 support added.
  * Anaconda 3.6 support dropped.
  * Official support for Python 3.11. This did not require
    meaningful code changes and previous release(s) likely worked
    with 3.11 without any changes. CFFI's build system now respects
    distutils's compiler.preprocessor if it is set.
    gh#indygreg/python-zstandard#179
  * The internal logic of ZstdDecompressionObj.decompress() was
    refactored. This may have fixed unconfirmed issues where
    unused_data was set prematurely. The new logic will also avoid
    an extra call to ZSTD_decompressStream() in some scenarios,
    possibly improving performance.
  * ZstdDecompressor.decompress() how has a read_across_frames
    keyword argument. It defaults to False. True is not yet
    implemented and will raise an exception if used. The new
    argument will default to True in a future release and is
    provided now so callers can start passing
    read_across_frames=False to preserve the existing functionality
    during a future upgrade.
  * ZstdDecompressor.decompress() now has an allow_extra_data
    keyword argument to control whether an exception is raised if
    input contains extra data. It defaults to True, preserving

OBS-URL: https://build.opensuse.org/request/show/1036857
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-zstandard?expand=0&rev=14
2022-11-20 18:28:21 +00:00
329cc1543f Accepting request 950575 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/950575
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-zstandard?expand=0&rev=6
2022-02-04 20:46:26 +00:00
0dd37b7147 Accepting request 950571 from home:bnavigator:branches:devel:languages:python
- Correctly test the installed solib
- Skip python2 on SLE/Leap: no longer supported

OBS-URL: https://build.opensuse.org/request/show/950571
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-zstandard?expand=0&rev=13
2022-02-02 01:10:37 +00:00
60a138e0e0 Accepting request 950048 from home:AdaLovelace:branches:devel:languages:python
- update to 0.17.0
- Fixed tests for s390x

OBS-URL: https://build.opensuse.org/request/show/950048
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-zstandard?expand=0&rev=12
2022-01-31 23:16:49 +00:00
02355510a1 Accepting request 822029 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/822029
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-zstandard?expand=0&rev=5
2020-08-01 10:28:34 +00:00
Tomáš Chvátal
b6e3275506 Accepting request 822028 from home:mcalabkova:branches:devel:languages:python
- update to 0.14.0
  * This will likely be the final version supporting Python 2.7. Future
    releases will likely only work on Python 3.5+. See #109 for more
    context.
  * There is a significant possibility that future versions will use
    Rust - instead of C - for compiled code. See #110 for more context.
  * Some internal fields of C structs are now explicitly initialized.
    (Possible fix for #105.)
  * The ``make_cffi.py`` script used to build the CFFI bindings now
    calls ``distutils.sysconfig.customize_compiler()`` so compiler
    customizations (such as honoring the ``CC`` environment variable)
    are performed. Patch by @Arfrever. (#103)
  * The ``make_cffi.py`` script now sets ``LC_ALL=C`` when invoking
    the preprocessor in an attempt to normalize output to ASCII. (#95)

OBS-URL: https://build.opensuse.org/request/show/822028
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-zstandard?expand=0&rev=10
2020-07-21 08:51:45 +00:00
a5fd4728e6 Accepting request 782875 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/782875
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-zstandard?expand=0&rev=4
2020-03-11 17:43:17 +00:00
Tomáš Chvátal
0c4e08d92f Accepting request 782874 from home:pgajdos:python
- version update to 0.13.0
  * ``pytest-xdist`` ``pytest`` extension is now installed so tests can be
    run in parallel.
  * CI now builds ``manylinux2010`` and ``manylinux2014`` binary wheels
    instead of a mix of ``manylinux2010`` and ``manylinux1``.
  * Official support for Python 3.8 has been added.
  * Bundled zstandard library upgraded from 1.4.3 to 1.4.4.
  * Python code has been reformatted with black.

OBS-URL: https://build.opensuse.org/request/show/782874
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-zstandard?expand=0&rev=8
2020-03-09 10:23:16 +00:00
451cd5b4d6 Accepting request 732155 from devel:languages:python
- Update to 0.12.0:
  * Fix ZstdDecompressor.__init__ on 64-bit big-endian systems (#91).
  * Fix memory leak in ZstdDecompressionReader.seek() (#82).
  * CI transitioned to Azure Pipelines (from AppVeyor and Travis CI).
  * Switched to pytest for running tests (from nose).

OBS-URL: https://build.opensuse.org/request/show/732155
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-zstandard?expand=0&rev=3
2019-09-26 18:38:37 +00:00
Tomáš Chvátal
0f13444f4e - Update to 0.12.0:
* Fix ZstdDecompressor.__init__ on 64-bit big-endian systems (#91).
  * Fix memory leak in ZstdDecompressionReader.seek() (#82).
  * CI transitioned to Azure Pipelines (from AppVeyor and Travis CI).
  * Switched to pytest for running tests (from nose).

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-zstandard?expand=0&rev=6
2019-09-20 12:11:44 +00:00
11b3493b99 Accepting request 705256 from devel:languages:python
- Update to 0.11.1:
  * Fix memory leak in ``ZstdDecompressionReader.seek()`` (#82).

OBS-URL: https://build.opensuse.org/request/show/705256
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-zstandard?expand=0&rev=2
2019-05-27 06:38:17 +00:00
Tomáš Chvátal
dae7a88286 - Update to 0.11.1:
* Fix memory leak in ``ZstdDecompressionReader.seek()`` (#82).

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-zstandard?expand=0&rev=4
2019-05-24 13:42:31 +00:00
3b0cb265c5 Accepting request 701351 from devel:languages:python
Needed by python-fastparquet

OBS-URL: https://build.opensuse.org/request/show/701351
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-zstandard?expand=0&rev=1
2019-05-07 21:20:36 +00:00
Todd R
360ea5ebd4 Accepting request 701350 from home:TheBlackCat:branches:devel:languages:python
- Conflict with python-zstd, which shares the same module name.

OBS-URL: https://build.opensuse.org/request/show/701350
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-zstandard?expand=0&rev=2
2019-05-07 15:40:23 +00:00
Todd R
dbc1dde45d Accepting request 699760 from home:TheBlackCat:branches:devel:languages:python:numeric
Needed by python-fastparquet

OBS-URL: https://build.opensuse.org/request/show/699760
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-zstandard?expand=0&rev=1
2019-04-30 20:09:59 +00:00
6 changed files with 96 additions and 63 deletions

View File

@@ -1,8 +1,14 @@
diff --git a/c-ext/backend_c.c b/c-ext/backend_c.c ---
index 9aa7a5c..f67191a 100644 c-ext/backend_c.c | 14 ++++++++++++++
--- a/c-ext/backend_c.c setup_zstd.py | 1 +
+++ b/c-ext/backend_c.c tests/test_module_attributes.py | 10 +++++++++-
@@ -210,6 +210,20 @@ void zstd_module_init(PyObject *m) { 3 files changed, 24 insertions(+), 1 deletion(-)
Index: zstandard-0.24.0/c-ext/backend_c.c
===================================================================
--- zstandard-0.24.0.orig/c-ext/backend_c.c 2025-08-17 01:50:50.000000000 +0200
+++ zstandard-0.24.0/c-ext/backend_c.c 2025-09-16 16:15:10.125710215 +0200
@@ -210,6 +210,20 @@
Py_DECREF(feature); Py_DECREF(feature);
#endif #endif
@@ -23,11 +29,11 @@ index 9aa7a5c..f67191a 100644
if (PyObject_SetAttrString(m, "backend_features", features) == -1) { if (PyObject_SetAttrString(m, "backend_features", features) == -1) {
return; return;
} }
diff --git a/setup_zstd.py b/setup_zstd.py Index: zstandard-0.24.0/setup_zstd.py
index 5aefdd0..3d8fe73 100644 ===================================================================
--- a/setup_zstd.py --- zstandard-0.24.0.orig/setup_zstd.py 2025-08-17 02:20:18.000000000 +0200
+++ b/setup_zstd.py +++ zstandard-0.24.0/setup_zstd.py 2025-09-16 16:15:10.125758965 +0200
@@ -78,6 +78,7 @@ def get_c_extension( @@ -79,6 +79,7 @@
if system_zstd: if system_zstd:
extra_args.append("-DZSTD_MULTITHREAD") extra_args.append("-DZSTD_MULTITHREAD")
@@ -35,11 +41,11 @@ index 5aefdd0..3d8fe73 100644
else: else:
extra_args.append("-DZSTD_SINGLE_FILE") extra_args.append("-DZSTD_SINGLE_FILE")
extra_args.append("-DZSTDLIB_VISIBLE=") extra_args.append("-DZSTDLIB_VISIBLE=")
diff --git a/tests/test_module_attributes.py b/tests/test_module_attributes.py Index: zstandard-0.24.0/tests/test_module_attributes.py
index a540bfe..a081b1a 100644 ===================================================================
--- a/tests/test_module_attributes.py --- zstandard-0.24.0.orig/tests/test_module_attributes.py 2025-08-17 19:03:17.000000000 +0200
+++ b/tests/test_module_attributes.py +++ zstandard-0.24.0/tests/test_module_attributes.py 2025-09-16 16:15:10.125970238 +0200
@@ -26,7 +26,15 @@ class TestModuleAttributes(unittest.TestCase): @@ -26,7 +26,15 @@
}, },
}[zstd.backend] }[zstd.backend]

View File

@@ -1,34 +0,0 @@
https://github.com/indygreg/python-zstandard/pull/221
commit e362dd47a0a339cd95a663ca4e54e628060ce6f1
Author: Bernhard M. Wiedemann <bwiedemann@suse.de>
Date: Fri Apr 5 08:55:10 2024 +0200
Support zstd-1.5.6
diff --git a/c-ext/backend_c.c b/c-ext/backend_c.c
index bf61f9c..aabe30b 100644
--- a/c-ext/backend_c.c
+++ b/c-ext/backend_c.c
@@ -152,7 +152,7 @@ void zstd_module_init(PyObject *m) {
PyObject *features = NULL;
PyObject *feature = NULL;
unsigned zstd_ver_no = ZSTD_versionNumber();
- unsigned our_hardcoded_version = 10505;
+ unsigned our_hardcoded_version = 10506;
if (ZSTD_VERSION_NUMBER != our_hardcoded_version ||
zstd_ver_no != our_hardcoded_version) {
PyErr_Format(
diff --git a/tests/test_module_attributes.py b/tests/test_module_attributes.py
index 145f7be..1f37b82 100644
--- a/tests/test_module_attributes.py
+++ b/tests/test_module_attributes.py
@@ -5,7 +5,7 @@ import zstandard as zstd
class TestModuleAttributes(unittest.TestCase):
def test_version(self):
- self.assertEqual(zstd.ZSTD_VERSION, (1, 5, 5))
+ self.assertEqual(zstd.ZSTD_VERSION, (1, 5, 6))
self.assertEqual(zstd.__version__, "0.22.0")

View File

@@ -1,3 +1,59 @@
-------------------------------------------------------------------
Mon Sep 29 08:02:28 UTC 2025 - Markéta Machová <mmachova@suse.com>
- Update to 0.25.0
* PyO3 Rust crates upgraded from 0.24 to 0.25.
* We now use Py_REFCNT(obj) instead of accessing (*obj)->ob_refcnt
directly.
* The PYTHON_ZSTANDARD_IMPORT_POLICY environment variable now has leading
and trailing whitespace stripped.
* The pyproject.toml build backend has been switched from
setuptools.build_meta:__legacy__ to setuptools.build_meta.
* The setuptools build dependency has been upgraded from <69.0.0 to
>=77.0.0.
* Python 3.14 wheels are now built with manylinux_2_28.
* We now require cffi >= 2.0.0b on Python 3.14. <3.14 still requires 1.17.
* Relax run-time libzstd version checking in C extension from exactly 1.5.7
to >=1.5.6.
* C extension types now (correctly) declare their fully qualified type names
as zstandard.backend_c.* versus zstd.* before.
-------------------------------------------------------------------
Tue Sep 16 14:22:03 UTC 2025 - Matej Cepl <mcepl@cepl.eu>
- Switch from %python_{build,install} to %pyproject_* macros.
-------------------------------------------------------------------
Mon Sep 8 05:29:20 UTC 2025 - Markéta Machová <mmachova@suse.com>
- Update to 0.24.0
* Support for Python 3.8 has been dropped
* Bundled zstd library upgraded from 1.5.6 to 1.5.7.
* We now use and require cffi 1.17.0 or newer.
* We now collections.abs.Buffer on Python 3.12+ instead of typing.ByteString,
as typing.ByteString was deprecated and later removed.
* get_frame_parameters() now accepts an optional format argument defining
the zstandard frame type.
* Initial Python 3.14 support.
- Drop merged fix-zstd-1.5.7.patch
-------------------------------------------------------------------
Tue Jul 22 07:55:15 UTC 2025 - Markéta Machová <mmachova@suse.com>
- Update to 0.23.0
* tests: suppress data_too_large health check
* zstd: upgrade vendored zstd to 1.5.6
* setup: Python 3.13 support
* rust: upgrade packages in Cargo.toml
* build: fix building with modern setuptools backend
-------------------------------------------------------------------
Fri Feb 21 10:44:16 UTC 2025 - Bernhard Wiedemann <bwiedemann@suse.com>
- Add fix-zstd-1.5.7.patch to make it work with zstd-1.5.7
- Drop fix-zstd-1.5.6.patch
- Require libzstd1 = 1.5.7
------------------------------------------------------------------- -------------------------------------------------------------------
Tue Aug 6 03:43:14 UTC 2024 - Bernhard Wiedemann <bwiedemann@suse.com> Tue Aug 6 03:43:14 UTC 2024 - Bernhard Wiedemann <bwiedemann@suse.com>

View File

@@ -1,7 +1,7 @@
# #
# spec file for package python-zstandard # spec file for package python-zstandard
# #
# Copyright (c) 2024 SUSE LLC # Copyright (c) 2025 SUSE LLC and contributors
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@@ -18,7 +18,7 @@
%{?sle15_python_module_pythons} %{?sle15_python_module_pythons}
Name: python-zstandard Name: python-zstandard
Version: 0.22.0 Version: 0.25.0
Release: 0 Release: 0
Summary: Zstandard bindings for Python Summary: Zstandard bindings for Python
License: BSD-3-Clause License: BSD-3-Clause
@@ -26,17 +26,21 @@ Group: Development/Languages/Python
URL: https://github.com/indygreg/python-zstandard URL: https://github.com/indygreg/python-zstandard
Source: https://files.pythonhosted.org/packages/source/z/zstandard/zstandard-%{version}.tar.gz Source: https://files.pythonhosted.org/packages/source/z/zstandard/zstandard-%{version}.tar.gz
Patch0: feature-detection.patch Patch0: feature-detection.patch
Patch1: fix-zstd-1.5.6.patch
BuildRequires: %{python_module devel} BuildRequires: %{python_module devel}
BuildRequires: %{python_module setuptools} BuildRequires: %{python_module pip}
BuildRequires: %{python_module setuptools >= 77}
BuildRequires: %{python_module wheel}
BuildRequires: fdupes BuildRequires: fdupes
BuildRequires: libzstd-devel BuildRequires: libzstd-devel >= 1.5.6
BuildRequires: python-rpm-macros BuildRequires: python-rpm-macros
BuildRequires: zstd = 1.5.6 Requires: libzstd1 >= 1.5.6
Requires: python-cffi >= 1.11 %if 0%{?python_version_nodots} >= 314
Requires: zstd Requires: python-cffi >= 2.0.0
%else
Requires: python-cffi >= 1.17
%endif
# SECTION test requirements # SECTION test requirements
BuildRequires: %{python_module cffi >= 1.11} BuildRequires: %{python_module cffi >= 2.0.0}
BuildRequires: %{python_module exceptiongroup} BuildRequires: %{python_module exceptiongroup}
BuildRequires: %{python_module hypothesis} BuildRequires: %{python_module hypothesis}
BuildRequires: %{python_module pytest-xdist} BuildRequires: %{python_module pytest-xdist}
@@ -52,10 +56,11 @@ Zstandard bindings for Python
%build %build
export CFLAGS="%{optflags}" export CFLAGS="%{optflags}"
%python_build --system-zstd %define py_setup_args "--system-zstd"
%pyproject_wheel
%install %install
%python_install %pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitearch} %python_expand %fdupes %{buildroot}%{$python_sitearch}
%check %check

Binary file not shown.

3
zstandard-0.25.0.tar.gz Normal file
View File

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