guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

08/397: gnu: python-pyproject-api: Update to 1.8.0.


From: guix-commits
Subject: 08/397: gnu: python-pyproject-api: Update to 1.8.0.
Date: Thu, 16 Jan 2025 04:29:45 -0500 (EST)

rekado pushed a commit to branch python-team
in repository guix.

commit 56fa6d77c6b6cbe871075b6c11049aa1ccc7d461
Author: Ricardo Wurmus <rekado@elephly.net>
AuthorDate: Mon Dec 16 16:25:04 2024 +0100

    gnu: python-pyproject-api: Update to 1.8.0.
    
    * gnu/packages/python-xyz.scm (python-pyproject-api): Update to 1.8.0.
    [arguments]: Disable two tests; remove phase 'relax-packaging.
    [native-inputs]: Add python-pytest-cov; python-setuptools, and python-wheel.
    
    Change-Id: I3bdb56d7498ae8d1b59a52158405f0cf6ba25e61
---
 gnu/packages/python-xyz.scm | 22 +++++++++++-----------
 1 file changed, 11 insertions(+), 11 deletions(-)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index ca4daae42d..0fa3d60826 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -22648,31 +22648,31 @@ manage (install/update) them for you.")
 (define-public python-pyproject-api
   (package
     (name "python-pyproject-api")
-    (version "1.6.1")
+    (version "1.8.0")
     (source
      (origin
        (method url-fetch)
        (uri (pypi-uri "pyproject_api" version))
        (sha256
-        (base32 "0f75rajzk72ay4x9ajw1835amm932q7cdn0yrbwiy3fwi80xq5qq"))))
+        (base32 "15l4fx1v4dqhhysxd2mcm1vn4qvrwbqmf6y2zkp36pgb5ygh9f3p"))))
     (build-system pyproject-build-system)
     (arguments
      (list
       #:test-flags
-      ;; This test fails with AssertionError.
-      #~(list "-k" "not test_setuptools_prepare_metadata_for_build_wheel")
-      #:phases #~(modify-phases %standard-phases
-                   (add-after 'unpack 'relax-packaging
-                     (lambda _
-                       (substitute* "pyproject.toml"
-                         ;; We have packaging 21.3.
-                         (("packaging>=23.1") "packaging>=21.3")))))))
+      '(list "-k" (string-append
+                   ;; This fails because of extraneous parentheses
+                   "not test_setuptools_prepare_metadata_for_build_wheel"
+                   ;; This fails because wheel shows up in requirements
+                   " and not test_setuptools_get_requires_for_build_wheel"))))
     (native-inputs
      (list python-covdefaults
            python-hatch-vcs
            python-hatchling
            python-pytest
-           python-pytest-mock))
+           python-pytest-cov
+           python-pytest-mock
+           python-setuptools
+           python-wheel))
     (propagated-inputs
      (list python-packaging python-tomli))
     (home-page "https://pyproject-api.readthedocs.io/latest/";)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]