Skip to content

Commit

Permalink
python3Packages.pastescript: remove nose dependency
Browse files Browse the repository at this point in the history
Addresses NixOS#326513.

Dependency nose was removed in version 3.3.0 (2023-01-03).
Replaced `format` parameter with `pyproject = true` and `build-system`
set to `setuptools`
  • Loading branch information
lavafroth committed Jul 15, 2024
1 parent 5f736f2 commit e426922
Showing 1 changed file with 5 additions and 7 deletions.
12 changes: 5 additions & 7 deletions pkgs/development/python-modules/pastescript/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2,19 +2,18 @@
lib,
buildPythonPackage,
fetchPypi,
nose,
python,
pytestCheckHook,
six,
paste,
setuptools,
pastedeploy,
pythonOlder,
}:

buildPythonPackage rec {
pname = "pastescript";
version = "3.6.0";
format = "setuptools";
pyproject = true;

disabled = pythonOlder "3.7";

Expand All @@ -24,6 +23,8 @@ buildPythonPackage rec {
hash = "sha256-HCLSt81TUWRr7tKMb3DrSipLklZR2a/Ko1AdBsq7UXE=";
};

build-system = [ setuptools ];

propagatedBuildInputs = [
paste
pastedeploy
Expand All @@ -33,10 +34,7 @@ buildPythonPackage rec {
# test suite seems to unset PYTHONPATH
doCheck = false;

nativeCheckInputs = [
nose
pytestCheckHook
];
nativeCheckInputs = [ pytestCheckHook ];

disabledTestPaths = [ "appsetup/testfiles" ];

Expand Down

0 comments on commit e426922

Please sign in to comment.