[med-svn] [Git][python-team/packages/mypy][master] 3 commits: d/patches/typing_extensions_4.10.path: cherry-pick from upstream. Closes: #1065805.

Michael R. Crusoe (@crusoe) gitlab at salsa.debian.org
Mon Mar 11 15:54:13 GMT 2024



Michael R. Crusoe pushed to branch master at Debian Python Team / packages / mypy


Commits:
a650f02c by Michael R. Crusoe at 2024-03-11T14:30:53+01:00
d/patches/typing_extensions_4.10.path: cherry-pick from upstream. Closes: #1065805.

- - - - -
bbc821fa by Michael R. Crusoe at 2024-03-11T14:33:53+01:00
d/control: pin minimum version of the typing_extensions dependency to 4.10

- - - - -
7bf892f7 by Michael R. Crusoe at 2024-03-11T14:37:18+01:00
routine-update: Ready to upload to unstable

- - - - -


4 changed files:

- debian/changelog
- debian/control
- debian/patches/series
- + debian/patches/typing_extensions_4.10.patch


Changes:

=====================================
debian/changelog
=====================================
@@ -1,3 +1,11 @@
+mypy (1.9.0-2) unstable; urgency=medium
+
+  * d/patches/typing_extensions_4.10.path: cherry-pick from upstream.
+    Closes: #1065805.
+  * d/control: pin minimum version of the typing_extensions dependency to 4.10
+
+ -- Michael R. Crusoe <crusoe at debian.org>  Mon, 11 Mar 2024 14:37:18 +0100
+
 mypy (1.9.0-1) unstable; urgency=medium
 
   * New upstream version


=====================================
debian/control
=====================================
@@ -21,7 +21,7 @@ Build-Depends: debhelper-compat (= 13),
                python3-typeshed,
                python3-psutil,
                python3-mypy-extensions,
-               python3-typing-extensions,
+               python3-typing-extensions (>= 4.10.0),
                python3-virtualenv <!nocheck>,
                python3-typeshed <!nocheck>,
                python3-all-dev,


=====================================
debian/patches/series
=====================================
@@ -1,3 +1,4 @@
+typing_extensions_4.10.patch
 self_check.patch
 hint-typeshed-package
 verbose


=====================================
debian/patches/typing_extensions_4.10.patch
=====================================
@@ -0,0 +1,30 @@
+From eb84794bd02b20e051103f91b6d1dcb01c0e342c Mon Sep 17 00:00:00 2001
+From: Alex Waygood <Alex.Waygood at Gmail.com>
+Date: Sun, 18 Feb 2024 13:33:59 +0000
+Subject: FIx stubtest's tests to work with the latest version of `typing_extensions`
+Origin: upstream,https://github.com/python/mypy/commit/eb84794bd02b20e051103f91b6d1dcb01c0e342c
+Forwarded: not-needed
+
+Stubtest's tests will start failing when `typing_extensions==4.10.0`
+comes out, due to some new `ClassVar`s on `typing_extensions.TypedDict`.
+This PR fixes that.
+
+Fixes https://github.com/python/typing_extensions/issues/339. Note:
+there's no need to cherry-pick this to the `release-1.9.0` branch, since
+the daily workflow `typing_extensions` uses runs mypy's tests using the
+mypy `master` branch.
+---
+ test-data/unit/lib-stub/typing_extensions.pyi | 2 ++
+ 1 file changed, 2 insertions(+)
+
+--- mypy.orig/test-data/unit/lib-stub/typing_extensions.pyi
++++ mypy/test-data/unit/lib-stub/typing_extensions.pyi
+@@ -61,6 +61,8 @@
+     __optional_keys__: frozenset[str]
+     __readonly_keys__: frozenset[str]
+     __mutable_keys__: frozenset[str]
++    __closed__: bool
++    __extra_items__: Any
+     __total__: bool
+ 
+ def TypedDict(typename: str, fields: Dict[str, Type[_T]], *, total: Any = ...) -> Type[dict]: ...



View it on GitLab: https://salsa.debian.org/python-team/packages/mypy/-/compare/e57f478d5b99b1f3545d51b4dcc17f686ff9519c...7bf892f7c11aa03c802be1c4a309413caa1090e6

-- 
View it on GitLab: https://salsa.debian.org/python-team/packages/mypy/-/compare/e57f478d5b99b1f3545d51b4dcc17f686ff9519c...7bf892f7c11aa03c802be1c4a309413caa1090e6
You're receiving this email because of your account on salsa.debian.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/debian-med-commit/attachments/20240311/144abfb0/attachment-0001.htm>


More information about the debian-med-commit mailing list