summaryrefslogtreecommitdiff
path: root/gnu/packages/python-xyz.scm
diff options
context:
space:
mode:
authorSharlatan Hellseher <sharlatanus@gmail.com>2025-12-18 22:05:03 +0000
committerSharlatan Hellseher <sharlatanus@gmail.com>2025-12-18 22:05:03 +0000
commitfdb8bdc68923da67aeaf616427ca47c807615127 (patch)
tree4cd07a42af17741ec5c94d5e68917ff27420b6d1 /gnu/packages/python-xyz.scm
parent011e027da50dbef0b5b5ef9fff2d38b392d7d101 (diff)
gnu: python-jupytext: Move to jupyter.
* gnu/packages/python-xyz.scm (python-jupytext): Move from here ... * gnu/packages/jupyter.scm: ... to here. Change-Id: I02697361195c0bada08122cecb2dfb16598595cd
Diffstat (limited to 'gnu/packages/python-xyz.scm')
-rw-r--r--gnu/packages/python-xyz.scm65
1 files changed, 0 insertions, 65 deletions
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index caf300ea05a..426b141766e 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -2374,71 +2374,6 @@ asynchronous one follows
design}.")
(license license:asl2.0)))
-(define-public python-jupytext
- (package
- (name "python-jupytext")
- (version "1.18.1")
- (source
- (origin
- (method git-fetch)
- (uri (git-reference
- (url "https://github.com/mwouts/jupytext")
- (commit (string-append "v" version))))
- (file-name (git-file-name name version))
- (sha256
- (base32 "01vvi5aab7lahj57ng5v4svjw18xrlgnasz877lqvdf4m6cpi8s9"))))
- (build-system pyproject-build-system)
- (arguments
- (list
- ;; tests: 4017 passed, 173 skipped, 2 deselected, 1 warning
- #:test-flags
- #~(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
- (lambda _
- ;; some tests fail when HOME=/homeless-shelter.
- (setenv "HOME" "/tmp")
- ;; OSError: [Errno 18] Invalid cross-device link
- (setenv "TMPDIR" "/tmp"))))))
- (native-inputs
- (list python-hatchling
- python-jupyter-client
- python-jupyter-server
- python-pytest
- python-pytest-asyncio))
- (propagated-inputs
- (list python-markdown-it-py
- python-mdit-py-plugins
- python-nbformat
- python-packaging
- python-pyyaml))
- (home-page "https://jupytext.readthedocs.io/")
- (synopsis
- "Jupyter notebooks as Markdown documents, Julia, Python or R scripts")
- (description
- "Jupytext is a plugin for Jupyter that can save Jupyter notebooks as
-either Markdown files or scripts in many languages. Common use cases for
-Jupytext are:
-
-@itemize
-@item version control on Jupyter Notebooks
-@item editing, merging or refactoring notebooks in your favorite text editor
-@item applying Q&A checks on notebooks.
-@end itemize
-")
- (license license:expat)))
-
(define-public python-concurrent-log-handler
(package
(name "python-concurrent-log-handler")