Skip to content

Commit

Permalink
global: change version to 0.15.2 and release
Browse files Browse the repository at this point in the history
The main reason for the release is to publish macOS M1 wheels.

There have been minimal changes since 0.15, so a minor version release
is appropriate.
  • Loading branch information
indygreg committed Feb 27, 2021
1 parent 477776e commit 1b841cf
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 8 deletions.
4 changes: 2 additions & 2 deletions c-ext/python-zstandard.h
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@
#include <zstd.h>
#endif

/* Remember to change the string in zstandard/__init__ as well */
#define PYTHON_ZSTANDARD_VERSION "0.16.0.dev0"
/* Remember to change the string in zstandard/__init__.py, rust-ext/src/lib.rs as well */
#define PYTHON_ZSTANDARD_VERSION "0.15.2"

typedef enum {
compressorobj_flush_finish,
Expand Down
12 changes: 10 additions & 2 deletions docs/news.rst
Original file line number Diff line number Diff line change
Expand Up @@ -74,8 +74,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.15.2 (released 2021-02-27)
============================

Backwards Compatibility Notes
-----------------------------
Expand All @@ -94,6 +94,14 @@ Changes
to use when compiling the C backend.
* PyPy build and test coverage has been added to CI.
* Added CI jobs for building against external zstd library.
* Wheels supporting macOS ARM/M1 devices are now being produced.
* References to Python 2 have been removed from the in-repo Debian packaging
code.
* Significant work has been made on a Rust backend. It is currently feature
complete but not yet optimized. We are not yet shipping the backend as part
of the distributed wheels until it is more mature.
* The ``.pyi`` type annotations file has replaced various default argument
values with ``...``.

0.15.1 (released 2020-12-31)
============================
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.15.2";

#[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, 4, 8))

self.assertEqual(zstd.__version__, "0.16.0.dev0")
self.assertEqual(zstd.__version__, "0.15.2")

def test_features(self):
self.assertIsInstance(zstd.backend_features, set)
Expand Down
4 changes: 2 additions & 2 deletions zstandard/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,8 +79,8 @@
"cext, or cffi" % _module_policy
)

# Keep this in sync with python-zstandard.h.
__version__ = "0.16.0.dev0"
# Keep this in sync with python-zstandard.h, rust-ext/src/lib.rs.
__version__ = "0.15.2"

_MODE_CLOSED = 0
_MODE_READ = 1
Expand Down

0 comments on commit 1b841cf

Please sign in to comment.