head	1.72;
access;
symbols
	pkgsrc-2026Q1:1.67.0.2
	pkgsrc-2026Q1-base:1.67
	pkgsrc-2025Q4:1.66.0.2
	pkgsrc-2025Q4-base:1.66
	pkgsrc-2025Q3:1.64.0.2
	pkgsrc-2025Q3-base:1.64
	pkgsrc-2025Q2:1.62.0.2
	pkgsrc-2025Q2-base:1.62
	pkgsrc-2025Q1:1.60.0.2
	pkgsrc-2025Q1-base:1.60
	pkgsrc-2024Q4:1.58.0.2
	pkgsrc-2024Q4-base:1.58
	pkgsrc-2024Q3:1.54.0.2
	pkgsrc-2024Q3-base:1.54
	pkgsrc-2024Q2:1.50.0.2
	pkgsrc-2024Q2-base:1.50
	pkgsrc-2024Q1:1.49.0.2
	pkgsrc-2024Q1-base:1.49
	pkgsrc-2023Q4:1.47.0.2
	pkgsrc-2023Q4-base:1.47
	pkgsrc-2023Q3:1.44.0.2
	pkgsrc-2023Q3-base:1.44
	pkgsrc-2023Q2:1.42.0.2
	pkgsrc-2023Q2-base:1.42
	pkgsrc-2023Q1:1.39.0.2
	pkgsrc-2023Q1-base:1.39
	pkgsrc-2022Q4:1.36.0.2
	pkgsrc-2022Q4-base:1.36
	pkgsrc-2022Q3:1.33.0.2
	pkgsrc-2022Q3-base:1.33
	pkgsrc-2022Q2:1.31.0.2
	pkgsrc-2022Q2-base:1.31
	pkgsrc-2022Q1:1.28.0.2
	pkgsrc-2022Q1-base:1.28
	pkgsrc-2021Q4:1.23.0.2
	pkgsrc-2021Q4-base:1.23
	pkgsrc-2021Q3:1.22.0.2
	pkgsrc-2021Q3-base:1.22
	pkgsrc-2021Q2:1.21.0.4
	pkgsrc-2021Q2-base:1.21
	pkgsrc-2021Q1:1.21.0.2
	pkgsrc-2021Q1-base:1.21
	pkgsrc-2020Q4:1.19.0.2
	pkgsrc-2020Q4-base:1.19
	pkgsrc-2020Q3:1.18.0.2
	pkgsrc-2020Q3-base:1.18
	pkgsrc-2020Q2:1.17.0.2
	pkgsrc-2020Q2-base:1.17
	pkgsrc-2020Q1:1.15.0.2
	pkgsrc-2020Q1-base:1.15
	pkgsrc-2019Q4:1.13.0.4
	pkgsrc-2019Q4-base:1.13
	pkgsrc-2019Q3:1.11.0.2
	pkgsrc-2019Q3-base:1.11
	pkgsrc-2019Q2:1.9.0.2
	pkgsrc-2019Q2-base:1.9
	pkgsrc-2019Q1:1.5.0.2
	pkgsrc-2019Q1-base:1.5
	pkgsrc-2018Q4:1.3.0.2
	pkgsrc-2018Q4-base:1.3;
locks; strict;
comment	@# @;


1.72
date	2026.05.12.10.53.50;	author adam;	state Exp;
branches;
next	1.71;
commitid	RFrTMxYtM4J0WvFG;

1.71
date	2026.05.10.13.27.39;	author wiz;	state Exp;
branches;
next	1.70;
commitid	cD3QIrlnBVscRgFG;

1.70
date	2026.04.22.10.28.18;	author adam;	state Exp;
branches;
next	1.69;
commitid	Z0ZYvjJhtQQwrWCG;

1.69
date	2026.04.16.10.42.45;	author adam;	state Exp;
branches;
next	1.68;
commitid	RDknOmrwd7RkIaCG;

1.68
date	2026.04.02.07.53.54;	author adam;	state Exp;
branches;
next	1.67;
commitid	B9G8GNRScV47emAG;

1.67
date	2026.01.25.23.27.13;	author wiz;	state Exp;
branches;
next	1.66;
commitid	xjfkU8lA4gJ3yPrG;

1.66
date	2025.12.15.08.11.33;	author adam;	state Exp;
branches;
next	1.65;
commitid	sNMZtyJldBYuNtmG;

1.65
date	2025.10.03.09.25.56;	author adam;	state Exp;
branches;
next	1.64;
commitid	GuTgMmG2qI8Gy6dG;

1.64
date	2025.08.06.06.29.14;	author adam;	state Exp;
branches;
next	1.63;
commitid	pH7EO8ZAPWvArD5G;

1.63
date	2025.06.30.19.48.34;	author adam;	state Exp;
branches;
next	1.62;
commitid	vlVt9rXjKEQB3X0G;

1.62
date	2025.06.01.05.58.01;	author adam;	state Exp;
branches;
next	1.61;
commitid	JlKXJLE5Mfxao9XF;

1.61
date	2025.04.14.10.04.42;	author adam;	state Exp;
branches;
next	1.60;
commitid	AVrcJFCWtYxOi0RF;

1.60
date	2025.02.07.07.31.45;	author adam;	state Exp;
branches;
next	1.59;
commitid	sl21X4EWaW6EzvIF;

1.59
date	2025.01.03.10.56.46;	author adam;	state Exp;
branches;
next	1.58;
commitid	53oEz7fUBCYDP1EF;

1.58
date	2024.11.11.07.28.37;	author wiz;	state Exp;
branches;
next	1.57;
commitid	1fBDq3LwS98NncxF;

1.57
date	2024.11.07.09.19.37;	author adam;	state Exp;
branches;
next	1.56;
commitid	nQ2foCy5WdI68HwF;

1.56
date	2024.10.22.08.32.25;	author adam;	state Exp;
branches;
next	1.55;
commitid	cLXI6BkmgKASnDuF;

1.55
date	2024.10.14.13.24.19;	author adam;	state Exp;
branches;
next	1.54;
commitid	PC7gLMxDFiBUfDtF;

1.54
date	2024.08.27.08.13.28;	author adam;	state Exp;
branches;
next	1.53;
commitid	IL2FsBre2giX4rnF;

1.53
date	2024.07.31.07.55.06;	author adam;	state Exp;
branches;
next	1.52;
commitid	ZaO4yhJd3FtuQXjF;

1.52
date	2024.07.22.04.53.56;	author adam;	state Exp;
branches;
next	1.51;
commitid	bThSauvtH8G78NiF;

1.51
date	2024.06.27.06.04.24;	author adam;	state Exp;
branches;
next	1.50;
commitid	WGLgHNPQnd5ckAfF;

1.50
date	2024.04.30.09.31.52;	author adam;	state Exp;
branches;
next	1.49;
commitid	H2srX9VNB22Sk98F;

1.49
date	2024.03.11.08.40.09;	author adam;	state Exp;
branches;
next	1.48;
commitid	dty61ljg71iGEI1F;

1.48
date	2024.01.04.22.27.13;	author adam;	state Exp;
branches;
next	1.47;
commitid	R9Lg6n49Do32obTE;

1.47
date	2023.11.23.20.52.09;	author adam;	state Exp;
branches;
next	1.46;
commitid	wQ9PT2SqcTJgdMNE;

1.46
date	2023.11.22.10.31.16;	author adam;	state Exp;
branches;
next	1.45;
commitid	tVoZoO06WP86OANE;

1.45
date	2023.10.18.09.38.41;	author adam;	state Exp;
branches;
next	1.44;
commitid	L9ZAlGU68DWUD5JE;

1.44
date	2023.08.25.11.13.08;	author adam;	state Exp;
branches;
next	1.43;
commitid	PhKzvfC9S66HT9CE;

1.43
date	2023.07.06.10.08.57;	author adam;	state Exp;
branches;
next	1.42;
commitid	nHBw36wkLrRb9JvE;

1.42
date	2023.05.15.20.48.50;	author adam;	state Exp;
branches;
next	1.41;
commitid	4VafOwwVbLhDm6pE;

1.41
date	2023.04.25.12.49.43;	author adam;	state Exp;
branches;
next	1.40;
commitid	dKhR7l1x4fOcmumE;

1.40
date	2023.03.29.09.34.11;	author wiz;	state Exp;
branches;
next	1.39;
commitid	dE79P0WicMkX80jE;

1.39
date	2023.03.09.08.12.17;	author adam;	state Exp;
branches;
next	1.38;
commitid	6yCDCFKFOqPEkqgE;

1.38
date	2023.02.22.12.47.25;	author adam;	state Exp;
branches;
next	1.37;
commitid	gnc8wJ7iTx13lweE;

1.37
date	2023.02.14.19.09.59;	author adam;	state Exp;
branches;
next	1.36;
commitid	8L04y0KdzWMQHwdE;

1.36
date	2022.11.22.13.28.32;	author adam;	state Exp;
branches;
next	1.35;
commitid	vvFGemBqdgy9wH2E;

1.35
date	2022.11.08.08.57.44;	author adam;	state Exp;
branches;
next	1.34;
commitid	Qxge4ERTsc3etS0E;

1.34
date	2022.10.06.19.38.55;	author adam;	state Exp;
branches;
next	1.33;
commitid	8ufclzJ372PT4HWD;

1.33
date	2022.08.18.07.33.45;	author adam;	state Exp;
branches;
next	1.32;
commitid	WAgNjpTlHxnUDkQD;

1.32
date	2022.07.01.17.13.49;	author adam;	state Exp;
branches;
next	1.31;
commitid	bvBj8VUH7maIodKD;

1.31
date	2022.05.28.11.46.13;	author adam;	state Exp;
branches;
next	1.30;
commitid	inoFbPd9GLaPFOFD;

1.30
date	2022.05.02.08.19.25;	author adam;	state Exp;
branches;
next	1.29;
commitid	79U1iPcsOCIRmsCD;

1.29
date	2022.03.31.07.30.09;	author adam;	state Exp;
branches;
next	1.28;
commitid	f7yjhMcNcRhI7lyD;

1.28
date	2022.03.15.05.53.26;	author adam;	state Exp;
branches;
next	1.27;
commitid	ZqejvpolY21Y5hwD;

1.27
date	2022.01.11.07.07.42;	author adam;	state Exp;
branches;
next	1.26;
commitid	ssFjhOczJ8RsxboD;

1.26
date	2022.01.05.15.41.12;	author wiz;	state Exp;
branches;
next	1.25;
commitid	FQ77UruBIUsgzsnD;

1.25
date	2022.01.04.20.54.09;	author wiz;	state Exp;
branches;
next	1.24;
commitid	CYyhdK9qtoffkmnD;

1.24
date	2021.12.30.21.19.26;	author adam;	state Exp;
branches;
next	1.23;
commitid	9cXb222KE95bDImD;

1.23
date	2021.12.16.07.43.44;	author adam;	state Exp;
branches;
next	1.22;
commitid	N1S959BSRNqMzQkD;

1.22
date	2021.06.25.21.08.04;	author adam;	state Exp;
branches;
next	1.21;
commitid	wvWY2fgj7ABfCyYC;

1.21
date	2021.03.09.11.26.20;	author adam;	state Exp;
branches;
next	1.20;
commitid	7syVC585fA94SCKC;

1.20
date	2021.01.28.08.19.09;	author adam;	state Exp;
branches;
next	1.19;
commitid	TCZBXWWYwQSC7tFC;

1.19
date	2020.11.09.13.36.24;	author adam;	state Exp;
branches;
next	1.18;
commitid	GfJLo5esvMWErdvC;

1.18
date	2020.07.01.16.05.25;	author adam;	state Exp;
branches;
next	1.17;
commitid	QdfGyAvtLkc6uoeC;

1.17
date	2020.06.20.07.07.40;	author adam;	state Exp;
branches;
next	1.16;
commitid	IQlUUvupWmwwRVcC;

1.16
date	2020.06.17.11.58.57;	author adam;	state Exp;
branches;
next	1.15;
commitid	g0Hk5ImIgl8rzzcC;

1.15
date	2020.03.17.20.18.43;	author adam;	state Exp;
branches;
next	1.14;
commitid	dnNrPmU4wgddiN0C;

1.14
date	2020.01.03.11.53.09;	author adam;	state Exp;
branches;
next	1.13;
commitid	24IBJQxad4BcSeRB;

1.13
date	2019.12.11.19.06.55;	author adam;	state Exp;
branches;
next	1.12;
commitid	v2ymkUDpgz9S0kOB;

1.12
date	2019.10.18.12.28.37;	author adam;	state Exp;
branches;
next	1.11;
commitid	0D0v3eMEXj1IxlHB;

1.11
date	2019.08.12.07.38.53;	author adam;	state Exp;
branches;
next	1.10;
commitid	ZgMJX0edh3pV5IyB;

1.10
date	2019.07.03.19.40.41;	author adam;	state Exp;
branches;
next	1.9;
commitid	IrL35InqGi0fnDtB;

1.9
date	2019.06.20.11.20.08;	author adam;	state Exp;
branches;
next	1.8;
commitid	rylR96XNTZ1v1VrB;

1.8
date	2019.05.02.09.16.47;	author adam;	state Exp;
branches;
next	1.7;
commitid	JBFRQ6k6yPaWUBlB;

1.7
date	2019.04.19.10.07.18;	author adam;	state Exp;
branches;
next	1.6;
commitid	hWuhBbcMgZr7CWjB;

1.6
date	2019.04.04.09.40.17;	author adam;	state Exp;
branches;
next	1.5;
commitid	aVV1ZF43hehEW0iB;

1.5
date	2019.02.15.13.23.54;	author adam;	state Exp;
branches;
next	1.4;
commitid	ldQtBLiJJYZLIRbB;

1.4
date	2019.01.21.10.37.09;	author adam;	state Exp;
branches;
next	1.3;
commitid	ulmidxKI8AkbBD8B;

1.3
date	2018.12.09.20.37.29;	author adam;	state Exp;
branches;
next	1.2;
commitid	qDHQFOqoSGaeja3B;

1.2
date	2018.11.29.08.16.35;	author adam;	state Exp;
branches;
next	1.1;
commitid	ATDW8Kw0CSzcxO1B;

1.1
date	2018.11.28.08.15.31;	author adam;	state Exp;
branches;
next	;
commitid	keaN05dDbnXJyG1B;


desc
@@


1.72
log
@py-mypy: updated to 2.1.0

2.1
librt.vecs: Fast Growable Array Type for Mypyc
librt.random: Fast Pseudo-Random Number Generation
Mypyc Improvements
Fixes to Crashes
Changes to Messages
Other Notable Fixes and Improvements
- Rely on typeshed stubs for `slice` typing
- Improve negative narrowing for membership checks on tuples
- Narrow match captures based on previous cases
- Fix nondeterminism in overload resolution
- Respect file config comments for stale modules
- Fix JSON output mode for syntax errors in parallel mode
- Fix type variable with values as a supertype
- Add support for configuring `--num-workers` with an environment variable
- Respect JSON output mode for syntax errors
- Analyze `TypedDict` decorators
@
text
@# $NetBSD: Makefile,v 1.71 2026/05/10 13:27:39 wiz Exp $

DISTNAME=	mypy-2.1.0
PKGNAME=	${PYPKGPREFIX}-${DISTNAME}
CATEGORIES=	lang python
MASTER_SITES=	${MASTER_SITE_PYPI:=m/mypy/}

MAINTAINER=	pkgsrc-users@@NetBSD.org
HOMEPAGE=	https://www.mypy-lang.org/
COMMENT=	Optional static typing for Python
LICENSE=	mit

TOOL_DEPENDS+=	${PYPKGPREFIX}-setuptools>=78:../../devel/py-setuptools
DEPENDS+=	${PYPKGPREFIX}-ast-serialize>=0.3.0:../../lang/py-ast-serialize
DEPENDS+=	${PYPKGPREFIX}-mypy_extensions>=1.0.0:../../lang/py-mypy_extensions
DEPENDS+=	${PYPKGPREFIX}-librt>=0.11.0:../../lang/py-librt
DEPENDS+=	${PYPKGPREFIX}-pathspec>=1.0.0:../../devel/py-pathspec
DEPENDS+=	${PYPKGPREFIX}-typing-extensions>=4.14.0:../../devel/py-typing-extensions
TEST_DEPENDS+=	${PYPKGPREFIX}-attrs>=18.0:../../devel/py-attrs
TEST_DEPENDS+=	${PYPKGPREFIX}-filelock>=3.3.0:../../devel/py-filelock
TEST_DEPENDS+=	${PYPKGPREFIX}-psutil>=4.0:../../sysutils/py-psutil
TEST_DEPENDS+=	${PYPKGPREFIX}-test-cov>=2.10.0:../../devel/py-test-cov
TEST_DEPENDS+=	${PYPKGPREFIX}-test-xdist>=1.34.0:../../devel/py-test-xdist

USE_LANGUAGES=	c # for tests

# as of 2.0.0
# 5 failed, 13567 passed, 403 skipped, 12 xfailed
.if make(test)
ALLOW_NETWORK_ACCESS=	yes
.endif

.include "../../lang/python/pyversion.mk"
.if ${PYTHON_VERSION} < 311
DEPENDS+=	${PYPKGPREFIX}-tomli>=1.1.0:../../textproc/py-tomli
.endif

REPLACE_PYTHON+=	mypy/typeshed/scripts/update-stubtest-whitelist.py
REPLACE_PYTHON+=	mypy/typeshed/tests/*.py

PY_RENAME_BINARIES=	dmypy mypy mypyc stubgen stubtest

.include "../../lang/python/application.mk"
.include "../../lang/python/wheel.mk"
.include "../../mk/bsd.pkg.mk"
@


1.71
log
@py-mypy: update to 2.0.0.

This release includes new features, performance improvements and
bug fixes. There are also changes to options and defaults
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.70 2026/04/22 10:28:18 adam Exp $
d3 1
a3 1
DISTNAME=	mypy-2.0.0
d14 1
d16 1
a16 1
DEPENDS+=	${PYPKGPREFIX}-librt>=0.8.0:../../lang/py-librt
d18 1
a18 1
DEPENDS+=	${PYPKGPREFIX}-typing-extensions>=4.6.0:../../devel/py-typing-extensions
@


1.70
log
@py-mypy: updated to 1.20.2

1.20.2
Bug fixes
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.69 2026/04/16 10:42:45 adam Exp $
d3 1
a3 1
DISTNAME=	mypy-1.20.2
d26 5
a30 2
# as of 1.19.1
# 25 failed, 12967 passed, 405 skipped, 13 xfailed
@


1.69
log
@py-mypy: updated to 1.20.1

1.20.1

Always disable sync in SQLite cache
Temporarily skip few base64 tests
Revert dict.__or__ typeshed change
Fix narrowing for match case with variadic tuples
Avoid narrowing type[T] in type calls
Fix regression for catching empty tuple in except
Fix reachability for frozenset and dict view narrowing
Fix narrowing with chained comparison
Avoid narrowing to unreachable at module level
Allow dangerous identity comparisons to Any typed variables
--warn-unused-config should not be a strict flag
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.68 2026/04/02 07:53:54 adam Exp $
d3 1
a3 1
DISTNAME=	mypy-1.20.1
@


1.68
log
@py-mypy: updated to 1.20.0

1.20.0

* Planned Changes to Defaults and Flags in Mypy 2.0
* Better Type Narrowing
* Drop Support for Python 3.9
* Mypyc Accelerated Mypy Wheels for ARM Windows and Free Threading
* Improved Compatibility for Local Partial Types
* The inferred type of 'x' is always 'int | None'.
* Python 3.14 T-String Support (PEP 750)
* Experimental New Parser
* Performance Improvements
* Improvements to Allowing Redefinitions
* mypy: allow-redefinition-new, local-partial-types
* Incremental Checking Improvements
* Fixes to Crashes
* Mypyc: Faster Imports on macOS
* librt: Mypyc Standard Library
* Mypyc: Acyclic Classes
* Additional Mypyc Fixes and Improvements
* Removed Flags `--force-uppercase-builtins` and `--force-union-syntax`
* Stubgen Improvements
* Stubtest Improvements
* Documentation Updates
* Changes to Messages
* Other Notable Fixes and Improvements
* Typeshed updates
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.67 2026/01/25 23:27:13 wiz Exp $
d3 1
a3 1
DISTNAME=	mypy-1.20.0
@


1.67
log
@py-mypy: update to 1.19.1nb1.

Add missing py-librt dependency, add test status.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.66 2025/12/15 08:11:33 adam Exp $
d3 1
a3 1
DISTNAME=	mypy-1.19.1
a4 1
PKGREVISION=	1
d15 2
a16 2
DEPENDS+=	${PYPKGPREFIX}-librt>=0:../../lang/py-librt
DEPENDS+=	${PYPKGPREFIX}-pathspec>=0.9.0:../../devel/py-pathspec
d37 1
a37 5
post-install:
.for bin in dmypy mypy mypyc stubgen stubtest
	cd ${DESTDIR}${PREFIX}/bin && \
	${MV} ${bin} ${bin}-${PYVERSSUFFIX} || ${TRUE}
.endfor
@


1.66
log
@py-mypy: updated to 1.19.1

Mypy 1.19
This is the last mypy feature release that supports Python 3.9, which reached end of life in October 2025.

Performance Improvements

- Switch to a more dynamic SCC processing logic
- Speed up type aliases

https://github.com/python/mypy/blob/master/CHANGELOG.md
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.65 2025/10/03 09:25:56 adam Exp $
d5 1
d16 1
d27 3
@


1.65
log
@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.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.64 2025/08/06 06:29:14 adam Exp $
d3 1
a3 1
DISTNAME=	mypy-1.18.2
@


1.64
log
@py-mypy: updated to 1.17.1

Mypy 1.17
* Optionally Check That Match Is Exhaustive
* Further Improvements to Attribute Resolution
* Fixes to Nondeterministic Type Checking
* Remove Support for Targeting Python 3.8
* Initial Support for Python 3.14
* Deprecated Flag: `--force-uppercase-builtins`
* Mypyc: Improvements to Generators and Async Functions
* Mypyc: Partial, Unsafe Support for Free Threading
* Other Mypyc Fixes and Improvements
* Stubgen Improvements
* Miscellaneous Fixes and Improvements
* Acknowledgements
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.63 2025/06/30 19:48:34 adam Exp $
d3 1
a3 1
DISTNAME=	mypy-1.17.1
@


1.63
log
@py-mypy: updated to 1.16.1

1.16.1
Unknown changes
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.62 2025/06/01 05:58:01 adam Exp $
d3 1
a3 1
DISTNAME=	mypy-1.16.1
d15 1
@


1.62
log
@py-mypy: updated to 1.16.0

1.16.0
Different Property Getter and Setter Types
Flexible Variable Redefinitions (Experimental)
Stricter Type Checking with Imprecise Types
Improvements to Attribute Resolution
Make Implementation for Abstract Overloads Optional
Option to Exclude Everything in .gitignore
Selectively Disable Deprecated Warnings
Annotating Native/Non-Native Classes in Mypyc
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.61 2025/04/14 10:04:42 adam Exp $
d3 1
a3 1
DISTNAME=	mypy-1.16.0
@


1.61
log
@Fix PLIST after py-setuptools update; bump depends and revision
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.60 2025/02/07 07:31:45 adam Exp $
d3 1
a3 1
DISTNAME=	mypy-1.15.0
a4 1
PKGREVISION=	1
@


1.60
log
@py-mypy: updated to 1.15.0

1.15

Performance Improvements
Mypyc Accelerated Mypy Wheels for ARM Linux
--strict-bytes
Improvements to Reachability Analysis and Partial Type Handling in Loops
Better Discovery of Configuration Files
Better Line Numbers for Decorators and Slice Expressions
Drop Support for Python 3.8
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.59 2025/01/03 10:56:46 adam Exp $
d5 1
d14 1
a14 1
TOOL_DEPENDS+=	${PYPKGPREFIX}-setuptools>=40.6.2:../../devel/py-setuptools
@


1.59
log
@py-mypy: updated to 1.14.1

Mypy 1.14

Change to Enum Membership Semantics
Support for @@deprecated Decorator (PEP 702)
Optionally Analyzing Untyped Modules
Support New Style Type Variable Defaults (PEP 696)
Improved For Loop Index Variable Type Narrowing
Mypyc Improvements
Stubgen Improvements
Stubtest Improvements
Documentation Updates
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.58 2024/11/11 07:28:37 wiz Exp $
d3 1
a3 1
DISTNAME=	mypy-1.14.1
@


1.58
log
@py-*: remove unused tool dependency

py-setuptools includes the py-wheel functionality nowadays
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.57 2024/11/07 09:19:37 adam Exp $
d3 1
a3 1
DISTNAME=	mypy-1.13.0
@


1.57
log
@py-mypy: updated to 1.13.0

1.13.0

Significantly speed up file handling error paths
Use fast path in modulefinder more often
Let mypyc optimise os.path.join
Make is_sub_path faster
Speed up stubs suggestions
Use sha1 for hashing
Use orjson instead of json, when available
Add faster-cache extra, test in CI
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.56 2024/10/22 08:32:25 adam Exp $
a13 1
TOOL_DEPENDS+=	${PYPKGPREFIX}-wheel>=0.30.0:../../devel/py-wheel
@


1.56
log
@py-mypy: updated to 1.12.1

1.12.1
Bug fixes
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.55 2024/10/14 13:24:19 adam Exp $
d3 1
a3 1
DISTNAME=	mypy-1.12.1
d17 5
d23 1
a23 1
USE_LANGUAGES=	# none
@


1.55
log
@py-mypy: updated to 1.12.0

We’ve just uploaded mypy 1.12 to the Python Package Index ([PyPI](https://pypi.org/project/mypy/)). Mypy is a static type
checker for Python. This release includes new features, performance improvements and bug fixes.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.54 2024/08/27 08:13:28 adam Exp $
d3 1
a3 1
DISTNAME=	mypy-1.12.0
@


1.54
log
@py-mypy: updated to 1.11.2

1.11.2
Bug fixes
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.53 2024/07/31 07:55:06 adam Exp $
d3 1
a3 1
DISTNAME=	mypy-1.11.2
@


1.53
log
@py-mypy: updated to 1.11.1

1.11.1
Bug fixes
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.52 2024/07/22 04:53:56 adam Exp $
d3 1
a3 1
DISTNAME=	mypy-1.11.1
a19 2
PYTHON_VERSIONS_INCOMPATIBLE=	27

@


1.52
log
@py-mypy: updated to 1.11.0

Mypy 1.11

Support Python 3.12 Syntax for Generics (PEP 695)
Support for functools.partial
Stricter Checks for Untyped Overrides
Type Inference Improvements
Improvements to Detection of Overlapping Overloads
Better Support for Type Hints in Expressions
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.51 2024/06/27 06:04:24 adam Exp $
d3 1
a3 1
DISTNAME=	mypy-1.11.0
@


1.51
log
@py-mypy: updated to 1.10.1

1.10.1
Fix error reporting on cached run after uninstallation of third party library
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.50 2024/04/30 09:31:52 adam Exp $
d3 1
a3 1
DISTNAME=	mypy-1.10.1
d16 1
a16 1
DEPENDS+=	${PYPKGPREFIX}-typing-extensions>=4.1.0:../../devel/py-typing-extensions
@


1.50
log
@py-mypy: updated to 1.10.0

1.10.0
Support TypeIs (PEP 742)
Support TypeVar Defaults (PEP 696)
Support TypeAliasType (PEP 695)
Detect Additional Unsafe Uses of super()
Stubgen Improvements
Mypyc Improvements
Documentation Improvements
Error Reporting Improvements
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.49 2024/03/11 08:40:09 adam Exp $
d3 1
a3 1
DISTNAME=	mypy-1.10.0
@


1.49
log
@py-mypy: updated to 1.9.0

Mypy 1.9

Basic Support for Type Parameter Defaults (PEP 696)
Type-checking Improvements
Performance Improvements
Documentation Updates
Stubtest Improvements
Stubgen Improvements
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.48 2024/01/04 22:27:13 adam Exp $
d3 1
a3 1
DISTNAME=	mypy-1.9.0
@


1.48
log
@py-mypy: updated to 1.8.0

1.8

Type-checking Improvements
Performance Improvements
Improvements to Error Reporting
Stubgen Improvements
Stubtest Improvements
Fixes to Crashes
Documentation Updates
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.47 2023/11/23 20:52:09 adam Exp $
d3 1
a3 1
DISTNAME=	mypy-1.8.0
@


1.47
log
@py-mypy: updated to 1.7.1

1.7.1
Bug fixes
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.46 2023/11/22 10:31:16 adam Exp $
d3 1
a3 1
DISTNAME=	mypy-1.7.1
@


1.46
log
@py-mypy: updated to 1.7.0

1.7.0

Using TypedDict for **kwargs Typing
TypeVarTuple Support Enabled (Experimental)
New Way of Installing Mypyc Dependencies
New Rules for Re-exports
Improved Type Inference
Narrowing Tuple Types Using len()
More Precise Tuple Lengths (Experimental)
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.45 2023/10/18 09:38:41 adam Exp $
d3 1
a3 1
DISTNAME=	mypy-1.7.0
@


1.45
log
@py-mypy: updated to 1.6.1

Mypy 1.6

This release includes new features, performance improvements and bug fixes.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.44 2023/08/25 11:13:08 adam Exp $
d3 1
a3 1
DISTNAME=	mypy-1.6.1
d13 2
a21 2
USE_PKG_RESOURCES=	yes

d37 1
a37 1
.include "../../lang/python/egg.mk"
@


1.44
log
@py-mypy: updated to 1.5.1

1.5.1

Drop Support for Python 3.7
Optional Check to Require Explicit @@override
More Flexible TypedDict Creation and Update
Deprecated Flag: --strict-concatenate
Optionally Show Links to Error Code Documentation
Consistently Avoid Type Checking Unreachable Code
Experimental Improved Type Inference for Generic Functions
Partial Support for Python 3.12
Improvements to Dataclasses
Mypyc Improvements
Stubgen Improvements
Documentation Updates
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.43 2023/07/06 10:08:57 adam Exp $
d3 1
a3 1
DISTNAME=	mypy-1.5.1
@


1.43
log
@py-mypy: updated to 1.4.1

Mypy 1.4.0

The Override Decorator
Propagating Type Narrowing to Nested Functions
Narrowing Enum Values Using “==”
Performance Improvements
Improvements to Plugins
Fixes to Crashes
Improvements to Error Messages
Documentation Updates
Mypyc Improvements
Changes to Stubgen
Other Notable Fixes and Improvements
Typeshed Updates
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.42 2023/05/15 20:48:50 adam Exp $
d3 1
a3 1
DISTNAME=	mypy-1.4.1
a22 1

@


1.42
log
@py-mypy: updated to 1.3.0

1.3.0

Performance Improvements
Stub Tooling Improvements
Improvements to attrs
Documentation Updates
Error Reporting Improvements
Mypyc Improvements
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.41 2023/04/25 12:49:43 adam Exp $
d3 1
a3 1
DISTNAME=	mypy-1.3.0
d14 1
a14 1
DEPENDS+=	${PYPKGPREFIX}-typing-extensions>=3.10:../../devel/py-typing-extensions
@


1.41
log
@py-mypy: updated to 1.2.0

1.2.0

Improvements to Dataclass Transforms
Mypyc: Native Floats
Mypyc: Native Integers
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.40 2023/03/29 09:34:11 wiz Exp $
d3 1
a3 1
DISTNAME=	mypy-1.2.0
@


1.40
log
@*: use PYTHON_VERSION instead of _PYTHON_VERSION
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.39 2023/03/09 08:12:17 adam Exp $
d3 1
a3 1
DISTNAME=	mypy-1.1.1
d9 1
a9 1
HOMEPAGE=	http://www.mypy-lang.org/
@


1.39
log
@py-mypy: updated to 1.1.1

Mypy 1.1.1

This release includes new features, performance improvements and bug fixes.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.38 2023/02/22 12:47:25 adam Exp $
d23 2
a24 1
.if ${_PYTHON_VERSION} != 311
@


1.38
log
@py-mypy: updated to 1.0.1

1.0.1
Bug fixes
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.37 2023/02/14 19:09:59 adam Exp $
d3 1
a3 1
DISTNAME=	mypy-1.0.1
d13 1
a13 1
DEPENDS+=	${PYPKGPREFIX}-mypy_extensions>=0.4.3:../../lang/py-mypy_extensions
@


1.37
log
@py-mypy py-mypy_extensions: updated to 1.0.0

Mypy 1.0 Released

Now that mypy reached 1.0, we’ll switch to a new versioning scheme. Mypy version numbers will be of form x.y.z.

Mypy 1.0 is up to 40% faster than mypy 0.991 when type checking the Dropbox internal codebase. We also set up a daily job to measure the performance of the most recent development version of mypy to make it easier to track changes in performance.

Mypy will now generate an error if you use a variable before it’s defined. This feature is enabled by default. By default mypy reports an error when it infers that a variable is always undefined.

A new experimental possibly-undefined error code is now available that will detect variables that may be undefined.

There is now a simpler syntax for declaring generic self types introduced in PEP 673: the Self type. You no longer have to define a type variable to use “self types”, and you can use them with attributes.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.36 2022/11/22 13:28:32 adam Exp $
d3 1
a3 1
DISTNAME=	mypy-1.0.0
@


1.36
log
@py-mypy: updated to 0.991

Mypy 0.991

Basic Python 3.11 Support
Breaking Change: No Implicit Optional Types for Arguments
Breaking Change: Namespace Packages Enabled by Default
Recursive Types Enabled By Default
Error Codes Shown by Default
Safe Handling of Empty Function Bodies
Enabling Experimental Features Individually
Configuring Packages/Modules in the Config File
Warn about Variable Annotations in Unchecked Functions
Error Code for Using an Abstract Class as type[T]
Performance Improvements
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.35 2022/11/08 08:57:44 adam Exp $
d3 1
a3 1
DISTNAME=	mypy-0.991
d23 1
a23 1
.if ${_PYTHON_VERSION} < 311
@


1.35
log
@py-mypy: updated to 0.990

v0.990
Remove +dev from version
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.34 2022/10/06 19:38:55 adam Exp $
d3 1
a3 1
DISTNAME=	mypy-0.990
@


1.34
log
@py-mypy: updated to 0.982

0.981
* Support for Python 3.6 and 2 Dropped
* Generate Error on Unbound TypeVar Return Type
* Methods with Empty Bodies in Protocols Are Abstract
* Implicit Optional Types Will Be Disabled by Default
* Precise Types for **kwds Using TypedDict
* Experimental Support for General Recursive Types
* Generic NamedTuples and TypedDicts
* Better Support for Callable Attributes
* Per-Module Error Code Configuration
* Experimental Support for Interactive Inspection of Expressions
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.33 2022/08/18 07:33:45 adam Exp $
d3 1
a3 1
DISTNAME=	mypy-0.982
a13 1
DEPENDS+=	${PYPKGPREFIX}-tomli>=1.1.0:../../textproc/py-tomli
d23 2
a24 2
.if ${_PYTHON_VERSION} < 38
DEPENDS+=	${PYPKGPREFIX}-typed-ast>=1.4.0:../../devel/py-typed-ast
@


1.33
log
@py-mypy: updated to 0.971

0.971
Speed up accessing always defined native attributes
Reduce the overhead of reference counting
Fix Python 3.11 C API errors
Generate smaller code for casts and some implicit type coercions
Optimize calling Python objects with zero or one arguments
Replace integer floor division by a power of two with a shift
Add primitives for faster access of float and tuple type objects
Fix compile error related to operator assignment in a generator function
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.32 2022/07/01 17:13:49 adam Exp $
d3 1
a3 1
DISTNAME=	mypy-0.971
@


1.32
log
@py-mypy: updated to 0.961

0.961:
Unknown changes
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.31 2022/05/28 11:46:13 adam Exp $
d3 1
a3 1
DISTNAME=	mypy-0.961
@


1.31
log
@py-mypy: updated to 0.960

Mypy 0.960

Minimal Support for LiteralString
Per-file Timing Stats
Performance Improvements
Experimental Fast Module Lookup
Documentation Updates
Improvements to Plugin System
ParamSpec Improvements
Fixes to Crashes
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.30 2022/05/02 08:19:25 adam Exp $
d3 1
a3 1
DISTNAME=	mypy-0.960
@


1.30
log
@py-mypy: updated to 0.950

0.950
Pinning Third-Party Library Stub Versions
Concatenate and Literals with ParamSpec
Detect Unused Coroutines and Awaitables
assert_type
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.29 2022/03/31 07:30:09 adam Exp $
d3 1
a3 1
DISTNAME=	mypy-0.950
@


1.29
log
@py-mypy: updated to 0.942

0.942:

Fixes to Regressions

Let overload item have a more general return type than the implementation
Fix inheritance false positives with dataclasses/attrs
Support overriding dunder attributes in Enum subclass
Fix small conditional overload regression

Other Fixes

Fix issues related to the order of processing in the builtins import cycle
Fix crash in match statement if class name is undefined
Allow non-final __match_args__ and overriding
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.28 2022/03/15 05:53:26 adam Exp $
d3 1
a3 1
DISTNAME=	mypy-0.942
@


1.28
log
@py-mypy: updated to 0.941

0.940:

Miscellaneous New Features

Add support for conditionally defined overloads
Give "as" variables in with statements separate scopes when it is safe to do so
Add an optional error code ignore-without-code to require ignore comments to have error codes
Add support for typing.Never and typing_extensions.Never as alternative spellings of NoReturn
Add support for typing.reveal_type
Support universal2 macOS wheels
Add match_args support to attr.s()

Enum Improvements

Check Enum definition for invalid base classes
Understand the self-destructing nature of Enum._ignore_
Add StrEnum support for Python 3.11
Make enum values final
Improve final detection for Enum
Fix Enum final properties and writable special members
Enum now accepts String literals and final values as 2nd argument
Fix false positive about member name reuse in enum
Fix enum inheritance regression

Mypyc Fixes and Improvements

Use Py_TYPE and Py_IsNone
Implement additional internal consistency checks
Raise AttributeError also for non-refcounted types
Fix invalid unlikely() in certain rare branches
Skip no-op super calls to object.__init__()
Use latest pythoncapi_compat
Add helpful message to assert

Documentation Updates

Add documentations about Enum types
Update Enum documentation
Improve documentation of allow_redefinition
Fix intelligent indexing example
Explain generic Protocol[T1, T2, ...] shorthand
Clarify that stub-only packages need to be installed
Small documentation improvements for conditional overloads

Improved Error Messages

Improve the "Argument must be a mapping" error message
Coalesce Literals when printing unions
Suggest typing.Callable when using callable as type
Suggest typing.Any when using any as type
Add note about wrong error code in type: ignore
Add no-overload-impl error code
Display ellipsis when formatting variadic tuple[T, ...]
Deduplicate error codes for ignore-without-code
Tweak ignore-without-code error message
Mention common resolutions for build errors

Stubtest Improvements

Ignore more dunder positional-only errors
Fix wrong assumption about relative path
Catch more getattr errors
Error if module level dunder is missing, housekeeping
Ignore __main__ module
Error if a dunder method is missing from a stub
Error if a function is async at runtime but not in the stub
Do not error if a stub is async, but runtime is not
Error if a class should be decorated with @@final
Use VERSIONS for submodules
Treat dicts as a subtype of typeddict
Ignore more exceptions in stubtest

Other Notable Fixes and Improvements

Fix non-default keyword-only argument positioning in stubgen
Remove orjson stubs from default list
Use __truediv__ for Python 2 with __future__ import
Fix Python 2 compatibility issue
Use type variable bound to infer constraints
Handle raise Exception(), None on Python 2.7
Fix inference of protocol against overloaded function
Fix an issubclass failure for protocols with overloaded methods
Fix crashes in class scoped imports
Fix use of TypeAlias from aliased imports
Delete open plugin
Read pyproject.toml with correct encoding on Windows
Fix issue with implicit type aliases in import cycles
Forbid extra ParamSpec arguments
Fix crash involving explicit any flag and Required
Fix join of Any against a union type
Simplify unions when erasing last known values
Fix crash with yield in comprehension
Fix handling of NoReturn in union return types
Fix __init__ in dataclasses inheriting from Any
Narrow NamedTuple to bool correctly when __bool__ is defined
Improve type of __attrs_attrs__ in attrs classes
Install dependencies needed for reports via pip install mypy[reports]
Consider import * to be an explicit re-export
Fix --no-implicit-reexport inconsistency
Fix crash if "_" is in builtins
Fixes crash on subclassing Annotated without args
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.27 2022/01/11 07:07:42 adam Exp $
d3 1
a3 1
DISTNAME=	mypy-0.941
@


1.27
log
@py-mypy: updated to 0.931

0.931

Fixes to Regressions

Fix mypyc binary wheel
Revert to treating multi-line strings as a single value for exclude in TOML files
Revert to treating exclude in .ini as a single value
Fix __slots__ regression
Fix regression with __module__ and similar non-final Enum attributes
Fix regression when a contextmanager yields a generic function
Fix __reduce__ regression
Fix NoReturn type aliases
Fix regression in None handling with --no-strict-optional
Fix crash related to generics
Restore removed builtin_type() plugin API method

Other Fixes

Always allow the use of type[T] in stubs
Fix PEP 585 type aliases in stubs
Fix bug with literal types in stubtest
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.26 2022/01/05 15:41:12 wiz Exp $
d3 1
a3 1
DISTNAME=	mypy-0.931
@


1.26
log
@python: egg.mk: add USE_PKG_RESOURCES flag

This flag should be set for packages that import pkg_resources
and thus need setuptools after the build step.

Set this flag for packages that need it and bump PKGREVISION.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.25 2022/01/04 20:54:09 wiz Exp $
d3 1
a3 1
DISTNAME=	mypy-0.930
a4 1
PKGREVISION=	2
@


1.25
log
@*: bump PKGREVISION for egg.mk users

They now have a tool dependency on py-setuptools instead of a DEPENDS
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.24 2021/12/30 21:19:26 adam Exp $
d5 1
a5 1
PKGREVISION=	1
d22 2
@


1.24
log
@py-mypy: updated to 0.930

Mypy 0.930
New Feature: Explicit Type Aliases (PEP 613)
New Feature: NotRequired in TypedDicts
New Feature: ParamSpec (Experimental)

Optimizations

This release includes some optimizations that make mypy a bit faster (in addition to mypyc performance improvements discussed below):

Enable --fast-exit by default to speed up mypy
Only read the stdlib versions dictionary once per run
Optimize commonly used function
Minor optimization/cleanup
Reduce the number of executed local imports

Mypyc Fixes and Improvements

Add missing type coercions
Support --allow-redefinition
Constant fold integer operations and string concatenation
Use optimized implementation for builtins.sum
Move mypyc to console_scripts to fix running on Windows 10
Make min(x, y) faster
Make max(x, y) faster
Speed up reference counting operations by inlining them in commonly executed blocks
Add support for attrs classes
Port mypyc to Python 3.11
Reduce the amount of debug information included in compiled extension modules
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.23 2021/12/16 07:43:44 adam Exp $
d5 1
@


1.23
log
@py-mypy: updated to 0.920

0.920:
Unknown changes
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.22 2021/06/25 21:08:04 adam Exp $
d3 1
a3 1
DISTNAME=	mypy-0.920
d14 2
a15 2
DEPENDS+=	${PYPKGPREFIX}-toml-[0-9]*:../../textproc/py-toml
DEPENDS+=	${PYPKGPREFIX}-typing-extensions>=3.7.4:../../devel/py-typing-extensions
@


1.22
log
@py-mypy: updated to 0.910

Mypy 0.910 released

22 Jun 2021: Mypy 0.910 was released. This release includes the --non-interactive command-line option to install stubs without user interaction, plus other fixes and improvements. Python 3.5 is now deprecated. Read the blog post for the details.

Mypy 0.901 released

8 Jun 2021: Mypy 0.901 was released. This release moves third-party library stubs to stub packages, allowing newer stubs to be easily used without updating mypy. Mypy now supports pyproject.toml and type guards, and ships wheels for Apple Silicon. Plus, there are many other features and bug fixes. Read the blog post for the details.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.21 2021/03/09 11:26:20 adam Exp $
d3 1
a3 1
DISTNAME=	mypy-0.910
@


1.21
log
@py-mypy: updated to 0.812

0.812:
This release fixes a regression in module finding behavior and adds the --exclude flag for excluding certain paths when searching for modules.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.20 2021/01/28 08:19:09 adam Exp $
d3 1
a3 1
DISTNAME=	mypy-0.812
d14 1
a14 1
DEPENDS+=	${PYPKGPREFIX}-typed-ast>=1.4.0:../../devel/py-typed-ast
d21 5
@


1.20
log
@py-mypy: updated to 0.800

Mypy 0.800 was released. This release adds Python 3.9 support, typing usability improvements (PEP 585 and PEP 604), and other features and bug fixes.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.19 2020/11/09 13:36:24 adam Exp $
d3 1
a3 1
DISTNAME=	mypy-0.800
@


1.19
log
@py-mypy: updated to 0.790

0.790:
Bug Fixes
Fix disable_error_code config file option
Fix partial type crash during protocol checking
Store the type for assignment expression
Always type check arguments when using --disallow-untyped-calls
Make None compatible with Hashable
Don't infinite loop on self dependencies in --follow-imports=normal
Don't simplify away Any when joining union types
Check for deleted vars in raise from
Fix corner case for comparing nested overloads
Fix issues with async for and with statements
Fix internal error on list/dict comprehension with walrus operator in global scope
Fix propagation of module-specific options to the parser
Fix crash when super is called outside a method
Fix untyped decorator overload error on class decorator with __call__ overloads
Clean up terminal width handling
Add keyword arguments for functional Enum API
Validate follow_imports values in mypy.ini
Fix *expr in an assigned expression
Don't consider comparing True and False as a dangerous comparison
Make reveal_type work with call expressions returning None

Error Reporting Improvements
Improve missing module error for subdirectories
Clarify bytes formatting error messages
Fix misleading follow_imports error message in dmypy
Use [arg-type] error code for additional argument type error messages
Report some additional serious errors in junit.xml
Report note about binary operation on the same location as error message

Documentation Updates
Document disable_error_code config file option
Add cross references to config file values
Add cross references to additional config values, and missing plugins config value, and document --help option for stubgen
Remove note that Final is experimental and suggest importing it from typing
Discuss unreachable code as a common issue

Stubgen Improvements
Improve property type detection in extension modules
Fix type stubgen crash caused by invalid type annotation
Import Iterable and Iterator from typing in generated stubs

Other Improvements
Speed up type checking of unions containing many literal string types
Add scripts to misc/
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.18 2020/07/01 16:05:25 adam Exp $
d3 1
a3 1
DISTNAME=	mypy-0.790
@


1.18
log
@py-mypy: updated to 0.782

0.782:
Bug fixes
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.17 2020/06/20 07:07:40 adam Exp $
d3 1
a3 1
DISTNAME=	mypy-0.782
d21 2
a22 1
REPLACE_PYTHON=	mypy/typeshed/tests/*.py
@


1.17
log
@py-mypy: updated to 0.781

0.781:
Bug fixes
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.16 2020/06/17 11:58:57 adam Exp $
d3 1
a3 1
DISTNAME=	mypy-0.781
@


1.16
log
@py-mypy: updated to 0.780

0.780:
Unknown changes
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.15 2020/03/17 20:18:43 adam Exp $
d3 1
a3 1
DISTNAME=	mypy-0.780
@


1.15
log
@py-mypy: updated to 0.770

Mypy 0.770 was released. This release includes various fixes and improvements and improved type inference in some cases.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.14 2020/01/03 11:53:09 adam Exp $
d3 1
a3 1
DISTNAME=	mypy-0.770
d13 1
a13 1
DEPENDS+=	${PYPKGPREFIX}-mypy_extensions>=0.4.0:../../lang/py-mypy_extensions
@


1.14
log
@py-mypy: updated to 0.761

Mypy 0.760 was released. This release includes various fixes and improvements, and a type signature suggestion feature for tools.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.13 2019/12/11 19:06:55 adam Exp $
d3 1
a3 1
DISTNAME=	mypy-0.761
d24 1
d26 2
a27 3
	${MV} dmypy dmypy-${PYVERSSUFFIX} && \
	${MV} mypy mypy-${PYVERSSUFFIX} && \
	${MV} stubgen stubgen-${PYVERSSUFFIX} || ${TRUE}
@


1.13
log
@py-mypy: updated to 0.750

Mypy 0.750 was released. This release has better support for self-types, improved stub generator, experimental static inference of annotations, and other improvements and bug fixes. Read the blog post for more details.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.12 2019/10/18 12:28:37 adam Exp $
d3 1
a3 1
DISTNAME=	mypy-0.750
@


1.12
log
@py-mypy: updated to 0.740; py-mypy_extensions updated to 0.4.3

This release includes many features, bug fixes and library stub (typeshed) updates.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.11 2019/08/12 07:38:53 adam Exp $
d3 1
a3 1
DISTNAME=	mypy-0.740
@


1.11
log
@py-mypy: updated to 0.720

Mypy 0.720 was released. This release uses the new semantic analyzer by
default, adds a flag to warn about unreachable code, and has other improvements
and bug fixes.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.10 2019/07/03 19:40:41 adam Exp $
d3 1
a3 1
DISTNAME=	mypy-0.720
@


1.10
log
@py-mypy: updated to 0.711

0.711:
The following two issues in mypy 0.710 were fixed:
Revert typeshed (“Define functools.partial as overloaded function instead of its own class”). This caused too many false positive errors in real-world code.
Fix MYPYC_BLACKLIST on Windows. This broke running dmypy on Windows.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.9 2019/06/20 11:20:08 adam Exp $
d3 1
a3 1
DISTNAME=	mypy-0.711
d13 1
d15 1
a15 1
DEPENDS+=	${PYPKGPREFIX}-mypy_extensions>=0.4.0:../../lang/py-mypy_extensions
@


1.9
log
@py-mypy: updated to 0.710

0.710:
This release features a new, experimental semantic analyzer and inline configuration options.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.8 2019/05/02 09:16:47 adam Exp $
d3 1
a3 1
DISTNAME=	mypy-0.710
@


1.8
log
@Forget about Python 3.4
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.7 2019/04/19 10:07:18 adam Exp $
d3 1
a3 1
DISTNAME=	mypy-0.701
d13 1
a13 1
DEPENDS+=	${PYPKGPREFIX}-typed-ast>=1.3.1:../../devel/py-typed-ast
d16 2
a19 2
USE_LANGUAGES=	# none

d24 3
a26 3
		${MV} dmypy dmypy-${PYVERSSUFFIX} && \
		${MV} mypy mypy-${PYVERSSUFFIX} && \
		${MV} stubgen stubgen-${PYVERSSUFFIX} || ${TRUE}
@


1.7
log
@py-mypy: updated to 0.701

0.701:
Unknown changes
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.6 2019/04/04 09:40:17 adam Exp $
a17 5
.include "../../lang/python/pyversion.mk"
.if ${_PYTHON_VERSION} == 34
DEPENDS+=	${PYPKGPREFIX}-typing>=3.5.3:../../devel/py-typing
.endif

@


1.6
log
@py-mypy: updated to 0.700

0.700:
Much Improved performance
Stricter Equality Checks
Python 3.4 Unsupported for Running Mypy
Plugin System Improvements
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.5 2019/02/15 13:23:54 adam Exp $
d3 1
a3 1
DISTNAME=	mypy-0.700
d13 1
a13 1
DEPENDS+=	${PYPKGPREFIX}-typed-ast>=1.1.0:../../devel/py-typed-ast
@


1.5
log
@py-mypy: updated to 0.670

Mypy 0.670:
New Feature: Variable Redefinition
Stubgen Improvements
Other Improvements
- Expand getting started docs to discuss type hints in more detail
- Always infer in operator as returning bool
- Allow star args in ctypes.Array constructor
- Fix plugin invocation for __call__ methods
- Implement the XDG directory spec for config files: $XDG_CONFIG_HOME/mypy/config is now included in the search path for config files
- When using the --junit-xml flag, the Python version and platform in the junit.xml file are now formatted as mypy-py3_6-windows — previously this was mypy-py3.6-windows but the dot was misinterpreted by some tools
- Update the typed_ast dependency to version 1.3.1; this means we now officially support Python 3.7
- Temporarily delete pyproject.toml from the repo in order to work around a pip bu g
- Include mypy_bootstrap.ini in PyPI packages
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.4 2019/01/21 10:37:09 adam Exp $
d3 1
a3 1
DISTNAME=	mypy-0.670
@


1.4
log
@py-mypy: updated to 0.660

0.660:
- Literal Types
- Quick Mode Removed
- Plugin Improvements
  * Add documentation for plugin system
  * Make name lookup available to all plugin hooks
  * Add more information to FunctionContext and MethodContext
- Other Improvements and Notable Bugs Fixed
  * Introduce an optional sqlite backed incremental cache, enabled with --sqlite-cache
  * Fix a daemon crash when there is a decode error
  * Allow setting python_executable from config file
  * Short-circuit if expression for always true/always false variables and MYPY/TYPE_CHECKING
  * Don't map actual kwargs to formal *args
  * Disable cache when producing reports
  * Fix issues with pointer arrays in the ctypes plugin
  * Support kw_only=True in the attrs plugin
  * Fix some daemon crash bugs
  * Better error messages when __eq__ has unexpected signature
  * Collect additional timing stats and allow reporting them from the daemon
  * Fix dmypy run when bad options passed to mypy
  * Improve error messages from multiple inheritance compatibility checks
  * Fix an incremental mode crash that can occur in situations with import cycles and star imports
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.3 2018/12/09 20:37:29 adam Exp $
d3 1
a3 1
DISTNAME=	mypy-0.660
@


1.3
log
@py-mypy: updated to 0.650

Mypy 0.650
This release includes new features, bug fixes and library stub (typeshed) updates.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.2 2018/11/29 08:16:35 adam Exp $
d3 1
a3 1
DISTNAME=	mypy-0.650
@


1.2
log
@py-mypy: move PYTHON_VERSIONS_INCOMPATIBLE up
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.1 2018/11/28 08:15:31 adam Exp $
d3 1
a3 1
DISTNAME=	mypy-0.641
@


1.1
log
@py-mypy: added version 0.641

Add type annotations to your Python programs, and use mypy to type check them.
Mypy is essentially a Python linter on steroids, and it can catch many
programming errors by analyzing your program, without actually having to run
it. Mypy has a powerful type system with features such as type inference,
gradual typing, generics and union types.
@
text
@d1 1
a1 1
# $NetBSD$
d16 2
a24 2
PYTHON_VERSIONS_INCOMPATIBLE=	27

@

