diff options
| author | Maxim Cournoyer <maxim.cournoyer@gmail.com> | 2024-12-17 22:33:07 +0900 |
|---|---|---|
| committer | Maxim Cournoyer <maxim.cournoyer@gmail.com> | 2024-12-17 23:43:58 +0900 |
| commit | de6d8b7c7daa4add3725299550fbc6ffa9cd3926 (patch) | |
| tree | 264a0d966a70d8af3f5ce63a67d7d1fcde25e948 /gnu/packages/python-check.scm | |
| parent | 106809a3065c3dcfb39af2651af5d5e4fc5884e5 (diff) | |
gnu: python-tox: Update to 4.8.0 and disable tests.
* gnu/packages/python-check.scm (python-tox): Update to 4.8.0.
[build-system]: Switch to pyproject-build-system.
[arguments]: Delete #:phases. Add #:test-flags.
[propagated-inputs]: Remove python-py, python-six and python-toml. Add
python-cachetools, python-chardet, python-colorama, python-platformdirs,
python-pyproject-api and python-tomli.
[native-inputs]: Remove python-pathlib2, python-pytest-freezegun,
python-pytest-timeout, python-setuptools-scm. Add python-distlib,
python-hatchling, python-hatch-vcs, python-psutil, python-pytest-mock,
python-pytest-xdist and python-re-assert.
Change-Id: I7c58649ac4c0fcb72e5009a7a2a06570e28d3eff
Diffstat (limited to 'gnu/packages/python-check.scm')
| -rw-r--r-- | gnu/packages/python-check.scm | 73 |
1 files changed, 22 insertions, 51 deletions
diff --git a/gnu/packages/python-check.scm b/gnu/packages/python-check.scm index a276452a694..aa3d03ed512 100644 --- a/gnu/packages/python-check.scm +++ b/gnu/packages/python-check.scm | |||
| @@ -2,7 +2,7 @@ | |||
| 2 | ;;; Copyright © 2019, 2021-2024 Ricardo Wurmus <rekado@elephly.net> | 2 | ;;; Copyright © 2019, 2021-2024 Ricardo Wurmus <rekado@elephly.net> |
| 3 | ;;; Copyright © 2019, 2020 Tobias Geerinckx-Rice <me@tobias.gr> | 3 | ;;; Copyright © 2019, 2020 Tobias Geerinckx-Rice <me@tobias.gr> |
| 4 | ;;; Copyright © 2019, 2020, 2021 Efraim Flashner <efraim@flashner.co.il> | 4 | ;;; Copyright © 2019, 2020, 2021 Efraim Flashner <efraim@flashner.co.il> |
| 5 | ;;; Copyright © 2019, 2020, 2021, 2022, 2023 Maxim Cournoyer <maxim.cournoyer@gmail.com> | 5 | ;;; Copyright © 2019, 2020, 2021, 2022, 2023, 2024 Maxim Cournoyer <maxim.cournoyer@gmail.com> |
| 6 | ;;; Copyright © 2019, 2021 Hartmut Goebel <h.goebel@crazy-compilers.com> | 6 | ;;; Copyright © 2019, 2021 Hartmut Goebel <h.goebel@crazy-compilers.com> |
| 7 | ;;; Copyright © 2020, 2022 Julien Lepiller <julien@lepiller.eu> | 7 | ;;; Copyright © 2020, 2022 Julien Lepiller <julien@lepiller.eu> |
| 8 | ;;; Copyright © 2020, 2022 Marius Bakke <marius@gnu.org> | 8 | ;;; Copyright © 2020, 2022 Marius Bakke <marius@gnu.org> |
| @@ -2907,67 +2907,38 @@ Python file for configuration.") | |||
| 2907 | (define-public python-tox | 2907 | (define-public python-tox |
| 2908 | (package | 2908 | (package |
| 2909 | (name "python-tox") | 2909 | (name "python-tox") |
| 2910 | (version "3.20.0") | 2910 | (version "4.8.0") |
| 2911 | (source | 2911 | (source |
| 2912 | (origin | 2912 | (origin |
| 2913 | (method url-fetch) | 2913 | (method url-fetch) |
| 2914 | (uri (pypi-uri "tox" version)) | 2914 | (uri (pypi-uri "tox" version)) |
| 2915 | (sha256 | 2915 | (sha256 |
| 2916 | (base32 | 2916 | (base32 |
| 2917 | "0nk0nyzhzamcrvn0qqzzy54isxxqwdi28swml7a2ym78c3f9sqpb")))) | 2917 | "0yq3d2wif88d2iih8c2dwjx7rz8axkc7b6gskl5z3k0jbd1wznia")))) |
| 2918 | (build-system python-build-system) | 2918 | (build-system pyproject-build-system) |
| 2919 | (arguments | 2919 | (arguments (list #:tests? #f)) ;require python-devpi-process |
| 2920 | (list | ||
| 2921 | #:phases | ||
| 2922 | #~(modify-phases %standard-phases | ||
| 2923 | (replace 'check | ||
| 2924 | (lambda* (#:key tests? #:allow-other-keys) | ||
| 2925 | (when tests? | ||
| 2926 | (invoke "pytest" "-vv" "-k" | ||
| 2927 | (string-join | ||
| 2928 | (map (lambda (test) | ||
| 2929 | (string-append "not test_" test)) | ||
| 2930 | '("invocation_error" | ||
| 2931 | "create_KeyboadInterrupt" | ||
| 2932 | "exit_code" | ||
| 2933 | "tox_get_python_executable" | ||
| 2934 | "find_alias_on_path" | ||
| 2935 | "get_executable" | ||
| 2936 | "get_executable_no_exist" | ||
| 2937 | "get_sitepackagesdir_error" | ||
| 2938 | "spinner_stdout_not_unicode" | ||
| 2939 | "provision_non_canonical_dep" | ||
| 2940 | "package_setuptools" | ||
| 2941 | "package_poetry" | ||
| 2942 | "parallel_interrupt" | ||
| 2943 | "provision_missing" | ||
| 2944 | "provision_from_pyvenv" | ||
| 2945 | "provision_interrupt_child" | ||
| 2946 | "create" | ||
| 2947 | "run_custom_install_command" | ||
| 2948 | "toxuone_env" | ||
| 2949 | "different_config_cwd" | ||
| 2950 | "test_usedevelop" | ||
| 2951 | "build_backend_without_submodule" | ||
| 2952 | "parallel" | ||
| 2953 | "parallel_live" | ||
| 2954 | "tox_env_var_flags_inserted_isolated")) | ||
| 2955 | " and ")))))))) | ||
| 2956 | (propagated-inputs | 2920 | (propagated-inputs |
| 2957 | (list python-filelock | 2921 | (list python-cachetools |
| 2922 | python-chardet | ||
| 2923 | python-colorama | ||
| 2924 | python-filelock | ||
| 2958 | python-packaging | 2925 | python-packaging |
| 2926 | python-platformdirs | ||
| 2959 | python-pluggy | 2927 | python-pluggy |
| 2960 | python-py | 2928 | python-pyproject-api |
| 2961 | python-six | 2929 | python-tomli |
| 2962 | python-toml | ||
| 2963 | python-virtualenv)) | 2930 | python-virtualenv)) |
| 2964 | (native-inputs | 2931 | (native-inputs |
| 2965 | (list python-flaky | 2932 | (list python-distlib |
| 2966 | python-pathlib2 | 2933 | ;;python-devpi-process ;FIXME: package me |
| 2967 | python-pytest ; >= 2.3.5 | 2934 | python-flaky |
| 2968 | python-pytest-freezegun | 2935 | python-hatchling |
| 2969 | python-pytest-timeout | 2936 | python-hatch-vcs |
| 2970 | python-setuptools-scm)) | 2937 | python-psutil |
| 2938 | python-pytest | ||
| 2939 | python-pytest-mock | ||
| 2940 | python-pytest-xdist | ||
| 2941 | python-re-assert)) | ||
| 2971 | (home-page "https://tox.readthedocs.io") | 2942 | (home-page "https://tox.readthedocs.io") |
| 2972 | (synopsis "Virtualenv-based automation of test activities") | 2943 | (synopsis "Virtualenv-based automation of test activities") |
| 2973 | (description "Tox is a generic virtualenv management and test command line | 2944 | (description "Tox is a generic virtualenv management and test command line |
