[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#63139] [PATCH python 10/20] gnu: python-virtualenv: Update to 20.22
From: |
John Kehayias |
Subject: |
[bug#63139] [PATCH python 10/20] gnu: python-virtualenv: Update to 20.22.0. |
Date: |
Fri, 28 Apr 2023 05:50:59 +0000 |
* gnu/packages/python-xyz.scm (python-virtualenv): Update to 20.22.0.
[build-system]: Switch to pyproject-build-system.
[arguments]{test-flags}: Disable failing tests.
[native-inputs]: Remove python-mock and python-setuptools-scm. Add
python-cython, python-flaky, python-hatch-vcs, python-hatchling, and
python-pytest-mock.
[propagated-inputs]: Remove python-appdirs and python-six. Add
python-platformdirs.
---
gnu/packages/python-xyz.scm | 39 ++++++++++++++++++++++++++++++++-----
1 file changed, 34 insertions(+), 5 deletions(-)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 62ed69c437..1f55df0cd9 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -4467,19 +4467,48 @@ (define-public python-vine
(define-public python-virtualenv
(package
(name "python-virtualenv")
- (version "20.3.1")
+ (version "20.22.0")
(source
(origin
(method url-fetch)
(uri (pypi-uri "virtualenv" version))
(sha256
(base32
- "1nbhnpzswcf3lmzn5xabmfdd7ki8r2w2i37y6wml54di6qi1l48c"))))
- (build-system python-build-system)
+ "1hvcc518l3byvk0hykb5x85fjh70w72s9f3d9vqs1wdfgb2571r7"))))
+ (build-system pyproject-build-system)
+ (arguments
+ (list #:test-flags
+ ;; TODO: Some of these tests may be able to be worked around.
+ ;; Currently they fail due to needing network access and/or trying
+ ;; to interact with the build environment in a way that does not
+ ;; work, or for unknown reasons.
+ '(let ((disabled-tests (list "test_acquire"
+ "test_activation_support"
+ "test_bootstrap_link_via_app_data"
+ "test_build_c_ext"
+
"test_builtin_discovery_class_preferred"
+
"test_can_symlink_when_symlinks_not_enabled"
+ "test_cpython3_win"
+ "test_creator"
+ "test_failed_to_find_implementation"
+ "test_periodic_update "
+ "test_pip_invoke"
+ "test_py_info"
+ "test_pypy3"
+ "test_value_alias"
+
"test_wheel_support_no_python_requires")))
+ (list "-k" (string-append "not "
+ (string-join disabled-tests
+ " and not "))))))
(native-inputs
- (list python-mock python-pytest python-setuptools-scm))
+ (list python-cython
+ python-flaky
+ python-hatch-vcs
+ python-hatchling
+ python-pytest
+ python-pytest-mock))
(propagated-inputs
- (list python-appdirs python-distlib python-filelock python-six))
+ (list python-distlib python-filelock python-platformdirs))
(home-page "https://virtualenv.pypa.io/")
(synopsis "Virtual Python environment builder")
(description
--
2.39.2
- [bug#63139] [PATCH python 00/20] Updates for pyproject-build-system, poetry, python-yubikey-manager, John Kehayias, 2023/04/28
- [bug#63139] [PATCH python 06/20] gnu: Add python-deepdiff., John Kehayias, 2023/04/28
- [bug#63139] [PATCH python 05/20] gnu: python-cleo: Update to 2.0.1., John Kehayias, 2023/04/28
- [bug#63139] [PATCH python 03/20] gnu: Add python-rapidfuzz., John Kehayias, 2023/04/28
- [bug#63139] [PATCH python 02/20] gnu: Add python-pyproject-hooks., John Kehayias, 2023/04/28
- [bug#63139] [PATCH python 07/20] gnu: python-platformdirs: Update to 3.2.0., John Kehayias, 2023/04/28
- [bug#63139] [PATCH python 04/20] gnu: python-crashtest: Update to 0.4.1., John Kehayias, 2023/04/28
- [bug#63139] [PATCH python 08/20] gnu: python-filelock: Update to 3.12.0., John Kehayias, 2023/04/28
- [bug#63139] [PATCH python 01/20] gnu: Add python-installer., John Kehayias, 2023/04/28
- [bug#63139] [PATCH python 09/20] gnu: python-distlib: Update to 0.3.6., John Kehayias, 2023/04/28
- [bug#63139] [PATCH python 10/20] gnu: python-virtualenv: Update to 20.22.0.,
John Kehayias <=
- [bug#63139] [PATCH python 13/20] gnu: python-dulwich: Update to 0.21.3., John Kehayias, 2023/04/28
- [bug#63139] [PATCH python 11/20] gnu: python-pkginfo: Update to 1.9.6., John Kehayias, 2023/04/28
- [bug#63139] [PATCH python 12/20] gnu: python-jsonschema: Update to 4.17.3., John Kehayias, 2023/04/28
- [bug#63139] [PATCH python 15/20] gnu: poetry: Fix build., John Kehayias, 2023/04/28
- [bug#63139] [PATCH python 14/20] gnu: Update python-pypa-build to 1.0.0., John Kehayias, 2023/04/28
- [bug#63139] [PATCH python 18/20] gnu: python-fido2: Update to 1.1.1 and enable tests., John Kehayias, 2023/04/28
- [bug#63139] [PATCH python 16/20] gnu: Add python-poetry-plugin-export., John Kehayias, 2023/04/28
- [bug#63139] [PATCH python 17/20] gnu: python-pyscard: Update to 2.0.7., John Kehayias, 2023/04/28
- [bug#63139] [PATCH python 20/20] gnu: python-yubikey-manager: Update to 5.1.0 and enable tests., John Kehayias, 2023/04/28
- [bug#63139] [PATCH python 19/20] gnu: Add python-makefun., John Kehayias, 2023/04/28