Commit 8f00d7a0 authored by Benjamin Sparks's avatar Benjamin Sparks
Browse files

python3Packages.cryptography-vectors: tweak uv-build version constraint

Extend constraint to <0.11.0 now (up from <0.10.0)
parent 985fa959
Loading
Loading
Loading
Loading
+4 −10
Original line number Diff line number Diff line
@@ -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 ];