14
0

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:
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):