mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-16 03:45:24 -05:00
gnu: awscli: Use PyYAML 6.
This should be fine because all uses of yaml.load supply the now mandatory loader argument. * gnu/packages/python-web.scm (awscli)[arguments]: Add phase 'use-recent-pyyaml. [propagated-inputs]: Replace python-pyyaml-for-awscli with python-pyyaml.
This commit is contained in:
parent
7bd5394bf8
commit
21cd4c704e
1 changed files with 7 additions and 1 deletions
|
@ -2880,6 +2880,12 @@ (define-public awscli
|
|||
'(#:tests? #f
|
||||
#:phases
|
||||
(modify-phases %standard-phases
|
||||
(add-after 'unpack 'use-recent-pyyaml
|
||||
(lambda _
|
||||
(substitute* '("awscli.egg-info/requires.txt"
|
||||
"setup.cfg"
|
||||
"setup.py")
|
||||
(("<5.5") "<=6"))))
|
||||
(add-after 'unpack 'fix-reference-to-groff
|
||||
(lambda _
|
||||
(substitute* "awscli/help.py"
|
||||
|
@ -2892,7 +2898,7 @@ (define-public awscli
|
|||
python-botocore-for-awscli
|
||||
python-s3transfer
|
||||
python-docutils-0.15
|
||||
python-pyyaml-for-awscli
|
||||
python-pyyaml
|
||||
python-rsa))
|
||||
(native-inputs
|
||||
(list groff))
|
||||
|
|
Loading…
Reference in a new issue