From 8f00d7a025b4d2b8c93127ccdb508dac7e7ec25e Mon Sep 17 00:00:00 2001 From: Benjamin Sparks Date: Fri, 6 Feb 2026 01:54:19 +0100 Subject: [PATCH] python3Packages.cryptography-vectors: tweak uv-build version constraint Extend constraint to <0.11.0 now (up from <0.10.0) --- .../python-modules/cryptography/vectors.nix | 14 ++++---------- 1 file changed, 4 insertions(+), 10 deletions(-) diff --git a/pkgs/development/python-modules/cryptography/vectors.nix b/pkgs/development/python-modules/cryptography/vectors.nix index 832c4ce358a8..705466ed4d33 100644 --- a/pkgs/development/python-modules/cryptography/vectors.nix +++ b/pkgs/development/python-modules/cryptography/vectors.nix @@ -14,16 +14,10 @@ buildPythonPackage rec { sourceRoot = "${src.name}/vectors"; - patches = [ - # https://github.com/NixOS/nixpkgs/pull/449568 - (fetchpatch2 { - name = "uv-build.patch"; - url = "https://github.com/pyca/cryptography/commit/5f311c1cbe09ddea6136b0bb737fb7df6df1b923.patch?full_index=1"; - stripLen = 1; - includes = [ "pyproject.toml" ]; - hash = "sha256-OdHK0OGrvOi3mS0q+v8keDLvKxtgQkDkHQSYnmC/vd4="; - }) - ]; + 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 ];