Skip to content

Commit

Permalink
global: release 0.22.0
Browse files Browse the repository at this point in the history
Mainly to publish Python 3.12 wheels.
  • Loading branch information
indygreg committed Nov 1, 2023
1 parent 9a38896 commit 255b579
Show file tree
Hide file tree
Showing 8 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "python-zstandard"
version = "0.22.0-pre"
version = "0.22.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
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.22.0.dev0"
#define PYTHON_ZSTANDARD_VERSION "0.22.0"

typedef enum {
compressorobj_flush_finish,
Expand Down
2 changes: 1 addition & 1 deletion debian/changelog
@@ -1,4 +1,4 @@
python-zstandard (0.22.0~dev0-1) unstable; urgency=low
python-zstandard (0.22.0) unstable; urgency=low

* New version.

Expand Down
4 changes: 2 additions & 2 deletions docs/news.rst
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.22.0 (not yet released)
=========================
0.22.0 (released 2023-11-01)
============================

Backwards Compatibility Notes
-----------------------------
Expand Down
2 changes: 1 addition & 1 deletion rust-ext/src/lib.rs
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.22.0.dev0";
const VERSION: &'static str = "0.22.0";

#[pymodule]
fn backend_rust(py: Python, module: &PyModule) -> PyResult<()> {
Expand Down
2 changes: 1 addition & 1 deletion tests/test_module_attributes.py
Expand Up @@ -7,7 +7,7 @@ class TestModuleAttributes(unittest.TestCase):
def test_version(self):
self.assertEqual(zstd.ZSTD_VERSION, (1, 5, 5))

self.assertEqual(zstd.__version__, "0.22.0.dev0")
self.assertEqual(zstd.__version__, "0.22.0")

def test_features(self):
self.assertIsInstance(zstd.backend_features, set)
Expand Down
2 changes: 1 addition & 1 deletion zstandard/__init__.py
Expand Up @@ -80,7 +80,7 @@
)

# Keep this in sync with python-zstandard.h, rust-ext/src/lib.rs, and debian/changelog.
__version__ = "0.22.0.dev0"
__version__ = "0.22.0"

_MODE_CLOSED = 0
_MODE_READ = 1
Expand Down

0 comments on commit 255b579

Please sign in to comment.