gnu: python-executing: Update to 2.2.0.

* gnu/packages/python-xyz.scm (python-executing): Update to 2.2.0.
  [arguments] <phases>: Add 'fix-tests.
  [native-inputs]: Remove python-toml; add python-rich.

Change-Id: Ic03771d27d7602799619bc962426697a2e7aac19
This commit is contained in:
Sharlatan Hellseher 2025-07-16 11:37:15 +01:00
parent c8cc9c00ab
commit 3c794f2655
No known key found for this signature in database
GPG key ID: 76D727BFF62CD2B5

View file

@ -12559,25 +12559,37 @@ writable properties, cached properties, etc.")
(define-public python-executing
(package
(name "python-executing")
(version "2.1.0")
(version "2.2.0")
(source
(origin
(method url-fetch)
(uri (pypi-uri "executing" version))
(sha256
(base32 "1axrwh7kr7nshzjw6vj9w9hn3rqh9af2c257ll7iba0d4vfpv8lf"))))
(base32 "0mb74ajjfhzscvwxr9qazjs2q7il2fvyicm7s58jbzh8h418q42x"))))
(build-system pyproject-build-system)
(arguments
(list
;; AssertionError: assert 'test failure' in ''
#:test-flags #~(list "-k" "not test_two_statement_lookups")))
#:test-flags
;; Test needs IPython
#~(list "-k" "not test_two_statement_lookups")
#:phases
#~(modify-phases %standard-phases
(add-after 'unpack 'fix-tests
(lambda _
;; See: <https://github.com/alexmojaki/executing/issues/99>.
(substitute* "pyproject.toml"
(("ignore_missing_imports = true.*")
"ignore_missing_imports = true
[tool.pytest.ini_options]
python_functions = \"test_\"\n")))))))
(native-inputs
(list python-asttokens
python-littleutils
python-pytest
python-rich
python-setuptools
python-setuptools-scm
python-toml
python-wheel))
(home-page "https://github.com/alexmojaki/executing")
(synopsis "Get information about what a Python frame is currently doing")