python39Packages.setuptools-scm: relax tomli ping
This commit is contained in:
parent
899b703f19
commit
2839e85466
@ -12,6 +12,11 @@ buildPythonPackage rec {
|
||||
sha256 = "sha256-0ZJaacsH6bKUFqJ1ufrbAJojwUis6QWy+yIGSabBjpI=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace setup.cfg \
|
||||
--replace "tomli~=1.0.0" "tomli>=1.0.0"
|
||||
'';
|
||||
|
||||
# TODO: figure out why both toml and tomli are needed when only tomli is listed in setuptools-scm
|
||||
# if not both are listed some packages like zipp silently fallback to a 0.0.0 version number and break version pins in other packages
|
||||
propagatedBuildInputs = [ toml tomli ];
|
||||
|
Loading…
Reference in New Issue
Block a user