Merge pull request #284640 from mweinelt/nose2-0.14.1

python311Packages.nose2: 0.14.0 -> 0.14.1
This commit is contained in:
Martin Weinelt 2024-01-29 02:50:15 +01:00 committed by GitHub
commit a7f1a3fd48
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 12 additions and 8 deletions

View File

@ -15,14 +15,14 @@
buildPythonPackage rec {
pname = "nose2";
version = "0.14.0";
version = "0.14.1";
pyproject = true;
disabled = pythonOlder "3.8";
src = fetchPypi {
inherit pname version;
hash = "sha256-XCjXcKC5pwKGK9bDdVuizS95lN1RjJguXOKY1/N0ZqQ=";
hash = "sha256-f48Dohyd4sMwFZM6/O9yv45KLV3+w7QAkih95uQbCTo=";
};
nativeBuildInputs = [
@ -45,13 +45,8 @@ buildPythonPackage rec {
unittestCheckHook
] ++ lib.flatten (lib.attrValues passthru.optional-dependencies);
preCheck = ''
# https://github.com/nose-devs/nose2/issues/588
substituteInPlace nose2/tests/functional/test_junitxml_plugin.py \
--replace "test_skip_reason_in_message" "dont_test_skip_reason_in_message"
'';
meta = with lib; {
changelog = "https://github.com/nose-devs/nose2/blob/${version}/docs/changelog.rst";
description = "Test runner for Python";
homepage = "https://github.com/nose-devs/nose2";
license = licenses.bsd0;

View File

@ -4,6 +4,7 @@
, click
, ordered-set
, pythonOlder
, pythonRelaxDepsHook
, pillow
, sortedcollections
, setuptools_dso
@ -21,6 +22,14 @@ buildPythonPackage rec {
hash = "sha256-uW1g3nlT6Y+1beifo/MOlGxsGL7on/jcAROxSddySHk=";
};
nativeBuildInputs = [
pythonRelaxDepsHook
];
pythonRelaxDeps = [
"pillow"
];
propagatedBuildInputs = [
click
ordered-set