guix-commits
[Top][All Lists]
Advanced

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

40/96: gnu: python-scikit-build: Update to 0.17.1.


From: guix-commits
Subject: 40/96: gnu: python-scikit-build: Update to 0.17.1.
Date: Wed, 19 Apr 2023 21:41:11 -0400 (EDT)

apteryx pushed a commit to branch core-updates
in repository guix.

commit 798d91df26dc6edc0b9e5749a69d8f505e01e0c7
Author: Maxim Cournoyer <maxim.cournoyer@gmail.com>
AuthorDate: Mon Apr 17 23:20:23 2023 -0400

    gnu: python-scikit-build: Update to 0.17.1.
    
    * gnu/packages/python-xyz.scm (python-scikit-build): Update to 0.17.1.
    [source]: Update URI.
    [arguments]: Update check phase override.
    [native-inputs]: Add python-hatchling, python-hatch-fancy-pypi-readme and
    python-hatch-vcs.
    [propagated-inputs]: Add python-tomli.
---
 gnu/packages/python-xyz.scm | 23 ++++++++++++++++-------
 1 file changed, 16 insertions(+), 7 deletions(-)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index c65b06bfd1..46ae1a6341 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -28621,13 +28621,13 @@ and frame grabber interface.")
 (define-public python-scikit-build
   (package
     (name "python-scikit-build")
-    (version "0.14.0")
+    (version "0.17.1")
     (source
      (origin
        (method url-fetch)
-       (uri (pypi-uri "scikit-build" version))
+       (uri (pypi-uri "scikit_build" version))
        (sha256
-        (base32 "1wx1m9vnxnnz59lyaisgyxldp313kciyd4af8lf112vb8vbjy9yk"))))
+        (base32 "0v1qcn3nsjxqdl6fa07b7acq6xndqbvvic5dvsgbjgldkjr1drqp"))))
     (build-system pyproject-build-system)
     (arguments
      (list
@@ -28645,7 +28645,9 @@ and frame grabber interface.")
                 ;; These tests attempt to pull dependencies from the Internet.
                 (delete-file "tests/test_distribution.py")
                 (delete-file "tests/test_pep518.py")
-                (invoke "pytest" "-vv"
+                ;; The tests marked as "isolate" are tests that require access
+                ;; to the network.
+                (invoke "pytest" "-vv" "-m" "not isolated"
                         "-n" (number->string (parallel-job-count))
                         "-k" (string-append
                               ;; These tests attempt to write to read-only
@@ -28664,14 +28666,21 @@ and frame grabber interface.")
                               ;; nondeterministically (see:
                               ;; 
https://github.com/scikit-build/scikit-build/issues/711).
                               "and not test_generator_cleanup "
-                              "and not test_generator_selection "))))))))
+                              "and not test_generator_selection "
+                              ;; The compiler test fails with a
+                              ;; SKBuildGeneratorNotFoundError error (see:
+                              ;; 
https://github.com/scikit-build/scikit-build/issues/945).
+                              "and not test_cxx_compiler "))))))))
     (native-inputs
      (list cmake-minimal
            gfortran
-           git-minimal/pinned                      ;for tests
+           git-minimal/pinned           ;for tests
            ninja
            python-coverage
            python-cython
+           python-hatchling
+           python-hatch-fancy-pypi-readme
+           python-hatch-vcs
            python-mock
            python-packaging
            python-path
@@ -28683,7 +28692,7 @@ and frame grabber interface.")
            python-requests
            python-setuptools-scm))
     (propagated-inputs
-     (list python-distro python-packaging python-wheel))
+     (list python-distro python-packaging python-tomli python-wheel))
     (home-page "https://github.com/scikit-build/scikit-build";)
     (synopsis "Build system generator for Python C/C++/Fortran/Cython 
extensions")
     (description "Scikit-build is an improved build system generator for



reply via email to

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