Loading pkgs/development/python-modules/hacking/default.nix +16 −14 Original line number Diff line number Diff line { lib, buildPythonPackage, ddt, fetchPypi, pbr, flake8, pbr, pythonOlder, setuptools, stestr, ddt, testscenarios, }: buildPythonPackage rec { pname = "hacking"; version = "6.1.0"; format = "setuptools"; version = "7.0.0"; pyproject = true; disabled = pythonOlder "3.8"; src = fetchPypi { inherit pname version; hash = "sha256-3lBqMSQDThi046acld5JjDRgvLxJwWQ9MXjRW8barBQ="; hash = "sha256-ubbC5SgPfVT6gsWP4JmD9oxbb2NKw/ozn4uhalcVyrc="; }; postPatch = '' sed -i 's/flake8.*/flake8/' requirements.txt substituteInPlace hacking/checks/python23.py \ --replace 'H236: class Foo(object):\n __metaclass__ = \' 'Okay: class Foo(object):\n __metaclass__ = \' substituteInPlace hacking/checks/except_checks.py \ --replace 'H201: except:' 'Okay: except:' ''; nativeBuildInputs = [ pbr ]; build-system = [ pbr setuptools ]; propagatedBuildInputs = [ flake8 ]; dependencies = [ flake8 ]; nativeCheckInputs = [ ddt Loading @@ -38,10 +41,9 @@ buildPythonPackage rec { ]; checkPhase = '' # tries to trigger flake8 and fails rm hacking/tests/test_doctest.py runHook preCheck stestr run runHook postCheck ''; pythonImportsCheck = [ "hacking" ]; Loading pkgs/development/python-modules/keystoneauth1/default.nix +2 −2 Original line number Diff line number Diff line Loading @@ -26,12 +26,12 @@ buildPythonPackage rec { pname = "keystoneauth1"; version = "5.7.0"; version = "5.8.0"; pyproject = true; src = fetchPypi { inherit pname version; hash = "sha256-sswtaNGkjpwsbZsbH9ANfHvf4IboBAtR5wk4qLo639E="; hash = "sha256-MVfCEuEhFk3mTWPl734dqtK9NkmmjeHpcbdodwGe8cQ="; }; postPatch = '' Loading pkgs/development/python-modules/oslo-concurrency/default.nix +11 −8 Original line number Diff line number Diff line Loading @@ -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 = '' Loading @@ -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 Loading pkgs/development/python-modules/oslo-context/default.nix +9 −3 Original line number Diff line number Diff line Loading @@ -6,15 +6,17 @@ oslotest, stestr, pbr, setuptools, }: buildPythonPackage rec { pname = "oslo.context"; version = "5.5.0"; version = "5.6.0"; pyproject = true; src = fetchPypi { inherit pname version; hash = "sha256-6uAxeymSjxk030xguGD+hiUkfLKXxcxi/vjrWCexL6w="; hash = "sha256-UiLDJja+BwojDfnTFBoLJ6lfCjtpePTBSFvK2kekw8s="; }; postPatch = '' Loading @@ -23,7 +25,9 @@ buildPythonPackage rec { rm test-requirements.txt ''; propagatedBuildInputs = [ build-system = [ setuptools ]; dependencies = [ debtcollector pbr ]; Loading @@ -34,7 +38,9 @@ buildPythonPackage rec { ]; checkPhase = '' runHook preCheck stestr run runHook postCheck ''; pythonImportsCheck = [ "oslo_context" ]; Loading pkgs/development/python-modules/oslo-i18n/default.nix +3 −3 Original line number Diff line number Diff line Loading @@ -11,13 +11,13 @@ buildPythonPackage rec { pname = "oslo-i18n"; version = "6.3.0"; version = "6.4.0"; pyproject = true; src = fetchPypi { pname = "oslo.i18n"; inherit version; hash = "sha256-ZKJR7e+L8bsdTm9403fhSdTxXBqSRd538XIBbaYmdEQ="; hash = "sha256-ZuBMBB6f8X0H4T7H9IKV+8NhaRQ8csojUqPvzJjntgg="; }; postPatch = '' Loading @@ -26,7 +26,7 @@ buildPythonPackage rec { rm test-requirements.txt ''; nativeBuildInputs = [ build-system = [ pbr setuptools ]; Loading Loading
pkgs/development/python-modules/hacking/default.nix +16 −14 Original line number Diff line number Diff line { lib, buildPythonPackage, ddt, fetchPypi, pbr, flake8, pbr, pythonOlder, setuptools, stestr, ddt, testscenarios, }: buildPythonPackage rec { pname = "hacking"; version = "6.1.0"; format = "setuptools"; version = "7.0.0"; pyproject = true; disabled = pythonOlder "3.8"; src = fetchPypi { inherit pname version; hash = "sha256-3lBqMSQDThi046acld5JjDRgvLxJwWQ9MXjRW8barBQ="; hash = "sha256-ubbC5SgPfVT6gsWP4JmD9oxbb2NKw/ozn4uhalcVyrc="; }; postPatch = '' sed -i 's/flake8.*/flake8/' requirements.txt substituteInPlace hacking/checks/python23.py \ --replace 'H236: class Foo(object):\n __metaclass__ = \' 'Okay: class Foo(object):\n __metaclass__ = \' substituteInPlace hacking/checks/except_checks.py \ --replace 'H201: except:' 'Okay: except:' ''; nativeBuildInputs = [ pbr ]; build-system = [ pbr setuptools ]; propagatedBuildInputs = [ flake8 ]; dependencies = [ flake8 ]; nativeCheckInputs = [ ddt Loading @@ -38,10 +41,9 @@ buildPythonPackage rec { ]; checkPhase = '' # tries to trigger flake8 and fails rm hacking/tests/test_doctest.py runHook preCheck stestr run runHook postCheck ''; pythonImportsCheck = [ "hacking" ]; Loading
pkgs/development/python-modules/keystoneauth1/default.nix +2 −2 Original line number Diff line number Diff line Loading @@ -26,12 +26,12 @@ buildPythonPackage rec { pname = "keystoneauth1"; version = "5.7.0"; version = "5.8.0"; pyproject = true; src = fetchPypi { inherit pname version; hash = "sha256-sswtaNGkjpwsbZsbH9ANfHvf4IboBAtR5wk4qLo639E="; hash = "sha256-MVfCEuEhFk3mTWPl734dqtK9NkmmjeHpcbdodwGe8cQ="; }; postPatch = '' Loading
pkgs/development/python-modules/oslo-concurrency/default.nix +11 −8 Original line number Diff line number Diff line Loading @@ -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 = '' Loading @@ -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 Loading
pkgs/development/python-modules/oslo-context/default.nix +9 −3 Original line number Diff line number Diff line Loading @@ -6,15 +6,17 @@ oslotest, stestr, pbr, setuptools, }: buildPythonPackage rec { pname = "oslo.context"; version = "5.5.0"; version = "5.6.0"; pyproject = true; src = fetchPypi { inherit pname version; hash = "sha256-6uAxeymSjxk030xguGD+hiUkfLKXxcxi/vjrWCexL6w="; hash = "sha256-UiLDJja+BwojDfnTFBoLJ6lfCjtpePTBSFvK2kekw8s="; }; postPatch = '' Loading @@ -23,7 +25,9 @@ buildPythonPackage rec { rm test-requirements.txt ''; propagatedBuildInputs = [ build-system = [ setuptools ]; dependencies = [ debtcollector pbr ]; Loading @@ -34,7 +38,9 @@ buildPythonPackage rec { ]; checkPhase = '' runHook preCheck stestr run runHook postCheck ''; pythonImportsCheck = [ "oslo_context" ]; Loading
pkgs/development/python-modules/oslo-i18n/default.nix +3 −3 Original line number Diff line number Diff line Loading @@ -11,13 +11,13 @@ buildPythonPackage rec { pname = "oslo-i18n"; version = "6.3.0"; version = "6.4.0"; pyproject = true; src = fetchPypi { pname = "oslo.i18n"; inherit version; hash = "sha256-ZKJR7e+L8bsdTm9403fhSdTxXBqSRd538XIBbaYmdEQ="; hash = "sha256-ZuBMBB6f8X0H4T7H9IKV+8NhaRQ8csojUqPvzJjntgg="; }; postPatch = '' Loading @@ -26,7 +26,7 @@ buildPythonPackage rec { rm test-requirements.txt ''; nativeBuildInputs = [ build-system = [ pbr setuptools ]; Loading