Merge pull request #246915 from tjni/pytest-bdd

python3.pkgs.pytest-bdd: remove setuptools for compatibility
This commit is contained in:
OTABI Tomoya 2023-08-11 13:34:29 +09:00 committed by GitHub
commit c65f1b03b2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,6 +1,7 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, fetchpatch
, mako
, parse
, parse-type
@ -8,7 +9,6 @@
, pytest
, pytestCheckHook
, pythonOlder
, setuptools
, typing-extensions
}:
@ -26,6 +26,14 @@ buildPythonPackage rec {
hash = "sha256-+76jIgfDQPdIoesTr1+QUu8wmOnrdf4KT+TJr9F2Hqk=";
};
patches = [
(fetchpatch {
name = "remove-setuptools.patch";
url = "https://github.com/pytest-dev/pytest-bdd/commit/5d8eda3a30b47d3bd27849884a851adafca765cb.patch";
hash = "sha256-G2WHaRKlQ9HINufh8wl7+ly7HfDGobMLzzlbwDwd+o8=";
})
];
nativeBuildInputs = [
poetry-core
];
@ -43,7 +51,6 @@ buildPythonPackage rec {
nativeCheckInputs = [
pytestCheckHook
setuptools
];
preCheck = ''