pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/lang/py-mypy



Module Name:    pkgsrc
Committed By:   adam
Date:           Fri Oct  3 09:25:56 UTC 2025

Modified Files:
        pkgsrc/lang/py-mypy: Makefile PLIST distinfo

Log Message:
py-mypy: updated to 1.18.2

Mypy 1.18.1 includes numerous performance improvements, resulting in about 40% speedup
compared to 1.17 when type checking mypy itself. In extreme cases, the improvement
can be 10x or higher. The list below is an overview of the various mypy optimizations.
Many mypyc improvements (discussed in a separate section below) also improve performance.

Type caching optimizations have a small risk of causing regressions. When
reporting issues with unexpected inferred types, please also check if
`--disable-expression-cache` will work around the issue, as it turns off some of
these optimizations.


To generate a diff of this commit:
cvs rdiff -u -r1.64 -r1.65 pkgsrc/lang/py-mypy/Makefile
cvs rdiff -u -r1.40 -r1.41 pkgsrc/lang/py-mypy/PLIST
cvs rdiff -u -r1.59 -r1.60 pkgsrc/lang/py-mypy/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/lang/py-mypy/Makefile
diff -u pkgsrc/lang/py-mypy/Makefile:1.64 pkgsrc/lang/py-mypy/Makefile:1.65
--- pkgsrc/lang/py-mypy/Makefile:1.64   Wed Aug  6 06:29:14 2025
+++ pkgsrc/lang/py-mypy/Makefile        Fri Oct  3 09:25:56 2025
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.64 2025/08/06 06:29:14 adam Exp $
+# $NetBSD: Makefile,v 1.65 2025/10/03 09:25:56 adam Exp $
 
-DISTNAME=      mypy-1.17.1
+DISTNAME=      mypy-1.18.2
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
 CATEGORIES=    lang python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=m/mypy/}

Index: pkgsrc/lang/py-mypy/PLIST
diff -u pkgsrc/lang/py-mypy/PLIST:1.40 pkgsrc/lang/py-mypy/PLIST:1.41
--- pkgsrc/lang/py-mypy/PLIST:1.40      Wed Aug  6 06:29:14 2025
+++ pkgsrc/lang/py-mypy/PLIST   Fri Oct  3 09:25:56 2025
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.40 2025/08/06 06:29:14 adam Exp $
+@comment $NetBSD: PLIST,v 1.41 2025/10/03 09:25:56 adam Exp $
 bin/dmypy-${PYVERSSUFFIX}
 bin/mypy-${PYVERSSUFFIX}
 bin/mypyc-${PYVERSSUFFIX}
@@ -34,6 +34,9 @@ ${PYSITELIB}/mypy/bogus_type.pyo
 ${PYSITELIB}/mypy/build.py
 ${PYSITELIB}/mypy/build.pyc
 ${PYSITELIB}/mypy/build.pyo
+${PYSITELIB}/mypy/cache.py
+${PYSITELIB}/mypy/cache.pyc
+${PYSITELIB}/mypy/cache.pyo
 ${PYSITELIB}/mypy/checker.py
 ${PYSITELIB}/mypy/checker.pyc
 ${PYSITELIB}/mypy/checker.pyo
@@ -220,6 +223,9 @@ ${PYSITELIB}/mypy/plugins/attrs.pyo
 ${PYSITELIB}/mypy/plugins/common.py
 ${PYSITELIB}/mypy/plugins/common.pyc
 ${PYSITELIB}/mypy/plugins/common.pyo
+${PYSITELIB}/mypy/plugins/constants.py
+${PYSITELIB}/mypy/plugins/constants.pyc
+${PYSITELIB}/mypy/plugins/constants.pyo
 ${PYSITELIB}/mypy/plugins/ctypes.py
 ${PYSITELIB}/mypy/plugins/ctypes.pyc
 ${PYSITELIB}/mypy/plugins/ctypes.pyo
@@ -605,6 +611,7 @@ ${PYSITELIB}/mypy/typeshed/stdlib/_warni
 ${PYSITELIB}/mypy/typeshed/stdlib/_weakref.pyi
 ${PYSITELIB}/mypy/typeshed/stdlib/_weakrefset.pyi
 ${PYSITELIB}/mypy/typeshed/stdlib/_winapi.pyi
+${PYSITELIB}/mypy/typeshed/stdlib/_zstd.pyi
 ${PYSITELIB}/mypy/typeshed/stdlib/abc.pyi
 ${PYSITELIB}/mypy/typeshed/stdlib/aifc.pyi
 ${PYSITELIB}/mypy/typeshed/stdlib/annotationlib.pyi
@@ -641,6 +648,7 @@ ${PYSITELIB}/mypy/typeshed/stdlib/asynci
 ${PYSITELIB}/mypy/typeshed/stdlib/asyncio/tasks.pyi
 ${PYSITELIB}/mypy/typeshed/stdlib/asyncio/threads.pyi
 ${PYSITELIB}/mypy/typeshed/stdlib/asyncio/timeouts.pyi
+${PYSITELIB}/mypy/typeshed/stdlib/asyncio/tools.pyi
 ${PYSITELIB}/mypy/typeshed/stdlib/asyncio/transports.pyi
 ${PYSITELIB}/mypy/typeshed/stdlib/asyncio/trsock.pyi
 ${PYSITELIB}/mypy/typeshed/stdlib/asyncio/unix_events.pyi
@@ -673,16 +681,21 @@ ${PYSITELIB}/mypy/typeshed/stdlib/compil
 ${PYSITELIB}/mypy/typeshed/stdlib/compression/__init__.pyi
 ${PYSITELIB}/mypy/typeshed/stdlib/compression/_common/__init__.pyi
 ${PYSITELIB}/mypy/typeshed/stdlib/compression/_common/_streams.pyi
-${PYSITELIB}/mypy/typeshed/stdlib/compression/bz2/__init__.pyi
-${PYSITELIB}/mypy/typeshed/stdlib/compression/gzip/__init__.pyi
-${PYSITELIB}/mypy/typeshed/stdlib/compression/lzma/__init__.pyi
-${PYSITELIB}/mypy/typeshed/stdlib/compression/zlib/__init__.pyi
+${PYSITELIB}/mypy/typeshed/stdlib/compression/bz2.pyi
+${PYSITELIB}/mypy/typeshed/stdlib/compression/gzip.pyi
+${PYSITELIB}/mypy/typeshed/stdlib/compression/lzma.pyi
+${PYSITELIB}/mypy/typeshed/stdlib/compression/zlib.pyi
+${PYSITELIB}/mypy/typeshed/stdlib/compression/zstd/__init__.pyi
+${PYSITELIB}/mypy/typeshed/stdlib/compression/zstd/_zstdfile.pyi
 ${PYSITELIB}/mypy/typeshed/stdlib/concurrent/__init__.pyi
 ${PYSITELIB}/mypy/typeshed/stdlib/concurrent/futures/__init__.pyi
 ${PYSITELIB}/mypy/typeshed/stdlib/concurrent/futures/_base.pyi
 ${PYSITELIB}/mypy/typeshed/stdlib/concurrent/futures/interpreter.pyi
 ${PYSITELIB}/mypy/typeshed/stdlib/concurrent/futures/process.pyi
 ${PYSITELIB}/mypy/typeshed/stdlib/concurrent/futures/thread.pyi
+${PYSITELIB}/mypy/typeshed/stdlib/concurrent/interpreters/__init__.pyi
+${PYSITELIB}/mypy/typeshed/stdlib/concurrent/interpreters/_crossinterp.pyi
+${PYSITELIB}/mypy/typeshed/stdlib/concurrent/interpreters/_queues.pyi
 ${PYSITELIB}/mypy/typeshed/stdlib/configparser.pyi
 ${PYSITELIB}/mypy/typeshed/stdlib/contextlib.pyi
 ${PYSITELIB}/mypy/typeshed/stdlib/contextvars.pyi
@@ -1277,6 +1290,7 @@ ${PYSITELIB}/mypy/typeshed/stdlib/zonein
 ${PYSITELIB}/mypy/typeshed/stdlib/zoneinfo/_common.pyi
 ${PYSITELIB}/mypy/typeshed/stdlib/zoneinfo/_tzpath.pyi
 ${PYSITELIB}/mypy/typeshed/stubs/mypy-extensions/mypy_extensions.pyi
+${PYSITELIB}/mypy/typeshed/stubs/mypy-native/native_internal.pyi
 ${PYSITELIB}/mypy/typestate.py
 ${PYSITELIB}/mypy/typestate.pyc
 ${PYSITELIB}/mypy/typestate.pyo
@@ -1480,7 +1494,10 @@ ${PYSITELIB}/mypyc/lib-rt/int_ops.c
 ${PYSITELIB}/mypyc/lib-rt/list_ops.c
 ${PYSITELIB}/mypyc/lib-rt/misc_ops.c
 ${PYSITELIB}/mypyc/lib-rt/module_shim.tmpl
+${PYSITELIB}/mypyc/lib-rt/module_shim_no_gil_multiphase.tmpl
 ${PYSITELIB}/mypyc/lib-rt/mypyc_util.h
+${PYSITELIB}/mypyc/lib-rt/native_internal.c
+${PYSITELIB}/mypyc/lib-rt/native_internal.h
 ${PYSITELIB}/mypyc/lib-rt/pythoncapi_compat.h
 ${PYSITELIB}/mypyc/lib-rt/pythonsupport.c
 ${PYSITELIB}/mypyc/lib-rt/pythonsupport.h
@@ -1547,6 +1564,9 @@ ${PYSITELIB}/mypyc/primitives/str_ops.py
 ${PYSITELIB}/mypyc/primitives/tuple_ops.py
 ${PYSITELIB}/mypyc/primitives/tuple_ops.pyc
 ${PYSITELIB}/mypyc/primitives/tuple_ops.pyo
+${PYSITELIB}/mypyc/primitives/weakref_ops.py
+${PYSITELIB}/mypyc/primitives/weakref_ops.pyc
+${PYSITELIB}/mypyc/primitives/weakref_ops.pyo
 ${PYSITELIB}/mypyc/py.typed
 ${PYSITELIB}/mypyc/rt_subtype.py
 ${PYSITELIB}/mypyc/rt_subtype.pyc
@@ -1659,6 +1679,9 @@ ${PYSITELIB}/mypyc/transform/flag_elimin
 ${PYSITELIB}/mypyc/transform/ir_transform.py
 ${PYSITELIB}/mypyc/transform/ir_transform.pyc
 ${PYSITELIB}/mypyc/transform/ir_transform.pyo
+${PYSITELIB}/mypyc/transform/log_trace.py
+${PYSITELIB}/mypyc/transform/log_trace.pyc
+${PYSITELIB}/mypyc/transform/log_trace.pyo
 ${PYSITELIB}/mypyc/transform/lower.py
 ${PYSITELIB}/mypyc/transform/lower.pyc
 ${PYSITELIB}/mypyc/transform/lower.pyo

Index: pkgsrc/lang/py-mypy/distinfo
diff -u pkgsrc/lang/py-mypy/distinfo:1.59 pkgsrc/lang/py-mypy/distinfo:1.60
--- pkgsrc/lang/py-mypy/distinfo:1.59   Wed Aug  6 06:29:14 2025
+++ pkgsrc/lang/py-mypy/distinfo        Fri Oct  3 09:25:56 2025
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.59 2025/08/06 06:29:14 adam Exp $
+$NetBSD: distinfo,v 1.60 2025/10/03 09:25:56 adam Exp $
 
-BLAKE2s (mypy-1.17.1.tar.gz) = 0be90fc4243ba1a79fcb9f3e2bffc423a6f8905a4ceea60e1bcf52fc07deb2b3
-SHA512 (mypy-1.17.1.tar.gz) = 1d253afc22a5dc91f485dbac4b8b8a8fa16b656f4213d518265b304fb10d0a6da265ea98c0f6e01a492aedf15f5e6b686b5712f3b53e25f2ddb7248c824a1415
-Size (mypy-1.17.1.tar.gz) = 3352570 bytes
+BLAKE2s (mypy-1.18.2.tar.gz) = 18a2df12d8c8bce8463628f1e199509a04daabcd31772bcb78f7952c82f5638b
+SHA512 (mypy-1.18.2.tar.gz) = e58161d0a468e01d74ad7c299e563d2497c7b4f1dc8a7704e5afe64ac7985105dddd4d176e29cfd2572f5be9d135546ff2c8147966e1c0f0c9bd0ed95b27f2bd
+Size (mypy-1.18.2.tar.gz) = 3448846 bytes



Home | Main Index | Thread Index | Old Index