python39Packages.setuptools-scm: relax tomli ping
This commit is contained in:
committed by
Martin Weinelt
parent
88252edcb1
commit
e0620c63a7
@@ -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 ];
|
||||
|
||||
Reference in New Issue
Block a user