[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
212/232: gnu: dynaconf: Fix build following python-click upgrade.
From: |
guix-commits |
Subject: |
212/232: gnu: dynaconf: Fix build following python-click upgrade. |
Date: |
Sun, 24 Apr 2022 23:59:15 -0400 (EDT) |
apteryx pushed a commit to branch wip-ipython-polyglossia
in repository guix.
commit 751aa77d9dc72790786224ad8163e718660d46ab
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 b73fc4e0a9..381667d380 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -30065,12 +30065,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")))))))
@@ -30078,7 +30080,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")
- 170/232: gnu: python-types-dataclasses: Fix typo., (continued)
- 170/232: gnu: python-types-dataclasses: Fix typo., guix-commits, 2022/04/24
- 172/232: gnu: python-readme-renderer: Update to 34.0., guix-commits, 2022/04/24
- 173/232: gnu: mbed-tools: Update to 7.53.0 and relax click version requirement., guix-commits, 2022/04/24
- 167/232: gnu: python-jupyter-protocol: Update to 0.2.0., guix-commits, 2022/04/24
- 177/232: gnu: python-can: Update to 4.0.0., guix-commits, 2022/04/24
- 191/232: gnu: Add python-crccheck., guix-commits, 2022/04/24
- 198/232: gnu: Add python-pydyf., guix-commits, 2022/04/24
- 206/232: gnu: Remove python2-keyring., guix-commits, 2022/04/24
- 188/232: gnu: python-ghp-import: Update to 2.0.2., guix-commits, 2022/04/24
- 207/232: gnu: python-pingouin: Update to 0.5.1., guix-commits, 2022/04/24
- 212/232: gnu: dynaconf: Fix build following python-click upgrade.,
guix-commits <=
- 215/232: gnu: python-pydata-sphinx-theme: Update to 0.7.2., guix-commits, 2022/04/24
- 68/232: gnu: python-setuptools: Update to 62.0.0., guix-commits, 2022/04/24
- 69/232: gnu: python-pathpy: Deprecate by python-path., guix-commits, 2022/04/24
- 91/232: gnu: python-flask: Update to 2.1.1., guix-commits, 2022/04/24
- 96/232: gnu: Add python-pydevd., guix-commits, 2022/04/24
- 138/232: gnu: Add python-cbor2., guix-commits, 2022/04/24
- 139/232: gnu: python-httpcore: Update to 0.14.7 and enable tests., guix-commits, 2022/04/24
- 140/232: gnu: Add python-httpcore-bootstrap., guix-commits, 2022/04/24
- 155/232: gnu: python-numpy: Update to 1.21.6 and parallelize build/tests., guix-commits, 2022/04/24
- 157/232: gnu: python-numba: Update to 0.55.1., guix-commits, 2022/04/24