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
This commit is contained in:
Dirk Mueller 2023-02-23 14:12:33 +00:00 committed by Git OBS Bridge
parent be64fd7185
commit 6fae74de3e
5 changed files with 18 additions and 8 deletions

View File

@ -1,5 +1,5 @@
diff --git a/c-ext/backend_c.c b/c-ext/backend_c.c
index e31dd15..a5d9dee 100644
index 9aa7a5c..f67191a 100644
--- a/c-ext/backend_c.c
+++ b/c-ext/backend_c.c
@@ -210,6 +210,20 @@ void zstd_module_init(PyObject *m) {
@ -24,7 +24,7 @@ index e31dd15..a5d9dee 100644
return;
}
diff --git a/setup_zstd.py b/setup_zstd.py
index 399b129..d940c80 100644
index 5aefdd0..3d8fe73 100644
--- a/setup_zstd.py
+++ b/setup_zstd.py
@@ -78,6 +78,7 @@ def get_c_extension(
@ -34,9 +34,9 @@ index 399b129..d940c80 100644
+ extra_args.append("-DSYSTEM_ZSTD")
else:
extra_args.append("-DZSTD_SINGLE_FILE")
extra_args.append("-DZSTDLIB_VISIBILITY=")
extra_args.append("-DZSTDLIB_VISIBLE=")
diff --git a/tests/test_module_attributes.py b/tests/test_module_attributes.py
index d487aa8..15cda73 100644
index a540bfe..a081b1a 100644
--- a/tests/test_module_attributes.py
+++ b/tests/test_module_attributes.py
@@ -26,7 +26,15 @@ class TestModuleAttributes(unittest.TestCase):

View File

@ -1,3 +1,13 @@
-------------------------------------------------------------------
Tue Feb 21 11:33:11 UTC 2023 - Martin Liška <mliska@suse.cz>
- 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.
-------------------------------------------------------------------
Fri Feb 17 12:46:17 UTC 2023 - Martin Liška <mliska@suse.cz>

View File

@ -18,7 +18,7 @@
%define skip_python2 1
Name: python-zstandard
Version: 0.19.0
Version: 0.20.0
Release: 0
Summary: Zstandard bindings for Python
License: BSD-3-Clause

View File

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

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

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