From ba50cee906ea747f8d60f55b00e18a082de359a9 Mon Sep 17 00:00:00 2001 From: Gregory Szorc Date: Sat, 16 Oct 2021 13:19:50 -0700 Subject: [PATCH] global: update version to 0.16.0 and release It's been a while and we should get a release out. --- c-ext/python-zstandard.h | 2 +- docs/news.rst | 4 ++-- rust-ext/src/lib.rs | 2 +- tests/test_module_attributes.py | 2 +- zstandard/__init__.py | 2 +- 5 files changed, 6 insertions(+), 6 deletions(-) diff --git a/c-ext/python-zstandard.h b/c-ext/python-zstandard.h index 9a4e5bba..9032a722 100644 --- a/c-ext/python-zstandard.h +++ b/c-ext/python-zstandard.h @@ -30,7 +30,7 @@ #endif /* Remember to change the string in zstandard/__init__.py, rust-ext/src/lib.rs as well */ -#define PYTHON_ZSTANDARD_VERSION "0.16.0.dev0" +#define PYTHON_ZSTANDARD_VERSION "0.16.0" typedef enum { compressorobj_flush_finish, diff --git a/docs/news.rst b/docs/news.rst index 11246592..e6ead56d 100644 --- a/docs/news.rst +++ b/docs/news.rst @@ -79,8 +79,8 @@ Other Actions Not Blocking Release * API for ensuring max memory ceiling isn't exceeded. * Move off nose for testing. -0.16.0 (not yet released) -========================= +0.16.0 (released 2021-10-16) +============================ Backwards Compatibility Notes ----------------------------- diff --git a/rust-ext/src/lib.rs b/rust-ext/src/lib.rs index 20654d53..11aa84eb 100644 --- a/rust-ext/src/lib.rs +++ b/rust-ext/src/lib.rs @@ -32,7 +32,7 @@ mod zstd_safe; use exceptions::ZstdError; -const VERSION: &'static str = "0.16.0.dev0"; +const VERSION: &'static str = "0.16.0"; #[pymodule] fn backend_rust(py: Python, module: &PyModule) -> PyResult<()> { diff --git a/tests/test_module_attributes.py b/tests/test_module_attributes.py index 33e74819..e8eb148f 100644 --- a/tests/test_module_attributes.py +++ b/tests/test_module_attributes.py @@ -7,7 +7,7 @@ class TestModuleAttributes(unittest.TestCase): def test_version(self): self.assertEqual(zstd.ZSTD_VERSION, (1, 5, 0)) - self.assertEqual(zstd.__version__, "0.16.0.dev0") + self.assertEqual(zstd.__version__, "0.16.0") def test_features(self): self.assertIsInstance(zstd.backend_features, set) diff --git a/zstandard/__init__.py b/zstandard/__init__.py index 39b7ffa7..de418983 100644 --- a/zstandard/__init__.py +++ b/zstandard/__init__.py @@ -80,7 +80,7 @@ ) # Keep this in sync with python-zstandard.h, rust-ext/src/lib.rs. -__version__ = "0.16.0.dev0" +__version__ = "0.16.0" _MODE_CLOSED = 0 _MODE_READ = 1