python311Packages.oslo-concurrency: 6.0.0 -> 6.1.0

https://github.com/openstack/oslo.concurrency/compare/6.0.0...6.1.0
This commit is contained in:
Anthony ROUSSEL
2024-08-26 19:41:00 +02:00
parent 234e598301
commit 7e8726472d
@@ -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