3
0
Fork 0
forked from mirrors/nixpkgs

python311Packages.furl: fixup tests with python 3.11.4

This commit is contained in:
Vladimír Čunát 2023-06-17 08:12:19 +02:00
parent 41d7e84dd8
commit 9eee85085b
No known key found for this signature in database
GPG key ID: E747DF1F9575A3AA

View file

@ -16,6 +16,13 @@ buildPythonPackage rec {
sha256 = "5a6188fe2666c484a12159c18be97a1977a71d632ef5bb867ef15f54af39cc4e";
};
# With python 3.11.4, invalid IPv6 address does throw ValueError
# https://github.com/gruns/furl/issues/164#issuecomment-1595637359
postPatch = ''
substituteInPlace tests/test_furl.py \
--replace '[0:0:0:0:0:0:0:1:1:1:1:1:1:1:1:9999999999999]' '[2001:db8::9999]'
'';
propagatedBuildInputs = [
orderedmultidict
six