Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-mypy for openSUSE:Factory 
checked in at 2026-02-04 21:00:46
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-mypy (Old)
 and      /work/SRC/openSUSE:Factory/.python-mypy.new.1670 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-mypy"

Wed Feb  4 21:00:46 2026 rev:21 rq:1330659 version:1.19.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-mypy/python-mypy.changes  2025-12-02 
13:18:26.318526456 +0100
+++ /work/SRC/openSUSE:Factory/.python-mypy.new.1670/python-mypy.changes        
2026-02-04 21:00:50.907410760 +0100
@@ -1,0 +2,46 @@
+Tue Feb  3 03:45:28 UTC 2026 - Steve Kowalik <[email protected]>
+
+- Update to 1.19.1:
+  * Fix noncommutative joins with bounded TypeVars
+  * Respect output format for cached runs by serializing raw errors in cache
+    metas
+  * Allow types.NoneType in match cases
+  * Fix mypyc generator regression with empty tuple
+  * Fix crash involving Unpack-ed TypeVarTuple
+  * Fix crash on star import of redefinition
+  * Fix crash on typevar with forward ref used in other module
+  * Fail with an explicit error on PyPy
+  * Mypy now recognizes TypeForm[T] as a type and implements PEP 747. The
+    feature is still experimental, and it's disabled by default
+  * Fix annotated with function as type keyword list parameter
+  * Fix errors for raise NotImplemented
+  * Don't let help formatter line-wrap URLs
+  * Do not cache fast container types inside lambdas
+  * Respect force-union-syntax flag in error hint
+  * Fix type checking of dict type aliases
+  * Use pretty callable formatting more often for callable expressions
+  * Use dummy concrete type instead of Any when checking protocol variance
+  * PEP 696: Fix swapping TypeVars with defaults
+  * Fix narrowing of class pattern with union type
+  * Do not emit unreachable warnings for lines that return NotImplemented
+  * Fix matching against typing.Callable and Protocol types
+  * Make --pretty work better on multi-line issues
+  * More precise return types for TypedDict.get
+  * Prevent false unreachable warnings for @final instances that occur when
+    strict optional checking is disabled
+  * Check class references to catch non-existent classes in match cases
+  * Do not sort unused error codes in unused error codes warning
+  * Fix [name-defined] false positive in class A[X, Y=X]: case
+  * Filter SyntaxWarnings during AST parsing
+  * Make untyped decorator its own error code
+  * Support error codes from plugins in options
+  * Allow returning Literals in __new__
+  * Inverse interface freshness logic
+  * Do not report exhaustive-match after deferral
+  * Make untyped_calls_exclude invalidate cache
+  * Add await to empty context hack
+  * Consider non-empty enums assignable to Self
+- Add patch support-pathspec-1.0.0.patch:
+  * Support changes required by pathspec 1.0.0. (bsc#1257517)
+
+-------------------------------------------------------------------

Old:
----
  mypy-1.18.2.tar.gz

New:
----
  mypy-1.19.1.tar.gz
  support-pathspec-1.0.0.patch

----------(New B)----------
  New:  * Consider non-empty enums assignable to Self
- Add patch support-pathspec-1.0.0.patch:
  * Support changes required by pathspec 1.0.0. (bsc#1257517)
----------(New E)----------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-mypy.spec ++++++
--- /var/tmp/diff_new_pack.JXM9AT/_old  2026-02-04 21:00:51.851450296 +0100
+++ /var/tmp/diff_new_pack.JXM9AT/_new  2026-02-04 21:00:51.855450463 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-mypy
 #
-# Copyright (c) 2025 SUSE LLC and contributors
+# Copyright (c) 2026 SUSE LLC and contributors
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -26,7 +26,7 @@
 %endif
 %{?sle15_python_module_pythons}
 Name:           python-mypy
-Version:        1.18.2
+Version:        1.19.1
 Release:        0
 Summary:        Optional static typing for Python
 License:        MIT
@@ -38,9 +38,12 @@
 # License Source2: Apache-2.0. Only for the test suite, not packaged here.
 Source2:        
https://files.pythonhosted.org/packages/source/t/types_setuptools/types_setuptools-%{types_setuptools_version}.tar.gz
 Source99:       python-mypy-rpmlintrc
+# PATCH-FIX-UPSTREAM Based on gh#python/mypy#20533
+Patch0:         support-pathspec-1.0.0.patch
 BuildRequires:  %{python_module exceptiongroup}
+BuildRequires:  %{python_module librt >= 0.6}
 BuildRequires:  %{python_module mypy_extensions >= 1.0.0}
-BuildRequires:  %{python_module pathspec}
+BuildRequires:  %{python_module pathspec >= 1.0.0}
 BuildRequires:  %{python_module pip}
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  %{python_module tomli >= 1.1.0}
@@ -48,9 +51,10 @@
 BuildRequires:  %{python_module wheel}
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
-Requires:       python-mypy_extensions >= 0.4.3
-Requires:       python-pathspec
-Requires:       python-typing_extensions >= 3.10
+Requires:       python-librt >= 0.6
+Requires:       python-mypy_extensions >= 1.0.0
+Requires:       python-pathspec >= 1.0.0
+Requires:       python-typing_extensions >= 4.6.0
 Requires:       (python-tomli >= 1.1.0 if python-base < 3.11)
 Suggests:       python-psutil >= 4.0
 BuildArch:      noarch
@@ -171,8 +175,7 @@
 %license LICENSE
 %{python_sitelib}/mypy
 %{python_sitelib}/mypyc
-# %%{python_sitelib}/mypy-%%{version}.dist-info
-%{python_sitelib}/mypy-*.dist-info
+%{python_sitelib}/mypy-%{version}.dist-info
 %python_alternative %{_bindir}/dmypy
 %python_alternative %{_bindir}/mypy
 %python_alternative %{_bindir}/mypyc

++++++ mypy-1.18.2.tar.gz -> mypy-1.19.1.tar.gz ++++++
++++ 41648 lines of diff (skipped)

++++++ support-pathspec-1.0.0.patch ++++++
>From f28ac2046639c8661b44e41a66beee13c1c0b040 Mon Sep 17 00:00:00 2001
From: Marc Mueller <[email protected]>
Date: Tue, 6 Jan 2026 11:35:09 +0100
Subject: [PATCH] Update pathspec to 1.0.0

---
 mypy-requirements.txt | 2 +-
 mypy/modulefinder.py  | 6 +++---
 pyproject.toml        | 4 ++--
 test-requirements.txt | 4 ++--
 4 files changed, 8 insertions(+), 8 deletions(-)

Index: mypy-1.19.1/mypy-requirements.txt
===================================================================
--- mypy-1.19.1.orig/mypy-requirements.txt
+++ mypy-1.19.1/mypy-requirements.txt
@@ -2,6 +2,6 @@
 # and the pins in setup.py
 typing_extensions>=4.6.0
 mypy_extensions>=1.0.0
-pathspec>=0.9.0
+pathspec>=1.0.0
 tomli>=1.1.0; python_version<'3.11'
 librt>=0.6.2; platform_python_implementation != 'PyPy'
Index: mypy-1.19.1/mypy/modulefinder.py
===================================================================
--- mypy-1.19.1.orig/mypy/modulefinder.py
+++ mypy-1.19.1/mypy/modulefinder.py
@@ -17,7 +17,7 @@ from typing import Final, Optional, Unio
 from typing_extensions import TypeAlias as _TypeAlias
 
 from pathspec import PathSpec
-from pathspec.patterns.gitwildmatch import GitWildMatchPatternError
+from pathspec.patterns.gitignore import GitIgnorePatternError
 
 from mypy import pyinfo
 from mypy.errors import CompileError
@@ -737,8 +737,8 @@ def find_gitignores(dir: str) -> list[tu
         with open(gitignore) as f:
             lines = f.readlines()
         try:
-            return parent_gitignores + [(dir, 
PathSpec.from_lines("gitwildmatch", lines))]
-        except GitWildMatchPatternError:
+            return parent_gitignores + [(dir, PathSpec.from_lines("gitignore", 
lines))]
+        except GitIgnorePatternError:
             print(f"error: could not parse {gitignore}", file=sys.stderr)
             return parent_gitignores
     return parent_gitignores
Index: mypy-1.19.1/pyproject.toml
===================================================================
--- mypy-1.19.1.orig/pyproject.toml
+++ mypy-1.19.1/pyproject.toml
@@ -7,7 +7,7 @@ requires = [
     # the following is from mypy-requirements.txt/setup.py
     "typing_extensions>=4.6.0",
     "mypy_extensions>=1.0.0",
-    "pathspec>=0.9.0",
+    "pathspec>=1.0.0",
     "tomli>=1.1.0; python_version<'3.11'",
     "librt>=0.6.2; platform_python_implementation != 'PyPy'",
     # the following is from build-requirements.txt
@@ -52,7 +52,7 @@ dependencies = [
   # When changing this, also update build-system.requires and 
mypy-requirements.txt
   "typing_extensions>=4.6.0",
   "mypy_extensions>=1.0.0",
-  "pathspec>=0.9.0",
+  "pathspec>=1.0.0",
   "tomli>=1.1.0; python_version<'3.11'",
   "librt>=0.6.2; platform_python_implementation != 'PyPy'",
 ]
Index: mypy-1.19.1/test-requirements.txt
===================================================================
--- mypy-1.19.1.orig/test-requirements.txt
+++ mypy-1.19.1/test-requirements.txt
@@ -22,7 +22,7 @@ identify==2.6.15
     # via pre-commit
 iniconfig==2.1.0
     # via pytest
-librt==0.7.3 ; platform_python_implementation != 'PyPy'
+librt==0.7.3 ; platform_python_implementation != "PyPy"
     # via -r mypy-requirements.txt
 lxml==6.0.2 ; python_version < "3.15"
     # via -r test-requirements.in
@@ -32,7 +32,7 @@ nodeenv==1.9.1
     # via pre-commit
 packaging==25.0
     # via pytest
-pathspec==0.12.1
+pathspec==1.0.0
     # via -r mypy-requirements.txt
 platformdirs==4.4.0
     # via

Reply via email to