forked from mirrors/nixpkgs
Merge pull request #154925 from fabaff/fix-catalogue
python3Packages.catalogue: disable failing test
This commit is contained in:
commit
e3ebce5280
|
@ -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; [ ];
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue