diff --git a/Cargo.toml b/Cargo.toml index ad12b3e0..2a6a5cc7 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "python-zstandard" -version = "0.20.0-pre" +version = "0.20.0" authors = ["Gregory Szorc "] edition = "2021" license = "BSD-3-Clause" diff --git a/c-ext/python-zstandard.h b/c-ext/python-zstandard.h index 76693be9..c2e0efa8 100644 --- a/c-ext/python-zstandard.h +++ b/c-ext/python-zstandard.h @@ -31,7 +31,7 @@ /* Remember to change the string in zstandard/__init__.py, rust-ext/src/lib.rs, and debian/changelog as well */ -#define PYTHON_ZSTANDARD_VERSION "0.20.0.dev0" +#define PYTHON_ZSTANDARD_VERSION "0.20.0" typedef enum { compressorobj_flush_finish, diff --git a/debian/changelog b/debian/changelog index 8f12dc95..d533fd24 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,8 +1,8 @@ -python-zstandard (0.20.0~dev0-1) unstable; urgency=low +python-zstandard (0.20.0) unstable; urgency=low * New version. - -- Gregory Szorc Tue, 21 Jun 2022 18:05:00 -0700 + -- Gregory Szorc Mon, 20 Feb 2023 13:00:00 -0700 python-zstandard (0.19.0) unstable; urgency=low diff --git a/docs/news.rst b/docs/news.rst index 8726aafa..44a9e9d4 100644 --- a/docs/news.rst +++ b/docs/news.rst @@ -45,8 +45,8 @@ Other Actions Not Blocking Release * API for ensuring max memory ceiling isn't exceeded. * Move off nose for testing. -0.20.0 (not yet released) -========================= +0.20.0 (released 2023-02-20) +============================ Backwards Compatibility Notes ----------------------------- diff --git a/rust-ext/src/lib.rs b/rust-ext/src/lib.rs index 5b41816d..d2d6ba33 100644 --- a/rust-ext/src/lib.rs +++ b/rust-ext/src/lib.rs @@ -32,7 +32,7 @@ use exceptions::ZstdError; // Remember to change the string in c-ext/python-zstandard.h, zstandard/__init__.py, // and debian/changelog as well. -const VERSION: &'static str = "0.20.0.dev0"; +const VERSION: &'static str = "0.20.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 7da7020c..a540bfe0 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, 4)) - self.assertEqual(zstd.__version__, "0.20.0.dev0") + self.assertEqual(zstd.__version__, "0.20.0") def test_features(self): self.assertIsInstance(zstd.backend_features, set) diff --git a/zstandard/__init__.py b/zstandard/__init__.py index e40c2307..7fe82db0 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, and debian/changelog. -__version__ = "0.20.0.dev0" +__version__ = "0.20.0" _MODE_CLOSED = 0 _MODE_READ = 1