[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
212/242: gnu: dynaconf: Fix build following python-click upgrade.
From: |
guix-commits |
Subject: |
212/242: gnu: dynaconf: Fix build following python-click upgrade. |
Date: |
Thu, 12 May 2022 14:14:39 -0400 (EDT) |
apteryx pushed a commit to branch master
in repository guix.
commit 418630a63c26bf683bb215fe2f655485f07020ea
Author: Maxim Cournoyer <maxim.cournoyer@gmail.com>
AuthorDate: Wed Apr 20 14:03:34 2022 -0400
gnu: dynaconf: Fix build following python-click upgrade.
* gnu/packages/python-xyz.scm (dynaconf)
[phases]{patch-for-click-8}: New phase.
{check}: Remove extraneous setenv call.
[native-inputs]: Use the regular python-pytest variable.
---
gnu/packages/python-xyz.scm | 10 ++++++----
1 file changed, 6 insertions(+), 4 deletions(-)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 8d12f28850..8b55e67ca9 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -30183,12 +30183,14 @@ Python @code{set} interface.")
(arguments
`(#:phases
(modify-phases %standard-phases
+ (add-after 'unpack 'patch-for-click-8
+ (lambda _
+ (substitute* "dynaconf/cli.py"
+ (("click.get_os_args\\()") ;deprecated from Click 8.1+
+ "sys.argv[1:]"))))
(replace 'check
(lambda* (#:key tests? outputs #:allow-other-keys)
(when tests?
- (setenv "PATH"
- (string-append (assoc-ref outputs "out") "/bin:"
- (getenv "PATH")))
;; These tests depend on hvac and a live Vault process.
(delete-file "tests/test_vault.py")
(invoke "make" "test_only")))))))
@@ -30196,7 +30198,7 @@ Python @code{set} interface.")
(list python-click python-configobj python-dotenv-0.13.0
python-ruamel.yaml python-toml))
(native-inputs
- (list python-django python-flask python-pytest-6 python-pytest-cov
+ (list python-django python-flask python-pytest python-pytest-cov
python-pytest-mock))
(home-page "https://www.dynaconf.com/")
(synopsis "The dynamic configurator for your Python project")
- 42/242: gnu: Add python-types-pytz., (continued)
- 42/242: gnu: Add python-types-pytz., guix-commits, 2022/05/12
- 85/242: gnu: Add python-sfdlib., guix-commits, 2022/05/12
- 109/242: gnu: python-nbclient: Update to 0.6.0., guix-commits, 2022/05/12
- 114/242: gnu: Add python-jupyter-server-mathjax., guix-commits, 2022/05/12
- 118/242: gnu: Add python-nbdime., guix-commits, 2022/05/12
- 131/242: gnu: Add texlive-xindy., guix-commits, 2022/05/12
- 129/242: gnu: texlive-latex-geometry: Propagate texlive-latex-graphics., guix-commits, 2022/05/12
- 178/242: gnu: python-amqp: Update to 5.1.1 and enable tests., guix-commits, 2022/05/12
- 193/242: gnu: python-locust: Update to 2.8.6., guix-commits, 2022/05/12
- 215/242: gnu: python-pydata-sphinx-theme: Update to 0.7.2., guix-commits, 2022/05/12
- 212/242: gnu: dynaconf: Fix build following python-click upgrade.,
guix-commits <=
- 219/242: gnu: python-sphinxcontrib-programoutput: Update to 0.17 and enable tests., guix-commits, 2022/05/12
- 241/242: gnu: Add python-sanic-testing., guix-commits, 2022/05/12
- 204/242: gnu: emacsy: Use webkitgtk-with-libsoup2., guix-commits, 2022/05/12
- 238/242: gnu: python-multidict: Update to 5.2.0., guix-commits, 2022/05/12
- 07/242: gnu: python-traitlets: Update to 5.1.1., guix-commits, 2022/05/12
- 39/242: gnu: Add python-jaraco-functools-bootstrap., guix-commits, 2022/05/12
- 60/242: gnu: python-factory-boy: Update to 3.2.1., guix-commits, 2022/05/12
- 133/242: gnu: python-websockets: Update to 10.3 and enable tests., guix-commits, 2022/05/12
- 132/242: gnu: python-ipython-documentation: Also build info and pdf targets., guix-commits, 2022/05/12
- 124/242: gnu: texlive-fontspec: Add missing propagated inputs., guix-commits, 2022/05/12