guix_mirror_bot pushed a commit to branch python-team
in repository guix.
commit edd4a6ec2eb35a2f619892f9eba3fe0bfb45525b
Author: Sharlatan Hellseher <[email protected]>
AuthorDate: Sun Jan 25 17:19:12 2026 +0000
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
---
gnu/packages/python-xyz.scm | 29 +++++++++++++++++++----------
1 file changed, 19 insertions(+), 10 deletions(-)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 8876f483d2..3712436258 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -33083,28 +33083,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