Skip to content

Commit

Permalink
global: reflect upgrade to zstd 1.5.6
Browse files Browse the repository at this point in the history
  • Loading branch information
indygreg committed May 27, 2024
1 parent 244412f commit 518ade4
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 10 deletions.
10 changes: 4 additions & 6 deletions Cargo.lock

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

4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,11 @@ num_cpus = "1.16.0"
rayon = "1.10.0"

[dependencies.zstd-safe]
version = "6.0.5+zstd.1.5.4"
version = "7.1.0"
features = ["experimental", "legacy", "zstdmt"]

[dependencies.zstd-sys]
version = "2.0.8+zstd.1.5.5"
version = "2.0.10+zstd.1.5.6"
features = ["experimental", "legacy", "zstdmt"]

[dependencies.pyo3]
Expand Down
2 changes: 1 addition & 1 deletion c-ext/backend_c.c
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ void zstd_module_init(PyObject *m) {
PyObject *features = NULL;
PyObject *feature = NULL;
unsigned zstd_ver_no = ZSTD_versionNumber();
unsigned our_hardcoded_version = 10505;
unsigned our_hardcoded_version = 10506;
if (ZSTD_VERSION_NUMBER != our_hardcoded_version ||
zstd_ver_no != our_hardcoded_version) {
PyErr_Format(
Expand Down
1 change: 1 addition & 0 deletions docs/news.rst
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ Other Actions Not Blocking Release
Changes
-------

* Bundled zstd library upgraded from 1.5.5 to 1.5.6.
* PyO3 Rust crate upgraded from 0.18 to 0.21.
* Semi official support for CPython 3.13. Binary wheels for 3.13 are now published
during releases. There were no meaningful code changes to support Python 3.12.
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 @@ -5,7 +5,7 @@

class TestModuleAttributes(unittest.TestCase):
def test_version(self):
self.assertEqual(zstd.ZSTD_VERSION, (1, 5, 5))
self.assertEqual(zstd.ZSTD_VERSION, (1, 5, 6))

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

Expand Down

0 comments on commit 518ade4

Please sign in to comment.