diff options
| author | Sharlatan Hellseher <sharlatanus@gmail.com> | 2026-01-21 10:54:44 +0000 |
|---|---|---|
| committer | Andreas Enge <andreas@enge.fr> | 2026-02-07 12:28:31 +0100 |
| commit | 252d45be896555960f931a68fb1dd5df3055e779 (patch) | |
| tree | a02577c454a5cc7e0edabd7009ab4889c7c726f1 /gnu/packages | |
| parent | 4dbea4f8af4dae2ad9e93c409d797ed91be199b3 (diff) | |
gnu: python-execnet: Update to 2.1.2.
* gnu/packages/python-xyz.scm (python-execnet): Update to 2.1.2.
[phases]{adjust-for-pytest-7.2+, pretend-version, prepare-for-tests}:
Remove phases.
{set-version, pre-check}: New phases.
Change-Id: Ifd26ee4d592862ed8c812fae61fafa06fdfac9da
Diffstat (limited to 'gnu/packages')
| -rw-r--r-- | gnu/packages/python-xyz.scm | 30 |
1 files changed, 8 insertions, 22 deletions
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 540be89d9f2..ba0ce4bb1fd 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -19185,7 +19185,7 @@ friendly JSON encoder, decorators for retries and logging.") (define-public python-execnet (package (name "python-execnet") - (version "2.1.1") + (version "2.1.2") (source (origin (method git-fetch) @@ -19194,35 +19194,21 @@ friendly JSON encoder, decorators for retries and logging.") (commit (string-append "v" version)))) (file-name (git-file-name name version)) (sha256 - (base32 "0xlfd0h9sjl0jpc2fc689a497chwbagali7qr364k75hdyax3jfq")))) + (base32 "1msiqa1qz6dkdh4c3z351cld12qh8amhq4j1mdkq8sz015j47vnx")))) (build-system pyproject-build-system) (arguments (list - ;; ;; This test hasn't been updated for the latest Pytest yet: - ;; #:test-flags #~(list "--ignore" "testing/test_rsync.py") + ;; tests: 466 passed, 614 skipped, 4 xfailed, 11 xpassed, 1 warning #:phases #~(modify-phases %standard-phases - (add-after 'unpack 'adjust-for-pytest-7.2+ - (lambda _ - ;; This test fails with an error because @py.test has been - ;; deprecated for @pytest in recent Pytest. - (substitute* "testing/test_rsync.py" - (("@py.test") - "@pytest")))) - (add-before 'build 'pretend-version - ;; The version string is usually derived via setuptools-scm, but - ;; without the git metadata available this fails. + (add-before 'build 'set-verion (lambda _ - ;; hatch-vcs uses setuptools under the hood. (setenv "SETUPTOOLS_SCM_PRETEND_VERSION" - ;; Massage the version string to a PEP-0440 compatible - ;; one. - #$(car (string-split version #\-))))) - (add-before 'check 'prepare-for-tests + #$(version-major+minor+point version)))) + (add-before 'check 'pre-check (lambda _ - ;; Unset PYTHONDONTWRITEBYTECODE to match the - ;; expectations of a test in - ;; 'testing/test_gateway.py'. + ;; Unset PYTHONDONTWRITEBYTECODE to match the expectations of a + ;; test in 'testing/test_gateway.py'. (unsetenv "PYTHONDONTWRITEBYTECODE")))))) (native-inputs (list python-hatchling |
