me
/
guix
Archived
1
0
Fork 0

gnu: poetry: Adjust for newer python-keyring.

* gnu/packages/python-xyz.scm (poetry)[arguments]: Adjust custom
'patch-setup-py phase to allow newer versions of python-keyring.
master
Efraim Flashner 2021-02-15 09:56:53 +02:00
parent 906476e002
commit 92bae0136c
No known key found for this signature in database
GPG Key ID: 41AAE7DCCA3D8351
1 changed files with 2 additions and 3 deletions

View File

@ -13379,9 +13379,8 @@ database, file, dict stores. Cachy supports python versions 2.7+ and 3.2+.")
(add-before 'build 'patch-setup-py
(lambda _
(substitute* "setup.py"
;; Newer versions of keyring produce a package with version "0.0.0"
;; Reported upstream: <https://github.com/jaraco/keyring/issues/469>
(("keyring>=21.2.0,<22.0.0") "keyring>=21.0.0,<22.0.0")
;; Allow newer versions of python-keyring.
(("(keyring>=21.2.0),<22.0.0" _ keyring) keyring)
;; TODO: remove after the next release cycle,
;; when packaging has been updated.
(("packaging>=20.4,<21.0") "packaging>=20.0,<21.0"))