python310Packages.pytest-mock: 3.7.0 -> 3.8.1
https://github.com/pytest-dev/pytest-mock/blob/v3.8.1/CHANGELOG.rst
This commit is contained in:
parent
582e897fac
commit
e838f7e117
|
@ -1,6 +1,6 @@
|
||||||
{ lib
|
{ lib
|
||||||
, buildPythonPackage
|
, buildPythonPackage
|
||||||
, fetchpatch
|
, pythonOlder
|
||||||
, fetchPypi
|
, fetchPypi
|
||||||
, pytest
|
, pytest
|
||||||
, pytest-asyncio
|
, pytest-asyncio
|
||||||
|
@ -10,24 +10,20 @@
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "pytest-mock";
|
pname = "pytest-mock";
|
||||||
version = "3.7.0";
|
version = "3.8.1";
|
||||||
|
|
||||||
|
disabled = pythonOlder "3.7";
|
||||||
|
|
||||||
|
format = "setuptools";
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchPypi {
|
||||||
inherit pname version;
|
inherit pname version;
|
||||||
hash = "sha256-URK9ksyfGG7pbhqS78hJaepJSTnDrq05xQ9CHEzGlTQ=";
|
hash = "sha256-LG11bV07+Y4ugHl6lZyn+B9Hnn0fX1cWEbD91tF0UkA=";
|
||||||
};
|
};
|
||||||
|
|
||||||
patches = [
|
|
||||||
(fetchpatch {
|
|
||||||
# pytest7 compatbilitya
|
|
||||||
url = "https://github.com/pytest-dev/pytest-mock/commit/0577f1ad051fb8d0da94ea22dcb02346d74064b2.patch";
|
|
||||||
hash = "sha256-eim4v7U8Mjigr462bXI0pKH/M0ANBzSRc0lT4RpbZ0w=";
|
|
||||||
})
|
|
||||||
];
|
|
||||||
|
|
||||||
nativeBuildInputs = [ setuptools-scm ];
|
nativeBuildInputs = [ setuptools-scm ];
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
buildInputs = [
|
||||||
pytest
|
pytest
|
||||||
];
|
];
|
||||||
|
|
||||||
|
@ -36,18 +32,13 @@ buildPythonPackage rec {
|
||||||
pytestCheckHook
|
pytestCheckHook
|
||||||
];
|
];
|
||||||
|
|
||||||
disabledTests = [
|
|
||||||
# output of pytest has changed
|
|
||||||
"test_used_with_"
|
|
||||||
"test_plain_stopall"
|
|
||||||
];
|
|
||||||
|
|
||||||
pythonImportsCheck = [ "pytest_mock" ];
|
pythonImportsCheck = [ "pytest_mock" ];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "Thin-wrapper around the mock package for easier use with pytest";
|
description = "Thin wrapper around the mock package for easier use with pytest";
|
||||||
homepage = "https://github.com/pytest-dev/pytest-mock";
|
homepage = "https://github.com/pytest-dev/pytest-mock";
|
||||||
license = with licenses; [ mit ];
|
changelog = "https://github.com/pytest-dev/pytest-mock/blob/v${version}/CHANGELOG.rst";
|
||||||
|
license = licenses.mit;
|
||||||
maintainers = with maintainers; [ dotlambda ];
|
maintainers = with maintainers; [ dotlambda ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue