From 7e8726472d00b32c9682f0bbd31ea5c4166f13c4 Mon Sep 17 00:00:00 2001 From: Anthony ROUSSEL Date: Sun, 25 Aug 2024 12:40:21 +0200 Subject: [PATCH] python311Packages.oslo-concurrency: 6.0.0 -> 6.1.0 https://github.com/openstack/oslo.concurrency/compare/6.0.0...6.1.0 --- .../oslo-concurrency/default.nix | 19 +++++++++++-------- 1 file changed, 11 insertions(+), 8 deletions(-) diff --git a/pkgs/development/python-modules/oslo-concurrency/default.nix b/pkgs/development/python-modules/oslo-concurrency/default.nix index 5aa9bc1a58b7..903a24d3306c 100644 --- a/pkgs/development/python-modules/oslo-concurrency/default.nix +++ b/pkgs/development/python-modules/oslo-concurrency/default.nix @@ -13,18 +13,19 @@ oslo-utils, oslotest, pbr, + setuptools, stestr, }: buildPythonPackage rec { pname = "oslo-concurrency"; - version = "6.0.0"; - format = "setuptools"; + version = "6.1.0"; + pyproject = true; src = fetchPypi { pname = "oslo.concurrency"; inherit version; - hash = "sha256-tS8CtORvXydLkfuOG/xcv5pBjfzUqDvggDRUlePSboo="; + hash = "sha256-tWSuCvLuV3DztuYw3yakuGdsf+Qih/GIPiWaUard8Jc="; }; postPatch = '' @@ -33,13 +34,15 @@ buildPythonPackage rec { rm test-requirements.txt substituteInPlace oslo_concurrency/tests/unit/test_processutils.py \ - --replace "/bin/bash" "${bash}/bin/bash" \ - --replace "/bin/true" "${coreutils}/bin/true" \ - --replace "/usr/bin/env" "${coreutils}/bin/env" \ - --replace "/usr/bin/true" "${coreutils}/bin/true" + --replace-fail "/bin/bash" "${bash}/bin/bash" \ + --replace-fail "/usr/bin/true" "${coreutils}/bin/true" \ + --replace-fail "/bin/true" "${coreutils}/bin/true" \ + --replace-fail "/usr/bin/env" "${coreutils}/bin/env" ''; - propagatedBuildInputs = [ + build-system = [ setuptools ]; + + dependencies = [ fasteners oslo-config oslo-utils