mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-29 16:24:10 +00:00
python3Packages.poetry: propagate packaging and relax constraint
This commit is contained in:
parent
413effd66b
commit
bbaa13e9ab
@ -15,6 +15,7 @@
|
||||
, intreehooks
|
||||
, keyring
|
||||
, lockfile
|
||||
, packaging
|
||||
, pexpect
|
||||
, pkginfo
|
||||
, poetry-core
|
||||
@ -45,9 +46,10 @@ buildPythonPackage rec {
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace pyproject.toml \
|
||||
--replace 'importlib-metadata = {version = "^1.6.0", python = "<3.8"}' \
|
||||
--replace 'importlib-metadata = {version = "^1.6.0", python = "<3.8"}' \
|
||||
'importlib-metadata = {version = ">=1.6", python = "<3.8"}' \
|
||||
--replace 'version = "^21.2.0"' 'version = ">=21.2"'
|
||||
--replace 'version = "^21.2.0"' 'version = ">=21.2"' \
|
||||
--replace 'packaging = "^20.4"' 'packaging = "*"'
|
||||
'';
|
||||
|
||||
nativeBuildInputs = [
|
||||
@ -64,6 +66,7 @@ buildPythonPackage rec {
|
||||
html5lib
|
||||
keyring
|
||||
lockfile
|
||||
packaging
|
||||
pexpect
|
||||
pkginfo
|
||||
poetry-core
|
||||
|
Loading…
Reference in New Issue
Block a user