mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-07-14 22:20:30 +03:00
python313Packages.parameterized: fix tests
Kudos to the Gentoo folks for the patch.
This commit is contained in:
parent
78dd50f7a2
commit
d390c9ee82
1 changed files with 9 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue