python313Packages.parameterized: fix tests
Kudos to the Gentoo folks for the patch.
This commit is contained in:
@@ -2,6 +2,7 @@
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
fetchPypi,
|
||||
fetchpatch2,
|
||||
mock,
|
||||
pytestCheckHook,
|
||||
pythonOlder,
|
||||
@@ -20,6 +21,14 @@ buildPythonPackage rec {
|
||||
hash = "sha256-f8kFJyzvpPNkwaNCnLvpwPmLeTmI77W/kKrIDwjbCbE=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
(fetchpatch2 {
|
||||
name = "parameterized-docstring-3.13-compat.patch";
|
||||
url = "https://gitweb.gentoo.org/repo/gentoo.git/plain/dev-python/parameterized/files/parameterized-0.9.0-py313-test.patch";
|
||||
hash = "sha256-tWcN0eRC0oRHrOaa/cctXLhi1WapDKvxO36e6gU6UIk=";
|
||||
})
|
||||
];
|
||||
|
||||
postPatch = ''
|
||||
# broken with pytest 7 and python 3.12
|
||||
# https://github.com/wolever/parameterized/issues/167
|
||||
|
||||
Reference in New Issue
Block a user