python311Packages.behave: fix build

The package executes tests for python3.11 and they are failing.

Other python versions do not have tests enabled, so they are not
affected. (Note: bumping the derivation to dev6 version breaks `sismic`
python package test suite; and it still doesn't include python3.13 test
suite fixes. Leaving this exercise to derivation maintainers.)

Closes #353195

Signed-off-by: Ihar Hrachyshka <ihar.hrachyshka@gmail.com>
This commit is contained in:
Ihar Hrachyshka
2025-02-02 14:27:28 -05:00
parent 14e6ebd47b
commit c96cedcf01
@@ -2,6 +2,7 @@
lib,
stdenv,
fetchFromGitHub,
fetchpatch2,
buildPythonPackage,
python,
pythonOlder,
@@ -31,6 +32,14 @@ buildPythonPackage rec {
hash = "sha256-G1o0a57MRczwjGLl/tEYC+yx3nxpk6+E58RvR9kVJpA=";
};
patches = [
# fix tests: https://github.com/behave/behave/pull/1214
(fetchpatch2 {
url = "https://github.com/behave/behave/pull/1214/commits/98b63a2524eff50ce1dc7360a46462a6f673c5ea.patch?full_index=1";
hash = "sha256-MwODEm6vhg/H8ksp5XBBP5Uhu2dhB5B1T6Owkxpy3v0=";
})
];
build-system = [ setuptools ];
nativeCheckInputs = [