summaryrefslogtreecommitdiff
path: root/gnu/packages/python-xyz.scm
diff options
context:
space:
mode:
authorSharlatan Hellseher <sharlatanus@gmail.com>2026-01-25 17:19:12 +0000
committerAndreas Enge <andreas@enge.fr>2026-02-07 12:28:42 +0100
commit5354fbaaca33e65c8c466a1c3626f17f5454c90f (patch)
tree9c6c541c14582d9ffe08f3109434c488c1653b96 /gnu/packages/python-xyz.scm
parentd09690436eab154e55307f359722eb1c2416ae1e (diff)
gnu: python-aspectlib: Update to 2.0.0.
* gnu/packages/python-xyz.scm (python-aspectlib): Update to 2.0.0. [arguments] <test-flags>: Ignore only integration tests. [phases]{fix-pytest-config}: New phase. [native-inputs]: Remove python-pytest and python-wheel; add python-pytest-8. Change-Id: I4a940367c9a54bd8ecdccb8b6297f5b172925460
Diffstat (limited to 'gnu/packages/python-xyz.scm')
-rw-r--r--gnu/packages/python-xyz.scm29
1 files changed, 19 insertions, 10 deletions
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index e69490469eb..b051bd0ec40 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -33231,28 +33231,37 @@ It implements advanced Python dictionaries with dot notation access.")
(define-public python-aspectlib
(package
(name "python-aspectlib")
- (version "1.5.2")
+ (version "2.0.0")
(source
(origin
(method git-fetch)
(uri (git-reference
- (url "https://github.com/ionelmc/python-aspectlib")
- (commit (string-append "v" version))))
+ (url "https://github.com/ionelmc/python-aspectlib")
+ (commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
- (base32 "1mfhflg33684gkp6ckkywshn4xa3vqaia521kcagaxgr3xm6c9pv"))))
+ (base32 "07xwp6gp1h5hcyakx607xbgmciqxm799v2k7c8wnrqqxd410zyis"))))
(build-system pyproject-build-system)
(arguments
(list
#:test-flags
#~(list ;; XXX: Require more dependencies.
"--ignore=tests/test_integrations.py"
- "--ignore=tests/test_integrations_py3.py"
- ;; XXX: Unimportant warning errors.
- "-k" (string-append "not test_story_empty_play_proxy_class"
- " and not test_story_half_play_proxy_class"))))
- (native-inputs (list python-pytest python-setuptools python-tornado python-wheel))
- (propagated-inputs (list python-fields))
+ "--ignore=tests/test_integrations_py3.py")
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-after 'unpack 'fix-pytest-config
+ (lambda _
+ ;; Tests fails with warnings: pytest.PytestRemovedIn9Warning:
+ ;; The (path: py.path.local) argument is deprecated, please
+ ;; use (collection_path: pathlib.Path).
+ (delete-file "pytest.ini"))))))
+ (native-inputs
+ (list python-pytest-8
+ python-setuptools
+ python-tornado))
+ (propagated-inputs
+ (list python-fields))
(home-page "https://github.com/ionelmc/python-aspectlib")
(synopsis "Python monkey-patching and decorators")
(description