[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
164/361: gnu: python-nbval: Move to pyproject-build-system.
From: |
guix-commits |
Subject: |
164/361: gnu: python-nbval: Move to pyproject-build-system. |
Date: |
Fri, 22 Nov 2024 06:00:33 -0500 (EST) |
andreas pushed a commit to branch python-team
in repository guix.
commit 131601908d6de3ef6927b4f5d19626cf58decbd2
Author: Nicolas Graves <ngraves@ngraves.fr>
AuthorDate: Fri May 10 00:53:26 2024 +0200
gnu: python-nbval: Move to pyproject-build-system.
* gnu/packages/python-check.scm (python-nbval):
[build-system]: Move to pyproject-build-system.
[arguments]: Move <#:phases> check phase replacement into proper
<#:test-flags>.
[native-inputs]: Add python-pytest.
[propagated-inputs]: Add python-six; remove python-pytest.
Change-Id: I93aa282399eb52636ee5561b5d8fb7bb5b93f9e0
Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
---
gnu/packages/python-check.scm | 37 ++++++++++++++++++++-----------------
1 file changed, 20 insertions(+), 17 deletions(-)
diff --git a/gnu/packages/python-check.scm b/gnu/packages/python-check.scm
index fd1e188788..04e0fafe66 100644
--- a/gnu/packages/python-check.scm
+++ b/gnu/packages/python-check.scm
@@ -1699,29 +1699,32 @@ notebooks.")
(uri (pypi-uri "nbval" version))
(sha256
(base32 "154h6xpf9h6spgg3ax6k79fd40j197ipwnfjmf5rc2kvc2bmgjbp"))))
- (build-system python-build-system)
+ (build-system pyproject-build-system)
(arguments
- `(#:phases
- (modify-phases %standard-phases
- (add-before 'check 'fix-test
- (lambda _
- ;; This test fails because of a mismatch in the output of LaTeX
- ;; equation environments. Seems OK to skip.
- (delete-file
- "tests/ipynb-test-samples/test-latex-pass-correctouput.ipynb")))
- (replace 'check
- (lambda* (#:key tests? #:allow-other-keys)
- (when tests?
- (invoke "pytest" "-vv"
- ;; nbdime forms a dependency cycle
- "--ignore=tests/test_nbdime_reporter.py")))))))
- (native-inputs (list python-pytest-cov python-sympy))
+ (list
+ #:test-flags
+ '(list
+ ;; This test fails because of a mismatch in the output of LaTeX
+ ;; equation environments. Seems OK to skip.
+ "--ignore=tests/test_nbdime_reporter.py")
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-before 'check 'fix-test
+ (lambda _
+ ;; This test fails because of a mismatch in the output of LaTeX
+ ;; equation environments. Seems OK to skip.
+ (delete-file
+
"tests/ipynb-test-samples/test-latex-pass-correctouput.ipynb"))))))
+ (native-inputs
+ (list python-pytest
+ python-pytest-cov
+ python-sympy))
(propagated-inputs
(list python-coverage
python-ipykernel
python-jupyter-client
python-nbformat
- python-pytest))
+ python-six))
(home-page "https://github.com/computationalmodelling/nbval";)
(synopsis "Pytest plugin to validate Jupyter notebooks")
(description
- 121/361: gnu: python-rope: Update to 1.13.0., (continued)
- 121/361: gnu: python-rope: Update to 1.13.0., guix-commits, 2024/11/22
- 129/361: gnu: python-mistune: Update to 3.0.2., guix-commits, 2024/11/22
- 138/361: gnu: python-black: Move to pyproject-build-system., guix-commits, 2024/11/22
- 123/361: gnu: python-lsp-server: Update to 1.11.0., guix-commits, 2024/11/22
- 139/361: gnu: python-isort: Move to pyproject-build-system., guix-commits, 2024/11/22
- 140/361: gnu: python-codespell: Improve package style., guix-commits, 2024/11/22
- 142/361: gnu: python-http-ece: Update to 1.2.0., guix-commits, 2024/11/22
- 144/361: gnu: python-aionotify: Update to 0.3.0., guix-commits, 2024/11/22
- 153/361: gnu: python-apiron: Move to pyproject-build-system., guix-commits, 2024/11/22
- 171/361: gnu: python-cucumber-tag-expressions: Move to pyproject-build-system., guix-commits, 2024/11/22
- 164/361: gnu: python-nbval: Move to pyproject-build-system.,
guix-commits <=
- 168/361: gnu: python-cbor2: Move to pyproject-build-system., guix-commits, 2024/11/22
- 166/361: gnu: gunicorn: Update to 21.2.0., guix-commits, 2024/11/22
- 173/361: gnu: python-parse-type: Move to pyproject-build-system., guix-commits, 2024/11/22
- 179/361: gnu: python-pytest-remotedata: Ignore failing test., guix-commits, 2024/11/22
- 178/361: gnu: abjad-ext-nauert: Update to 3.19., guix-commits, 2024/11/22
- 187/361: gnu: python-jaraco-test: Move to pyproject-build-system., guix-commits, 2024/11/22
- 190/361: gnu: python-sparse: Move to pyproject-build-system., guix-commits, 2024/11/22
- 193/361: gnu: python-apprise: Improve package style., guix-commits, 2024/11/22
- 194/361: gnu: python-autoflake: Update to 2.3.1., guix-commits, 2024/11/22
- 203/361: gnu: python-uqbar: Update to 0.6.9., guix-commits, 2024/11/22