Merge pull request #281518 from fabaff/dsnap-fix

python311Packages.dsnap: relax urllib3
This commit is contained in:
Fabian Affolter 2024-01-18 08:05:13 +01:00 committed by GitHub
commit e11cf97510
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -17,7 +17,7 @@
buildPythonPackage rec {
pname = "dsnap";
version = "1.0.0";
format = "pyproject";
pyproject = true;
disabled = pythonOlder "3.7";
@ -28,6 +28,12 @@ buildPythonPackage rec {
hash = "sha256-yKch+tKjFhvZfzloazMH378dkERF8gnZEX1Som+d670=";
};
postPatch = ''
# Is no direct dependency
substituteInPlace pyproject.toml \
--replace 'urllib3 = "^1.26.4"' 'urllib3 = "*"'
'';
nativeBuildInputs = [
poetry-core
];