From 60a5dfd9529b764daec4769757ef9b11c1616aa7 Mon Sep 17 00:00:00 2001 From: Matt Sturgeon Date: Tue, 7 Oct 2025 17:14:05 +0100 Subject: [PATCH] =?UTF-8?q?python3Packages.pystd:=200.17.0=20=E2=86=92=200?= =?UTF-8?q?.18.0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Changelog: - Support for Python 3.14 - Deprecate the `read_size` and `write_size` parameters of `ZstdFile` and `SeekableZstdFile` - Deprecate `richmem_compress` and `RichMemZstdCompressor` - Rework documentation to suggest using `compression.zstd` from Python stdlib, and provide a migration guide - Include the `zstd` library license in package distributions https://github.com/Rogdham/pyzstd/blob/0.18.0/CHANGELOG.md --- pkgs/development/python-modules/pyzstd/default.nix | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/pyzstd/default.nix b/pkgs/development/python-modules/pyzstd/default.nix index fac7f269a108..6f5393fa7a7b 100644 --- a/pkgs/development/python-modules/pyzstd/default.nix +++ b/pkgs/development/python-modules/pyzstd/default.nix @@ -11,14 +11,14 @@ buildPythonPackage rec { pname = "pyzstd"; - version = "0.17.0"; + version = "0.18.0"; pyproject = true; src = fetchFromGitHub { owner = "Rogdham"; repo = "pyzstd"; tag = version; - hash = "sha256-PICYdB/xu/q2wjbkF2nziZt8z8PmzJ5eM+Yq0rpLfEU="; + hash = "sha256-15+GqJ/AMYs1R9ywo+muNVVbPkkzTMj//Zn/PPI+MCI="; }; postPatch = '' @@ -26,6 +26,9 @@ buildPythonPackage rec { # required for Python 3.9 under Windows substituteInPlace pyproject.toml \ --replace-fail '"setuptools>=64,<74"' '"setuptools"' + + # pyzst needs a copy of upstream zstd's license + ln -s ${zstd-c.src}/LICENSE zstd ''; nativeBuildInputs = [