From c28ce8b1800055aed069a278716e153bca02f8ff Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sandro=20J=C3=A4ckel?= Date: Tue, 23 Jan 2024 10:43:04 +0100 Subject: [PATCH 1/2] python311Packages.oslo-db: cleanup dependencies --- .../python-modules/oslo-db/default.nix | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) diff --git a/pkgs/development/python-modules/oslo-db/default.nix b/pkgs/development/python-modules/oslo-db/default.nix index 708bbd62c36f..0e7a5abedda5 100644 --- a/pkgs/development/python-modules/oslo-db/default.nix +++ b/pkgs/development/python-modules/oslo-db/default.nix @@ -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 = '' From 4c321ff85580b80bab0b18568442799ee33fab12 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sandro=20J=C3=A4ckel?= Date: Sun, 10 Sep 2023 13:43:26 +0200 Subject: [PATCH 2/2] python310Packages.subunit2sql: fix missing libararies, mark broken --- pkgs/development/python-modules/subunit2sql/default.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/pkgs/development/python-modules/subunit2sql/default.nix b/pkgs/development/python-modules/subunit2sql/default.nix index d52180a3d0c4..7955ed3d8d89 100644 --- a/pkgs/development/python-modules/subunit2sql/default.nix +++ b/pkgs/development/python-modules/subunit2sql/default.nix @@ -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; }; }