[med-svn] [Git][python-team/packages/mypy][master] Missed a test fix for the Debian-specific typeshed advice.

Michael R. Crusoe (@crusoe) gitlab at salsa.debian.org
Thu Dec 14 20:39:32 GMT 2023



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


Commits:
6b52e763 by Michael R. Crusoe at 2023-12-14T21:17:18+01:00
Missed a test fix for the Debian-specific typeshed advice.

- - - - -


2 changed files:

- debian/changelog
- debian/patches/hint-typeshed-package


Changes:

=====================================
debian/changelog
=====================================
@@ -1,3 +1,9 @@
+mypy (1.7.1-3) unstable; urgency=medium
+
+  * Missed a test fix for the Debian-specific typeshed advice.
+
+ -- Michael R. Crusoe <crusoe at debian.org>  Thu, 14 Dec 2023 21:17:15 +0100
+
 mypy (1.7.1-2) unstable; urgency=medium
 
   * d/rules: Build fixes for mips64el (and hppa) courtesy of Adrian


=====================================
debian/patches/hint-typeshed-package
=====================================
@@ -35,6 +35,15 @@ Description: point to python3-typeshed package for missing types
  [case testIgnoreErrorsFromTypeshed]
 --- mypy.orig/test-data/unit/check-modules.test
 +++ mypy/test-data/unit/check-modules.test
+@@ -3137,7 +3137,7 @@
+ from google.non_existent import x
+ 
+ import google.cloud.ndb  # E: Library stubs not installed for "google.cloud.ndb" \
+-                         # N: Hint: "python3 -m pip install types-google-cloud-ndb" \
++                         # N: Hint: On Debian systems, you can install the python3-typeshed package to provide mypy with stubs for many popular libraries. In virtual Python environments, you can instead run "python3 -m pip install types-google-cloud-ndb". \
+                          # N: (or run "mypy --install-types" to install all missing stub packages) \
+                          # N: See https://mypy.readthedocs.io/en/stable/running_mypy.html#missing-imports
+ from google.cloud import ndb
 @@ -3148,7 +3148,7 @@
  [file bleach/__init__.pyi]
  [out]



View it on GitLab: https://salsa.debian.org/python-team/packages/mypy/-/commit/6b52e763a94a74f5b1b2ac7439bed3e14f3c4eff

-- 
View it on GitLab: https://salsa.debian.org/python-team/packages/mypy/-/commit/6b52e763a94a74f5b1b2ac7439bed3e14f3c4eff
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/20231214/7d9afdff/attachment-0001.htm>


More information about the debian-med-commit mailing list