jrnl: patch for to support pytest_bdd 7.1.2 and later
This commit is contained in:
parent
533c6e184c
commit
fc41b1abe2
|
@ -17,6 +17,12 @@ python3.pkgs.buildPythonApplication rec {
|
|||
hash = "sha256-DtujXSDJWnOrHjVgJEJNKJMhSrNBHlR2hvHeHLSIF2o=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
# Support pytest_bdd 7.1.2 and later, https://github.com/jrnl-org/jrnl/pull/1878
|
||||
substituteInPlace tests/lib/when_steps.py \
|
||||
--replace-fail "from pytest_bdd.steps import inject_fixture" "from pytest_bdd.compat import inject_fixture"
|
||||
'';
|
||||
|
||||
build-system = with python3.pkgs; [
|
||||
poetry-core
|
||||
];
|
||||
|
|
Loading…
Reference in New Issue
Block a user