Skip to content

Commit

Permalink
global: update version to 0.16.0 and release
Browse files Browse the repository at this point in the history
It's been a while and we should get a release out.
  • Loading branch information
indygreg committed Oct 16, 2021
1 parent f0c6f93 commit ba50cee
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion c-ext/python-zstandard.h
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
4 changes: 2 additions & 2 deletions docs/news.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
-----------------------------
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 @@ 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<()> {
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, 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)
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.
__version__ = "0.16.0.dev0"
__version__ = "0.16.0"

_MODE_CLOSED = 0
_MODE_READ = 1
Expand Down

0 comments on commit ba50cee

Please sign in to comment.