python39Packages.setuptools-scm: relax tomli ping

This commit is contained in:
Sandro Jäckel
2021-08-27 02:32:58 +02:00
committed by Martin Weinelt
parent 88252edcb1
commit e0620c63a7

View File

@@ -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 ];