From fdf62093b4dec4102ef193c5fb08b8dd25e721a4 Mon Sep 17 00:00:00 2001 From: Jeremy Cline Date: Tue, 30 Jul 2024 11:15:34 -0400 Subject: [PATCH] Flip off lock = true maturin config Upstream switched to maturin in v43[0]. Since we fiddle with the lockfile maturin wants to update it since upstream configures `lock = true`. Turn that off. This fixes the v43 build in rawhide. [0] https://github.com/pyca/cryptography/pull/8815 [skip changelog] --- python-cryptography.spec | 1 + 1 file changed, 1 insertion(+) diff --git a/python-cryptography.spec b/python-cryptography.spec index e7a1b1c..d83d2b1 100644 --- a/python-cryptography.spec +++ b/python-cryptography.spec @@ -72,6 +72,7 @@ recipes to Python developers. %autosetup -p1 -n %{srcname}-%{version} %if 0%{?fedora} %cargo_prep +sed -i 's/locked = true//g' pyproject.toml rm src/rust/Cargo.lock %else # RHEL: use vendored Rust crates