Skip to content

Commit 1b841cf

Browse files
committed
global: change version to 0.15.2 and release
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.
1 parent 477776e commit 1b841cf

File tree

5 files changed

+16
-8
lines changed

5 files changed

+16
-8
lines changed

c-ext/python-zstandard.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,8 @@
2929
#include <zstd.h>
3030
#endif
3131

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

3535
typedef enum {
3636
compressorobj_flush_finish,

docs/news.rst

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,8 +74,8 @@ Other Actions Not Blocking Release
7474
* API for ensuring max memory ceiling isn't exceeded.
7575
* Move off nose for testing.
7676

77-
0.16.0 (not yet released)
78-
=========================
77+
0.15.2 (released 2021-02-27)
78+
============================
7979

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

98106
0.15.1 (released 2020-12-31)
99107
============================

rust-ext/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ mod zstd_safe;
3232

3333
use exceptions::ZstdError;
3434

35-
const VERSION: &'static str = "0.16.0.dev0";
35+
const VERSION: &'static str = "0.15.2";
3636

3737
#[pymodule]
3838
fn backend_rust(py: Python, module: &PyModule) -> PyResult<()> {

tests/test_module_attributes.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ class TestModuleAttributes(unittest.TestCase):
77
def test_version(self):
88
self.assertEqual(zstd.ZSTD_VERSION, (1, 4, 8))
99

10-
self.assertEqual(zstd.__version__, "0.16.0.dev0")
10+
self.assertEqual(zstd.__version__, "0.15.2")
1111

1212
def test_features(self):
1313
self.assertIsInstance(zstd.backend_features, set)

zstandard/__init__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,8 +79,8 @@
7979
"cext, or cffi" % _module_policy
8080
)
8181

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

8585
_MODE_CLOSED = 0
8686
_MODE_READ = 1

0 commit comments

Comments
 (0)