Skip to content

Commit

Permalink
global: update version to 0.20.0
Browse files Browse the repository at this point in the history
Let's do a release to ship the zstd 1.5.2 -> 1.5.4 upgrade.
  • Loading branch information
indygreg committed Feb 20, 2023
1 parent 132b600 commit c5833ac
Show file tree
Hide file tree
Showing 7 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "python-zstandard"
version = "0.20.0-pre"
version = "0.20.0"
authors = ["Gregory Szorc <gregory.szorc@gmail.com>"]
edition = "2021"
license = "BSD-3-Clause"
Expand Down
2 changes: 1 addition & 1 deletion c-ext/python-zstandard.h
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
4 changes: 2 additions & 2 deletions debian/changelog
Original file line number Diff line number Diff line change
@@ -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 <gregory.szorc@gmail.com> Tue, 21 Jun 2022 18:05:00 -0700
-- Gregory Szorc <gregory.szorc@gmail.com> Mon, 20 Feb 2023 13:00:00 -0700

python-zstandard (0.19.0) unstable; urgency=low

Expand Down
4 changes: 2 additions & 2 deletions docs/news.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
-----------------------------
Expand Down
2 changes: 1 addition & 1 deletion rust-ext/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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<()> {
Expand Down
2 changes: 1 addition & 1 deletion tests/test_module_attributes.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
2 changes: 1 addition & 1 deletion zstandard/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit c5833ac

Please sign in to comment.