Merge #187185: python3Packages.requests-cache: remove version constraint

...into staging-next
This commit is contained in:
Vladimír Čunát 2022-08-24 17:10:04 +02:00
commit 2e602c5a75
No known key found for this signature in database
GPG key ID: E747DF1F9575A3AA

View file

@ -42,6 +42,21 @@ buildPythonPackage rec {
poetry-core
];
postPatch = ''
#
# There is no functional reason why attrs (and cattrs) need to be
# restricted, but the versions are in flux right now. Please read
# and follow the following issue for the latest:
#
# https://github.com/requests-cache/requests-cache/issues/675
#
# This can be removed once that issue is resolved, or if the new
# major version is released.
#
substituteInPlace pyproject.toml \
--replace 'attrs = "^21.2"' 'attrs = ">=21.2"'
'';
propagatedBuildInputs = [
appdirs
attrs