Merge pull request #283170 from SuperSandro2000/oslo-db

This commit is contained in:
Sandro 2024-01-24 14:50:23 +01:00 committed by GitHub
commit 911ea95326
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 17 additions and 5 deletions

View File

@ -2,14 +2,17 @@
, buildPythonPackage
, fetchPypi
, alembic
, debtcollector
, oslo-config
, oslo-context
, oslo-i18n
, oslo-utils
, oslotest
, pbr
, psycopg2
, setuptools
, sqlalchemy
, sqlalchemy-migrate
, stevedore
, stestr
, testresources
, testscenarios
@ -33,18 +36,21 @@ buildPythonPackage rec {
propagatedBuildInputs = [
alembic
debtcollector
oslo-config
oslo-context
oslo-i18n
oslo-utils
sqlalchemy
sqlalchemy-migrate
testresources
testscenarios
stevedore
];
nativeCheckInputs = [
oslo-context
oslotest
stestr
psycopg2
testresources
testscenarios
];
checkPhase = ''

View File

@ -7,6 +7,8 @@
, pbr
, python-dateutil
, stestr
, testresources
, testscenarios
}:
buildPythonPackage rec {
@ -29,6 +31,8 @@ buildPythonPackage rec {
mock
oslo-concurrency
stestr
testresources
testscenarios
];
checkPhase = ''
@ -52,5 +56,7 @@ buildPythonPackage rec {
homepage = "https://opendev.org/opendev/subunit2sql";
license = licenses.asl20;
maintainers = teams.openstack.members;
# version 1.10.0 is incomptaible with oslo-db 14.0.0
broken = true;
};
}