3
0
Fork 0
forked from mirrors/nixpkgs

Merge pull request #154925 from fabaff/fix-catalogue

python3Packages.catalogue: disable failing test
This commit is contained in:
Fabian Affolter 2022-01-14 10:13:33 +01:00 committed by GitHub
commit e3ebce5280
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -2,13 +2,16 @@
, buildPythonPackage
, fetchPypi
, pytestCheckHook
, pythonAtLeast
, pythonOlder
, typing-extensions
, zipp
}:
buildPythonPackage rec {
pname = "catalogue";
version = "2.0.6";
format = "setuptools";
disabled = pythonOlder "3.6";
@ -19,16 +22,27 @@ buildPythonPackage rec {
propagatedBuildInputs = lib.optionals (pythonOlder "3.8") [
typing-extensions
zipp
];
checkInputs = [ pytestCheckHook ];
checkInputs = [
pytestCheckHook
];
pythonImportsCheck = [ "catalogue" ];
disabledTests = lib.optionals (pythonAtLeast "3.10") [
# https://github.com/explosion/catalogue/issues/27
"test_entry_points"
];
pythonImportsCheck = [
"catalogue"
];
meta = with lib; {
description = "Tiny library for adding function or object registries";
homepage = "https://github.com/explosion/catalogue";
changelog = "https://github.com/explosion/catalogue/releases/tag/v${version}";
license = licenses.mit;
maintainers = with maintainers; [ ];
};
}