python310Packages.pytest-golden: use poetry-core
This commit is contained in:
parent
3e99f31265
commit
22ccf277fc
1 changed files with 8 additions and 2 deletions
|
@ -4,7 +4,7 @@
|
|||
, fetchFromGitHub
|
||||
#, hatchling
|
||||
, ruamel-yaml
|
||||
, poetry
|
||||
, poetry-core
|
||||
, pytest
|
||||
, pytest-asyncio
|
||||
, pytestCheckHook
|
||||
|
@ -27,13 +27,19 @@ buildPythonPackage rec {
|
|||
hash = "sha256-l5fXWDK6gWJc3dkYFTokI9tWvawMRnF0td/lSwqkYXE=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace pyproject.toml \
|
||||
--replace "poetry>=0.12" poetry-core \
|
||||
--replace poetry.masonry.api poetry.core.masonry.api
|
||||
'';
|
||||
|
||||
pythonRelaxDeps = [
|
||||
"testfixtures"
|
||||
];
|
||||
|
||||
nativeBuildInputs = [
|
||||
# hatchling used for > 0.2.2
|
||||
poetry
|
||||
poetry-core
|
||||
pythonRelaxDepsHook
|
||||
];
|
||||
|
||||
|
|
Loading…
Reference in a new issue