From 011e027da50dbef0b5b5ef9fff2d38b392d7d101 Mon Sep 17 00:00:00 2001 From: Ghislain Vaillant Date: Thu, 18 Dec 2025 20:27:04 +0100 Subject: [PATCH] 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 --- gnu/packages/python-xyz.scm | 38 ++++++++++++++++++++----------------- 1 file changed, 21 insertions(+), 17 deletions(-) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 9357cce27ef1b4de680cdc7d0707b017f6db0906..caf300ea05afa42f14d8ffa7c0d8910de72de7f8 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 . + (string-append "--deselect=tests/functional/cli/test_source_is_newer.py" + "::test_check_source_is_newer_when_using_jupytext_to") + ;; Failed: DID NOT RAISE . + (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