Merge pull request #211537 from NickCao/sure
python3Packages.sure: disable test on python 3.11 or later
This commit is contained in:
@@ -5,12 +5,15 @@
|
||||
, six
|
||||
, mock
|
||||
, isPyPy
|
||||
, pythonOlder
|
||||
, fetchpatch
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "sure";
|
||||
version = "2.0.0";
|
||||
format = "setuptools";
|
||||
|
||||
disabled = isPyPy;
|
||||
|
||||
src = fetchPypi {
|
||||
@@ -26,13 +29,26 @@ buildPythonPackage rec {
|
||||
})
|
||||
];
|
||||
|
||||
buildInputs = [ rednose ];
|
||||
propagatedBuildInputs = [ six mock ];
|
||||
propagatedBuildInputs = [
|
||||
six
|
||||
mock
|
||||
];
|
||||
|
||||
checkInputs = [
|
||||
rednose
|
||||
];
|
||||
|
||||
doCheck = pythonOlder "3.11";
|
||||
|
||||
pythonImportsCheck = [
|
||||
"sure"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Utility belt for automated testing";
|
||||
homepage = "https://sure.readthedocs.io/en/latest/";
|
||||
homepage = "https://sure.readthedocs.io/";
|
||||
changelog = "https://github.com/gabrielfalcao/sure/blob/${version}/CHANGELOG.md";
|
||||
license = licenses.gpl3Plus;
|
||||
maintainers = with maintainers; [ ];
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user