[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: |
Wed, 11 May 2022 18:03:29 -0400 (EDT) |
apteryx pushed a commit to branch wip-ipython-polyglossia
in repository guix.
commit 52f001b4fca542ed2f3d92d33d724fe5994f1141
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 8ba54bbd88..2de1041189 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -30171,12 +30171,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")))))))
@@ -30184,7 +30186,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")
- 190/242: gnu: python-mkdocs: Update to 1.3.0., (continued)
- 190/242: gnu: python-mkdocs: Update to 1.3.0., guix-commits, 2022/05/11
- 191/242: gnu: Add python-crccheck., guix-commits, 2022/05/11
- 193/242: gnu: python-locust: Update to 2.8.6., guix-commits, 2022/05/11
- 199/242: gnu: weasyprint: Update to 54.3., guix-commits, 2022/05/11
- 202/242: gnu: libgrss: Use libsoup-minimal-2 to fix build., guix-commits, 2022/05/11
- 196/242: gnu: python-miio: Update to 0.5.11., guix-commits, 2022/05/11
- 198/242: gnu: Add python-pydyf., guix-commits, 2022/05/11
- 197/242: gnu: Remove python-orator due to being broken and unmaintained., guix-commits, 2022/05/11
- 204/242: gnu: emacsy: Use webkitgtk-with-libsoup2., guix-commits, 2022/05/11
- 208/242: gnu: python-flask-wtf: Update to 1.0.1., guix-commits, 2022/05/11
- 212/242: gnu: dynaconf: Fix build following python-click upgrade.,
guix-commits <=
- 217/242: gnu: python-sphinx-click: Update to 4.0.3 and enable tests., guix-commits, 2022/05/11
- 206/242: gnu: Remove python2-keyring., guix-commits, 2022/05/11
- 211/242: gnu: python2-sqlalchemy: Skip a failing test., guix-commits, 2022/05/11
- 220/242: gnu: python-sphinx-argparse: Update to 0.3.1., guix-commits, 2022/05/11
- 214/242: gnu: python-sphinx: Update to 4.5.0., guix-commits, 2022/05/11
- 230/242: gnu: Add python-mpl-sphinx-theme., guix-commits, 2022/05/11
- 224/242: gnu: python-sphinx-autodoc-typehints: Update to 1.18.1., guix-commits, 2022/05/11
- 239/242: gnu: Add python-sanic-routing., guix-commits, 2022/05/11
- 234/242: gnu: python-qtconsole: Update to 5.3.0., guix-commits, 2022/05/11
- 237/242: gnu: python-pytest-sanic: Update to 1.9.1., guix-commits, 2022/05/11