Commit c96cedcf authored by Ihar Hrachyshka's avatar Ihar Hrachyshka
Browse files

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: default avatarIhar Hrachyshka <ihar.hrachyshka@gmail.com>
parent 14e6ebd4
Loading
Loading
Loading
Loading
+9 −0
Original line number Diff line number Diff line
@@ -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 = [