diff --git a/feature-detection.patch b/feature-detection.patch index 6c54050..286403f 100644 --- a/feature-detection.patch +++ b/feature-detection.patch @@ -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): diff --git a/python-zstandard.changes b/python-zstandard.changes index d571e24..8b82452 100644 --- a/python-zstandard.changes +++ b/python-zstandard.changes @@ -1,3 +1,13 @@ +------------------------------------------------------------------- +Tue Feb 21 11:33:11 UTC 2023 - Martin Liška + +- 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 diff --git a/python-zstandard.spec b/python-zstandard.spec index 0bbf71c..2583643 100644 --- a/python-zstandard.spec +++ b/python-zstandard.spec @@ -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 diff --git a/zstandard-0.19.0.tar.gz b/zstandard-0.19.0.tar.gz deleted file mode 100644 index b6a6465..0000000 --- a/zstandard-0.19.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:31d12fcd942dd8dbf52ca5f6b1bbe287f44e5d551a081a983ff3ea2082867863 -size 633245 diff --git a/zstandard-0.20.0.tar.gz b/zstandard-0.20.0.tar.gz new file mode 100644 index 0000000..097b26f --- /dev/null +++ b/zstandard-0.20.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:613daadd72c71b1488742cafb2c3b381c39d0c9bb8c6cc157aa2d5ea45cc2efc +size 658909