summaryrefslogtreecommitdiff
path: root/gnu/packages/python-xyz.scm
diff options
context:
space:
mode:
authorGhislain Vaillant <ghislain.vaillant@inria.fr>2025-12-18 20:27:04 +0100
committerSharlatan Hellseher <sharlatanus@gmail.com>2025-12-18 21:59:02 +0000
commit011e027da50dbef0b5b5ef9fff2d38b392d7d101 (patch)
tree6f75ff6a99466bc49387bef22d151fdc9137e275 /gnu/packages/python-xyz.scm
parent58805ac41451e9cb5e17fae48c5cd0262607fbee (diff)
gnu: python-jupytext: Update to 1.18.1.
* gnu/packages/python-xyz.scm (python-jupytext): Update to 1.18.1. [arguments]<#:tests-flags>: Update filters. [propagated-inputs]: Add python-packaging and python-pyyaml. [native-inputs]: Add python-hatchling, python-jupyter-client and python-pytest-asyncio. Remove git-minimal, python-gitpython, python-ipython-genutils python-pyyaml, python-toml, python-setuptools and python-wheel. [home-page]: Update URL. Change-Id: I8096565639b8da3372465c72554af28ade20eead Signed-off-by: Cayetano Santos <csantosb@inventati.org>
Diffstat (limited to 'gnu/packages/python-xyz.scm')
-rw-r--r--gnu/packages/python-xyz.scm38
1 files changed, 21 insertions, 17 deletions
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 9357cce27ef..caf300ea05a 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -2377,7 +2377,7 @@ design}.")
(define-public python-jupytext
(package
(name "python-jupytext")
- (version "1.15.0")
+ (version "1.18.1")
(source
(origin
(method git-fetch)
@@ -2386,17 +2386,23 @@ design}.")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
- (base32 "0bgf0c4py22ip7qfla8mrmypfh3bg151c8awsr1gvcbw7m4ni01k"))))
+ (base32 "01vvi5aab7lahj57ng5v4svjw18xrlgnasz877lqvdf4m6cpi8s9"))))
(build-system pyproject-build-system)
(arguments
(list
+ ;; tests: 4017 passed, 173 skipped, 2 deselected, 1 warning
#:test-flags
- #~(list "--ignore-glob=tests/test_pre_commit_*.py"
- "-k" (string-join
- (list "not test_create_header_with_set_formats"
- "test_pre_commit_hook"
- "test_sync_with_pre_commit_hook")
- " and not "))
+ #~(list
+ ;; Requires git.
+ "--ignore=tests/external"
+ ;; Requires python-black.
+ "--ignore=tests/functional/contents_manager"
+ ;; Failed: DID NOT RAISE <class 'ValueError'>.
+ (string-append "--deselect=tests/functional/cli/test_source_is_newer.py"
+ "::test_check_source_is_newer_when_using_jupytext_to")
+ ;; Failed: DID NOT RAISE <class 'jupytext.cli.SynchronousModificationError'>.
+ (string-append "--deselect=tests/functional/cli/test_synchronous_changes.py"
+ "::test_jupytext_to_raises_on_synchronous_edits"))
#:phases
#~(modify-phases %standard-phases
(add-before 'check 'pre-check
@@ -2406,20 +2412,18 @@ design}.")
;; OSError: [Errno 18] Invalid cross-device link
(setenv "TMPDIR" "/tmp"))))))
(native-inputs
- (list git-minimal/pinned
- python-gitpython
- python-ipython-genutils
+ (list python-hatchling
+ python-jupyter-client
python-jupyter-server
- python-pyaml
- python-toml
python-pytest
- python-setuptools
- python-wheel))
+ python-pytest-asyncio))
(propagated-inputs
(list python-markdown-it-py
python-mdit-py-plugins
- python-nbformat))
- (home-page "https://github.com/mwouts/jupytext")
+ python-nbformat
+ python-packaging
+ python-pyyaml))
+ (home-page "https://jupytext.readthedocs.io/")
(synopsis
"Jupyter notebooks as Markdown documents, Julia, Python or R scripts")
(description