summaryrefslogtreecommitdiff
path: root/gnu/packages
diff options
context:
space:
mode:
authorNicolas Graves <ngraves@ngraves.fr>2025-11-23 21:24:20 +0100
committerSharlatan Hellseher <sharlatanus@gmail.com>2025-11-27 19:41:28 +0000
commit8a3cb943dafc2854c5445f0864340abc956700bd (patch)
tree90c8db051202e24217e3c9fa35f279d8b82d3e22 /gnu/packages
parentc77a394072ff2ef4077d333251f1bd9f767c925f (diff)
gnu: python-jupyter-packaging: Switch to pyproject.
* gnu/packages/jupyter.scm (python-jupyter-packaging): [build-system]: Switch to pyproject-build-system. [arguments]<#:phases>: Replace 'check phase with a 'configure-tests phase. [native-inputs]: Add python-setuptools. Remove python-coverage and python-pytest-cov. Change-Id: Ic0d18a42290ba29f88289bcdd8435c0aefb42d80 Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/jupyter.scm13
1 files changed, 7 insertions, 6 deletions
diff --git a/gnu/packages/jupyter.scm b/gnu/packages/jupyter.scm
index 3d67885a760..ce258ebc670 100644
--- a/gnu/packages/jupyter.scm
+++ b/gnu/packages/jupyter.scm
@@ -716,12 +716,12 @@ listen and respond to these events.")
716 (sha256 716 (sha256
717 (base32 717 (base32
718 "1b7ssc627vgrdl21c09w9sxk5fc1ps3g7f70laxag4yw1bb5ax5j")))) 718 "1b7ssc627vgrdl21c09w9sxk5fc1ps3g7f70laxag4yw1bb5ax5j"))))
719 (build-system python-build-system) 719 (build-system pyproject-build-system)
720 (arguments 720 (arguments
721 (list 721 (list
722 #:phases 722 #:phases
723 #~(modify-phases %standard-phases 723 #~(modify-phases %standard-phases
724 (replace 'check 724 (add-before 'check 'configure-tests
725 (lambda* (#:key tests? #:allow-other-keys) 725 (lambda* (#:key tests? #:allow-other-keys)
726 (when tests? 726 (when tests?
727 ;; Disable isolation so that the package environment can be 727 ;; Disable isolation so that the package environment can be
@@ -729,14 +729,15 @@ listen and respond to these events.")
729 (setenv "SOURCE_DATE_EPOCH" "315532800") 729 (setenv "SOURCE_DATE_EPOCH" "315532800")
730 (substitute* "tests/test_build_api.py" 730 (substitute* "tests/test_build_api.py"
731 (("\"-m\", \"build\"" all) 731 (("\"-m\", \"build\"" all)
732 (string-append all ", \"--no-isolation\""))) 732 (string-append all ", \"--no-isolation\"")))))))))
733 (invoke "python" "-m" "pytest" "-vv")))))))
734 (propagated-inputs 733 (propagated-inputs
735 (list python-deprecation python-packaging python-setuptools 734 (list python-deprecation python-packaging python-setuptools
736 python-tomlkit python-wheel)) 735 python-tomlkit python-wheel))
737 (native-inputs 736 (native-inputs
738 (list python-pypa-build python-coverage python-pytest 737 (list python-pypa-build
739 python-pytest-cov python-pytest-mock)) 738 python-pytest
739 python-pytest-mock
740 python-setuptools))
740 (home-page "https://jupyter.org") 741 (home-page "https://jupyter.org")
741 (synopsis "Jupyter packaging utilities") 742 (synopsis "Jupyter packaging utilities")
742 (description "This package provides tools to help build and install 743 (description "This package provides tools to help build and install