Michael R. Crusoe pushed to branch master at Debian Python Team / packages / mypy
Commits: b8866990 by Michael R. Crusoe at 2026-02-24T13:22:19+01:00 adjust patch - - - - - ca525c12 by Michael R. Crusoe at 2026-02-24T13:22:19+01:00 release to unstable - - - - - 2 changed files: - debian/changelog - debian/patches/accept_pathspec_v1 Changes: ===================================== debian/changelog ===================================== @@ -2,7 +2,7 @@ mypy (1.19.1-3) unstable; urgency=medium * Added patch for compatibility with pathspec version 1.0.0+ - -- Michael R. Crusoe <[email protected]> Tue, 24 Feb 2026 09:54:04 +0100 + -- Michael R. Crusoe <[email protected]> Tue, 24 Feb 2026 11:15:16 +0100 mypy (1.19.1-2) unstable; urgency=medium ===================================== debian/patches/accept_pathspec_v1 ===================================== @@ -11,9 +11,9 @@ Adapted from https://github.com/python/mypy/commit/7fee02ca109ad511bb55efd83ec13 from pathspec import PathSpec -from pathspec.patterns.gitwildmatch import GitWildMatchPatternError +try: -+ from pathspec.patterns.gitignore import GitIgnorePatternError ++ from pathspec.patterns.gitignore import GitIgnorePatternError # type: ignore[import-not-found] +except ImportError: -+ from pathspec.patterns.gitwildmatch import GitWildMatchPatternError as GitIgnorePatternError ++ from pathspec.patterns.gitwildmatch import GitWildMatchPatternError as GitIgnorePatternError # type: ignore[attr-defined] from mypy import pyinfo from mypy.errors import CompileError @@ -26,3 +26,10 @@ Adapted from https://github.com/python/mypy/commit/7fee02ca109ad511bb55efd83ec13 print(f"error: could not parse {gitignore}", file=sys.stderr) return parent_gitignores return parent_gitignores +--- mypy.orig/mypy_self_check.ini ++++ mypy/mypy_self_check.ini +@@ -14,3 +14,4 @@ + show_error_code_links = True + warn_unreachable = True + fixed_format_cache = True ++warn_unused_ignores = False View it on GitLab: https://salsa.debian.org/python-team/packages/mypy/-/compare/1c0c810eba9bd8102a4b414149ded39aff2063ca...ca525c12a81e514a7c1f9686c3b26c125901eb65 -- View it on GitLab: https://salsa.debian.org/python-team/packages/mypy/-/compare/1c0c810eba9bd8102a4b414149ded39aff2063ca...ca525c12a81e514a7c1f9686c3b26c125901eb65 You're receiving this email because of your account on salsa.debian.org.
_______________________________________________ debian-med-commit mailing list [email protected] https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/debian-med-commit
