From 4c88f358cecdb11cdeade27e25415fd2798ec20f Mon Sep 17 00:00:00 2001 From: Sharlatan Hellseher Date: Wed, 15 Oct 2025 14:33:24 +0100 Subject: [PATCH] gnu: python-typeshed-client: Update to 2.8.2. * gnu/packages/python-xyz.scm (python-typeshed-client): Update to 2.8.2. [source]: Switch to git-fetch providing test data. [arguments] : Use custom. [propagated-inputs]: Add python-typing-extensions. [native-inputs]: Remove python-wheel. Change-Id: Icfbb809b45e0ca9e4b29237f0f622d77928f9730 --- gnu/packages/python-xyz.scm | 27 ++++++++++++++++++--------- 1 file changed, 18 insertions(+), 9 deletions(-) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 8b34753e7b23edbbe50d53bdc52310db6e8131aa..d04127e03b2e140c6669325a937f247e6914aeb1 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -36299,16 +36299,25 @@ Python, with static types.") (define-public python-typeshed-client (package (name "python-typeshed-client") - (version "2.3.0") - (source (origin - (method url-fetch) - (uri (pypi-uri "typeshed_client" version)) - (sha256 - (base32 - "1vdwp1jjg27b22qxgm49v21nb8vm1iki3bfsm0fnq2rsz5alfwz2")))) + (version "2.8.2") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/JelleZijlstra/typeshed_client") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "0i74ygf49184ab1ipfdzf706wnzs3id15rkysqarzcngdydrcszs")))) (build-system pyproject-build-system) - (propagated-inputs (list python-importlib-resources)) - (native-inputs (list python-setuptools python-wheel)) + (arguments + (list #:test-backend #~'custom + #:test-flags #~(list "tests/test.py"))) + (native-inputs + (list python-setuptools)) + (propagated-inputs + (list python-importlib-resources + python-typing-extensions)) (home-page "https://github.com/JelleZijlstra/typeshed_client") (synopsis "Library for accessing stubs in typeshed") (description