guix_mirror_bot pushed a commit to branch python-team
in repository guix.

commit d6d686a8b168d7d1cbb5aaa0b1b9fbd7ddd9b4ac
Author: Sharlatan Hellseher <[email protected]>
AuthorDate: Fri Dec 5 15:26:27 2025 +0000

    gnu: Add python-typing-inspection.
    
    * gnu/packages/python-xyz.scm (python-typing-inspection): New variable.
    
    Change-Id: I1823a5683846b7c3620ed42c157bda437f7451f0
---
 gnu/packages/python-xyz.scm | 27 +++++++++++++++++++++++++++
 1 file changed, 27 insertions(+)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index f35d6827ff..14a676652b 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -39162,6 +39162,33 @@ uses ujson.")
 inspection of types defined in the Python standard typing module.")
     (license license:expat)))
 
+(define-public python-typing-inspection
+  (package
+    (name "python-typing-inspection")
+    (version "0.4.2")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+              (url "https://github.com/pydantic/typing-inspection";)
+              (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "1dqib4arxxaxwyapw6y4pcvm38l8djkhd8cfr149w42bw4xrqr38"))))
+    (build-system pyproject-build-system)
+    ;; tests: 89 passed, 3 skipped
+    (native-inputs
+     (list python-pytest
+           python-hatchling))
+    (propagated-inputs
+     (list python-typing-extensions))
+    (home-page "https://github.com/pydantic/typing-inspection";)
+    (synopsis "Runtime typing introspection tools")
+    (description
+     "@code{typing-inspection} provides tools to inspect type annotations at
+runtime.")
+    (license license:expat)))
+
 (define-public python-typogrify
   (package
     (name "python-typogrify")

Reply via email to