[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
32/420: gnu: python-ipython: Update to 8.22.1.
From: |
guix-commits |
Subject: |
32/420: gnu: python-ipython: Update to 8.22.1. |
Date: |
Tue, 26 Nov 2024 16:28:25 -0500 (EST) |
sharlatan pushed a commit to branch python-team
in repository guix.
commit 34cb4adf06fcc54d6bbf883f10e343963e92efb3
Author: Ricardo Wurmus <rekado@elephly.net>
AuthorDate: Tue Feb 27 16:30:26 2024 +0100
gnu: python-ipython: Update to 8.22.1.
* gnu/packages/python-xyz.scm (python-ipython): Update to 8.22.1.
[source]: Use git-fetch.
[build-system]: Use pyproject-build-system.
[arguments]: Disable tests that need git; respect test flags in custom check
phase.
[propagated-inputs]: Remove python-backcall, python-jinja2,
python-jsonschema,
python-matplotlib, python-mistune, python-nbformat, python-numpy,
python-numpydoc, python-pickleshare, python-pyzmq, python-simplegeneric, and
python-terminado; add python-colorama, python-exceptiongroup, and
python-typing-extensions.
[native-inputs]: Remove graphviz, pkg-config, and python-requests; add
python-curio, python-matplotlib, python-nbformat, python-numpy,
python-pandas,
python-pickleshare, python-pytest-asyncio, python-setuptools,
python-testpath,
python-wheel.
Change-Id: Iecdbb03b0f81ef0d4bf84187ef9fcd7ff744f3ab
---
gnu/packages/python-xyz.scm | 59 ++++++++++++++++++++++++---------------------
1 file changed, 32 insertions(+), 27 deletions(-)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 250493cf6f..91a96c506d 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -13005,17 +13005,25 @@ than the default.")
(define-public python-ipython
(package
(name "python-ipython")
- (version "8.5.0")
+ (version "8.22.1")
(source
(origin
- (method url-fetch)
- (uri (pypi-uri "ipython" version ".tar.gz"))
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/ipython/ipython";)
+ (commit version)))
+ (file-name (git-file-name name version))
(sha256
- (base32 "114z175hnv1lgprj06zfcil7lkq013rggjbrc43gsxkmv1fdyyq9"))))
- (build-system python-build-system)
+ (base32 "1gpy8842sdq4wk8h5xns1k7k75wb31vvv4ycjglx4ri5kwwz44aa"))))
+ (build-system pyproject-build-system)
(arguments
- `(#:phases
- (modify-phases %standard-phases
+ (list
+ #:test-flags
+ '(list "-k"
+ ;; These need git.
+ "not test_json_getsysinfo and not IPython.utils.sysinfo.sys_info")
+ #:phases
+ '(modify-phases %standard-phases
(add-after 'unpack 'make-docs-reproducible
(lambda _
(substitute* "IPython/sphinxext/ipython_directive.py"
@@ -13023,39 +13031,36 @@ than the default.")
((".*datetime.datetime.now\\(\\)") "")
(("%timeit") "# %timeit"))))
(replace 'check
- (lambda* (#:key inputs outputs tests? #:allow-other-keys)
+ (lambda* (#:key tests? test-flags #:allow-other-keys)
(when tests?
(setenv "HOME" "/tmp/") ;required by some tests
- (invoke "python" "-m" "pytest" "-vv")))))))
+ (apply invoke "python" "-m" "pytest" "-vv"
+ test-flags)))))))
(inputs (list readline which))
(propagated-inputs
- (list python-backcall
+ (list python-colorama
python-decorator
+ python-exceptiongroup
python-jedi
- python-jinja2
- python-jsonschema
- python-matplotlib
python-matplotlib-inline
- python-mistune
- python-nbformat
- python-numpy
- python-numpydoc
python-pexpect
- python-pickleshare
python-prompt-toolkit
python-pygments
- python-pyzmq
- python-simplegeneric
python-stack-data
- python-terminado
- python-traitlets))
+ python-traitlets
+ python-typing-extensions))
(native-inputs
- (list graphviz
- pkg-config
- ;; For tests.
+ (list python-curio
+ python-matplotlib
+ python-nbformat
+ python-numpy
+ python-pandas
+ python-pickleshare
python-pytest
- python-requests
- python-testpath))
+ python-pytest-asyncio
+ python-setuptools
+ python-testpath
+ python-wheel))
(home-page "https://ipython.org";)
(synopsis "IPython is a tool for interactive computing in Python")
(description
- 14/420: gnu: Add python-setuptools/python-wheel where necessary., (continued)
- 14/420: gnu: Add python-setuptools/python-wheel where necessary., guix-commits, 2024/11/26
- 15/420: gnu: Add missing import., guix-commits, 2024/11/26
- 20/420: gnu: meson-python: Do not delete LICENSES directory., guix-commits, 2024/11/26
- 18/420: gnu: python-typing-extensions: Update to 4.10.0., guix-commits, 2024/11/26
- 16/420: gnu: Add missing import (again)., guix-commits, 2024/11/26
- 19/420: gnu: Add setuptools/wheel to more Python packages., guix-commits, 2024/11/26
- 17/420: gnu: python-sphinx: Update to 6.2.1., guix-commits, 2024/11/26
- 25/420: gnu: python-textual: Update to 0.50.1., guix-commits, 2024/11/26
- 30/420: gnu: python-traitlets: Update to 5.14.1., guix-commits, 2024/11/26
- 13/420: doc: Document new options for pyproject-build-system., guix-commits, 2024/11/26
- 32/420: gnu: python-ipython: Update to 8.22.1.,
guix-commits <=
- 04/420: gnu: python-sphinx: Update to 5.3.0., guix-commits, 2024/11/26
- 21/420: gnu: python-markdown-it-py: Update to 3.0.0., guix-commits, 2024/11/26
- 24/420: gnu: python-jupytext: Update to 1.15.0., guix-commits, 2024/11/26
- 22/420: gnu: python-mdit-py-plugins: Update to 0.4.0., guix-commits, 2024/11/26
- 26/420: gnu: python-myst-parser: Relax some requirements., guix-commits, 2024/11/26
- 23/420: gnu: python-rich: Update to 13.7.0., guix-commits, 2024/11/26
- 28/420: gnu: Add python-pytest-mypy-testing., guix-commits, 2024/11/26
- 31/420: gnu: python-prompt-toolkit: Update to 3.0.43., guix-commits, 2024/11/26
- 33/420: gnu: Add python-rapidfuzz., guix-commits, 2024/11/26
- 37/420: gnu: python-eventlet: Update to 0.35.2., guix-commits, 2024/11/26