[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
41/213: gnu: python-tox: Simplify.
From: |
guix-commits |
Subject: |
41/213: gnu: python-tox: Simplify. |
Date: |
Fri, 10 Jan 2025 10:42:50 -0500 (EST) |
rekado pushed a commit to branch python-team
in repository guix.
commit 5c5c990d8cba179b692a20a2fecf75c88196db83
Author: Ricardo Wurmus <rekado@elephly.net>
AuthorDate: Tue Dec 17 13:46:06 2024 +0100
gnu: python-tox: Simplify.
* gnu/packages/python-check.scm (python-tox)[arguments]: Enable more tests;
remove phase 'virtualenv-compatibility.
Change-Id: I39a637cfc2385da74c11fc82ea811a26cf5f849a
---
gnu/packages/python-check.scm | 43 +++++--------------------------------------
1 file changed, 5 insertions(+), 38 deletions(-)
diff --git a/gnu/packages/python-check.scm b/gnu/packages/python-check.scm
index 9e8ef5d842..7e4c903fc2 100644
--- a/gnu/packages/python-check.scm
+++ b/gnu/packages/python-check.scm
@@ -2981,46 +2981,13 @@ Python file for configuration.")
'( ;; These freeze the test suite
"parallel"
"parallel_live"
-
- ;; These fail with: Directory cannot be installed in
- ;; editable mode
- "skip_missing_interpreters"
- "skip_missing_interpreters_specified_env"
- ;; assert 0 == -1
- "config_skip_missing_interpreters"
- ;; KeyError: 'env'
- "legacy_cli_flags"
- ;; AssertionError: should be None, got code: 0
- "missing_interpreter_skip_on"
- "missing_interpreter_skip_off"
- ;; Unexplainable diff
- "skip_develop_mode"
- "show_config_exception"
+ ;; Needs internet access
+ "build_wheel_external"
+ "run_installpkg_targz"
"python_generate_hash_seed"
;; XXX Tries to call python-wrapper-3.10.7/bin/tox
- "call_as_exe"
- "usedevelop_with_nonexistent_basepython"))
- " and ")
- ;; XXX Our version of virtualenv is too old.
- "--ignore-glob=tests/tox_env/python/virtual_env/*")
- #:phases
- '(modify-phases %standard-phases
- (add-after 'unpack 'virtualenv-compatibility
- (lambda _
- (setenv "HOME" "/tmp")
- ;; XXX: Our version of virtualenv does not like this extra
- ;; keyword argument.
- (substitute* "src/tox/tox_env/python/virtual_env/api.py"
- (("session_via_cli\\(env_dir, options=None,
setup_logging=False, env=env\\)")
- "session_via_cli(env_dir, options=None, setup_logging=False)"))
- ;; XXX: This is a real problem, but we cannot fix it without
- ;; affecting thousands of packages.
- (substitute* "pyproject.toml"
- (("virtualenv>=20.26.6") "virtualenv>=20.3.0")
- (("typing-extensions>=4.12.2") "typing-extensions>=4.10.0")
- (("platformdirs>=4.3.6") "platformdirs>=4.2.0")
- (("colorama>=0.4.6") "colorama>=0.4.4")
- (("chardet>=5.2") "chardet>=5.1.0")))))))
+ "call_as_exe"))
+ " and "))))
(propagated-inputs
(list python-cachetools
python-chardet
- 73/213: gnu: beancount: Fix build., (continued)
- 73/213: gnu: beancount: Fix build., guix-commits, 2025/01/10
- 75/213: gnu: python-rdflib-6: Update to 6.3.2., guix-commits, 2025/01/10
- 78/213: gnu: python-schema-salad: Update to 8.8.20241206093842., guix-commits, 2025/01/10
- 84/213: gnu: cwltool: Use test-flags., guix-commits, 2025/01/10
- 86/213: gnu: python-traittypes: Fix tests., guix-commits, 2025/01/10
- 93/213: gnu: python-ipydatawidgets: Disable more tests and add inputs., guix-commits, 2025/01/10
- 102/213: gnu: Add python-expandvars., guix-commits, 2025/01/10
- 110/213: gnu: python-matrix-nio: Update to 0.25.2., guix-commits, 2025/01/10
- 35/213: gnu: python-devtools: Simplify., guix-commits, 2025/01/10
- 36/213: gnu: python-waitress: Update to 3.0.2., guix-commits, 2025/01/10
- 41/213: gnu: python-tox: Simplify.,
guix-commits <=
- 42/213: gnu: python-pydantic: Fix build., guix-commits, 2025/01/10
- 44/213: gnu: python-joblib: Disable one additional test., guix-commits, 2025/01/10
- 147/213: gnu: Add python-inline-snapshot., guix-commits, 2025/01/10
- 39/213: gnu: python-devpi-process: Add missing input., guix-commits, 2025/01/10
- 47/213: gnu: python-email-validator: Update to 2.2.0., guix-commits, 2025/01/10
- 79/213: gnu: python-cwl-upgrader: Add missing inputs., guix-commits, 2025/01/10
- 85/213: gnu: cwltool: Patch tox.ini., guix-commits, 2025/01/10
- 92/213: gnu: python-dnspython: Disable ECDSA tests., guix-commits, 2025/01/10
- 95/213: gnu: python-falcon: Update to 4.0.2., guix-commits, 2025/01/10
- 101/213: gnu: python-matrix-nio: Use test-flags., guix-commits, 2025/01/10