From fad2a962a45b31cd5de6312714887cff58883cd2 Mon Sep 17 00:00:00 2001 From: Michael Daniels Date: Fri, 24 Apr 2026 18:40:51 -0400 Subject: [PATCH] python3Packages.cryptography: 46.0.6 -> 47.0.0 Changelog: https://cryptography.io/en/latest/changelog/#v47-0-0 --- pkgs/development/python-modules/cryptography/default.nix | 6 +++--- pkgs/development/python-modules/cryptography/vectors.nix | 5 ----- 2 files changed, 3 insertions(+), 8 deletions(-) diff --git a/pkgs/development/python-modules/cryptography/default.nix b/pkgs/development/python-modules/cryptography/default.nix index fac34f76475b..2d1c913d926b 100644 --- a/pkgs/development/python-modules/cryptography/default.nix +++ b/pkgs/development/python-modules/cryptography/default.nix @@ -21,19 +21,19 @@ buildPythonPackage rec { pname = "cryptography"; - version = "46.0.7"; + version = "47.0.0"; pyproject = true; src = fetchFromGitHub { owner = "pyca"; repo = "cryptography"; tag = version; - hash = "sha256-xMe+gQl4/CfoT+H21ltbo+aPILoRYCAlylsqnB7Ms8s="; + hash = "sha256-XmTsD5vVFi+q9gf5lMqro5OcWhgRX573cc4gUozA1Hs="; }; cargoDeps = rustPlatform.fetchCargoVendor { inherit pname version src; - hash = "sha256-5ElDEl7MdcQfu/hy+POSBcvkNCFAMo6La5s6uRhZ/fM="; + hash = "sha256-RpNSJ4WKnKtqzR1qs223DAM4i0etb4ddL1lZ+PeduVU="; }; postPatch = '' diff --git a/pkgs/development/python-modules/cryptography/vectors.nix b/pkgs/development/python-modules/cryptography/vectors.nix index 0e7e5672d812..42ae35c663dc 100644 --- a/pkgs/development/python-modules/cryptography/vectors.nix +++ b/pkgs/development/python-modules/cryptography/vectors.nix @@ -13,11 +13,6 @@ buildPythonPackage rec { sourceRoot = "${src.name}/vectors"; - postPatch = '' - substituteInPlace pyproject.toml \ - --replace-fail "uv_build>=0.7.19,<0.9.0" "uv_build>=0.7.19,<0.11.0" - ''; - build-system = [ uv-build ]; # No tests included