summaryrefslogtreecommitdiff
path: root/gnu/packages/python-xyz.scm
diff options
context:
space:
mode:
authorSharlatan Hellseher <sharlatanus@gmail.com>2025-08-07 14:55:00 +0100
committerSharlatan Hellseher <sharlatanus@gmail.com>2025-08-07 18:33:38 +0100
commitc22b6731d457d273c36ea220a673b3f81ac3dde5 (patch)
tree0ca7446ef1d8637e1b62f62903b75a5affef0ca3 /gnu/packages/python-xyz.scm
parentc1aa803542eb946387be6e8405189565e870f1ea (diff)
gnu: Add python-session-info2.
* gnu/packages/python-xyz.scm (python-session-info2): New variable. Change-Id: I8773329702f7ef7c6c9a929317cc3d5295b8b507
Diffstat (limited to 'gnu/packages/python-xyz.scm')
-rw-r--r--gnu/packages/python-xyz.scm30
1 files changed, 30 insertions, 0 deletions
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 3bf128b976..2d3b335747 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -1010,6 +1010,36 @@ new type and helper functions to integrate it nicely with the Python
stdlib.")
(license license:expat)))
+(define-public python-session-info2
+ (package
+ (name "python-session-info2")
+ (version "0.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "session_info2" version))
+ (sha256
+ (base32 "0xs1mcdz0hf626m3421ryv4f7b5rixz2hm8x88czx2i9196x69g9"))))
+ (build-system pyproject-build-system)
+ (arguments
+ (list
+ #:test-flags
+ #~(list "--deselect=tests/test_synthetic.py::test_gpu"
+ ;; Tests require Jupyter Client.
+ "--ignore=tests/test_subprocess.py")))
+ (native-inputs
+ (list python-hatch-docstring-description
+ python-hatch-vcs
+ python-hatchling
+ python-pytest
+ python-pytest-asyncio))
+ (home-page "https://session-info2.readthedocs.io/")
+ (synopsis "Print versions of imported packages")
+ (description
+ "This package implements a functionality to print versions of imported
+Python packages.")
+ (license license:mpl2.0)))
+
(define-public python-shxparser
(package
(name "python-shxparser")