From 5c57715744f4291b253fc487f94d9495f853175d Mon Sep 17 00:00:00 2001 From: Sharlatan Hellseher Date: Sat, 30 May 2026 00:39:56 +0100 Subject: [PATCH] gnu: python-asttokens: Update to 3.0.1. * gnu/packages/python-xyz.scm (python-asttokens): Update to 3.0.1. [source]: Switch to git-fetch. [native-inputs]: Remove python-wheel. Change-Id: I339ee2699aa62b8ee5a5da418032aaa299573991 --- gnu/packages/python-xyz.scm | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 73735059b51..6d5e1a1ebea 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -15534,20 +15534,21 @@ to Python code.") (define-public python-asttokens (package (name "python-asttokens") - (version "3.0.0") + (version "3.0.1") (source (origin - (method url-fetch) - (uri (pypi-uri "asttokens" version)) - (sha256 - (base32 "1ixv6n8cg08n9h6rwyhd3lkzyjiwpbfv56dk338w3c32inm8pk8d")))) + (method git-fetch) + (uri (git-reference + (url "https://github.com/gristlabs/asttokens") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 (base32 "1qqi7dygcv58czrsafc4gf41prfb6shd0crx33kd9wypk0v29afn")))) (build-system pyproject-build-system) (native-inputs (list python-astroid python-pytest python-setuptools - python-setuptools-scm - python-wheel)) + python-setuptools-scm)) (home-page "https://github.com/gristlabs/asttokens") (synopsis "Python library to annotate abstract syntax trees") (description "The @code{asttokens} module annotates Python abstract syntax