The NetBSD Project

CVS log for pkgsrc/lang/py-mypy/Makefile

[BACK] Up to [cvs.NetBSD.org] / pkgsrc / lang / py-mypy

Request diff between arbitrary revisions


Keyword substitution: kv
Default branch: MAIN


Revision 1.56: download - view: text, markup, annotated - select for diffs
Tue Oct 22 08:32:25 2024 UTC (2 weeks ago) by adam
Branches: MAIN
CVS tags: HEAD
Diff to: previous 1.55: preferred, colored
Changes since revision 1.55: +2 -2 lines
py-mypy: updated to 1.12.1

1.12.1
Bug fixes

Revision 1.55: download - view: text, markup, annotated - select for diffs
Mon Oct 14 13:24:19 2024 UTC (3 weeks ago) by adam
Branches: MAIN
Diff to: previous 1.54: preferred, colored
Changes since revision 1.54: +2 -2 lines
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.

Revision 1.54: download - view: text, markup, annotated - select for diffs
Tue Aug 27 08:13:28 2024 UTC (2 months, 1 week ago) by adam
Branches: MAIN
CVS tags: pkgsrc-2024Q3-base, pkgsrc-2024Q3
Diff to: previous 1.53: preferred, colored
Changes since revision 1.53: +2 -4 lines
py-mypy: updated to 1.11.2

1.11.2
Bug fixes

Revision 1.53: download - view: text, markup, annotated - select for diffs
Wed Jul 31 07:55:06 2024 UTC (3 months ago) by adam
Branches: MAIN
Diff to: previous 1.52: preferred, colored
Changes since revision 1.52: +2 -2 lines
py-mypy: updated to 1.11.1

1.11.1
Bug fixes

Revision 1.52: download - view: text, markup, annotated - select for diffs
Mon Jul 22 04:53:56 2024 UTC (3 months, 2 weeks ago) by adam
Branches: MAIN
Diff to: previous 1.51: preferred, colored
Changes since revision 1.51: +3 -3 lines
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

Revision 1.51: download - view: text, markup, annotated - select for diffs
Thu Jun 27 06:04:24 2024 UTC (4 months, 1 week ago) by adam
Branches: MAIN
Diff to: previous 1.50: preferred, colored
Changes since revision 1.50: +2 -2 lines
py-mypy: updated to 1.10.1

1.10.1
Fix error reporting on cached run after uninstallation of third party library

Revision 1.50: download - view: text, markup, annotated - select for diffs
Tue Apr 30 09:31:52 2024 UTC (6 months ago) by adam
Branches: MAIN
CVS tags: pkgsrc-2024Q2-base, pkgsrc-2024Q2
Diff to: previous 1.49: preferred, colored
Changes since revision 1.49: +2 -2 lines
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

Revision 1.49: download - view: text, markup, annotated - select for diffs
Mon Mar 11 08:40:09 2024 UTC (7 months, 3 weeks ago) by adam
Branches: MAIN
CVS tags: pkgsrc-2024Q1-base, pkgsrc-2024Q1
Diff to: previous 1.48: preferred, colored
Changes since revision 1.48: +2 -2 lines
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

Revision 1.48: download - view: text, markup, annotated - select for diffs
Thu Jan 4 22:27:13 2024 UTC (10 months ago) by adam
Branches: MAIN
Diff to: previous 1.47: preferred, colored
Changes since revision 1.47: +2 -2 lines
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

Revision 1.47: download - view: text, markup, annotated - select for diffs
Thu Nov 23 20:52:09 2023 UTC (11 months, 1 week ago) by adam
Branches: MAIN
CVS tags: pkgsrc-2023Q4-base, pkgsrc-2023Q4
Diff to: previous 1.46: preferred, colored
Changes since revision 1.46: +2 -2 lines
py-mypy: updated to 1.7.1

1.7.1
Bug fixes

Revision 1.46: download - view: text, markup, annotated - select for diffs
Wed Nov 22 10:31:16 2023 UTC (11 months, 2 weeks ago) by adam
Branches: MAIN
Diff to: previous 1.45: preferred, colored
Changes since revision 1.45: +5 -5 lines
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)

Revision 1.45: download - view: text, markup, annotated - select for diffs
Wed Oct 18 09:38:41 2023 UTC (12 months, 2 weeks ago) by adam
Branches: MAIN
Diff to: previous 1.44: preferred, colored
Changes since revision 1.44: +2 -2 lines
py-mypy: updated to 1.6.1

Mypy 1.6

This release includes new features, performance improvements and bug fixes.

Revision 1.44: download - view: text, markup, annotated - select for diffs
Fri Aug 25 11:13:08 2023 UTC (14 months, 1 week ago) by adam
Branches: MAIN
CVS tags: pkgsrc-2023Q3-base, pkgsrc-2023Q3
Diff to: previous 1.43: preferred, colored
Changes since revision 1.43: +2 -3 lines
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

Revision 1.43: download - view: text, markup, annotated - select for diffs
Thu Jul 6 10:08:57 2023 UTC (16 months ago) by adam
Branches: MAIN
Diff to: previous 1.42: preferred, colored
Changes since revision 1.42: +3 -3 lines
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

Revision 1.42: download - view: text, markup, annotated - select for diffs
Mon May 15 20:48:50 2023 UTC (17 months, 3 weeks ago) by adam
Branches: MAIN
CVS tags: pkgsrc-2023Q2-base, pkgsrc-2023Q2
Diff to: previous 1.41: preferred, colored
Changes since revision 1.41: +2 -2 lines
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

Revision 1.41: download - view: text, markup, annotated - select for diffs
Tue Apr 25 12:49:43 2023 UTC (18 months, 1 week ago) by adam
Branches: MAIN
Diff to: previous 1.40: preferred, colored
Changes since revision 1.40: +3 -3 lines
py-mypy: updated to 1.2.0

1.2.0

Improvements to Dataclass Transforms
Mypyc: Native Floats
Mypyc: Native Integers

Revision 1.40: download - view: text, markup, annotated - select for diffs
Wed Mar 29 09:34:11 2023 UTC (19 months, 1 week ago) by wiz
Branches: MAIN
Diff to: previous 1.39: preferred, colored
Changes since revision 1.39: +3 -2 lines
*: use PYTHON_VERSION instead of _PYTHON_VERSION

Revision 1.39: download - view: text, markup, annotated - select for diffs
Thu Mar 9 08:12:17 2023 UTC (19 months, 4 weeks ago) by adam
Branches: MAIN
CVS tags: pkgsrc-2023Q1-base, pkgsrc-2023Q1
Diff to: previous 1.38: preferred, colored
Changes since revision 1.38: +3 -3 lines
py-mypy: updated to 1.1.1

Mypy 1.1.1

This release includes new features, performance improvements and bug fixes.

Revision 1.38: download - view: text, markup, annotated - select for diffs
Wed Feb 22 12:47:25 2023 UTC (20 months, 1 week ago) by adam
Branches: MAIN
Diff to: previous 1.37: preferred, colored
Changes since revision 1.37: +2 -2 lines
py-mypy: updated to 1.0.1

1.0.1
Bug fixes

Revision 1.37: download - view: text, markup, annotated - select for diffs
Tue Feb 14 19:09:59 2023 UTC (20 months, 3 weeks ago) by adam
Branches: MAIN
Diff to: previous 1.36: preferred, colored
Changes since revision 1.36: +3 -3 lines
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.

Revision 1.36: download - view: text, markup, annotated - select for diffs
Tue Nov 22 13:28:32 2022 UTC (23 months, 2 weeks ago) by adam
Branches: MAIN
CVS tags: pkgsrc-2022Q4-base, pkgsrc-2022Q4
Diff to: previous 1.35: preferred, colored
Changes since revision 1.35: +2 -2 lines
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

Revision 1.35: download - view: text, markup, annotated - select for diffs
Tue Nov 8 08:57:44 2022 UTC (23 months, 4 weeks ago) by adam
Branches: MAIN
Diff to: previous 1.34: preferred, colored
Changes since revision 1.34: +4 -5 lines
py-mypy: updated to 0.990

v0.990
Remove +dev from version

Revision 1.34: download - view: text, markup, annotated - select for diffs
Thu Oct 6 19:38:55 2022 UTC (2 years, 1 month ago) by adam
Branches: MAIN
Diff to: previous 1.33: preferred, colored
Changes since revision 1.33: +2 -2 lines
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

Revision 1.33: download - view: text, markup, annotated - select for diffs
Thu Aug 18 07:33:45 2022 UTC (2 years, 2 months ago) by adam
Branches: MAIN
CVS tags: pkgsrc-2022Q3-base, pkgsrc-2022Q3
Diff to: previous 1.32: preferred, colored
Changes since revision 1.32: +2 -2 lines
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

Revision 1.32: download - view: text, markup, annotated - select for diffs
Fri Jul 1 17:13:49 2022 UTC (2 years, 4 months ago) by adam
Branches: MAIN
Diff to: previous 1.31: preferred, colored
Changes since revision 1.31: +2 -2 lines
py-mypy: updated to 0.961

0.961:
Unknown changes

Revision 1.31: download - view: text, markup, annotated - select for diffs
Sat May 28 11:46:13 2022 UTC (2 years, 5 months ago) by adam
Branches: MAIN
CVS tags: pkgsrc-2022Q2-base, pkgsrc-2022Q2
Diff to: previous 1.30: preferred, colored
Changes since revision 1.30: +2 -2 lines
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

Revision 1.30: download - view: text, markup, annotated - select for diffs
Mon May 2 08:19:25 2022 UTC (2 years, 6 months ago) by adam
Branches: MAIN
Diff to: previous 1.29: preferred, colored
Changes since revision 1.29: +2 -2 lines
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

Revision 1.29: download - view: text, markup, annotated - select for diffs
Thu Mar 31 07:30:09 2022 UTC (2 years, 7 months ago) by adam
Branches: MAIN
Diff to: previous 1.28: preferred, colored
Changes since revision 1.28: +2 -2 lines
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

Revision 1.28: download - view: text, markup, annotated - select for diffs
Tue Mar 15 05:53:26 2022 UTC (2 years, 7 months ago) by adam
Branches: MAIN
CVS tags: pkgsrc-2022Q1-base, pkgsrc-2022Q1
Diff to: previous 1.27: preferred, colored
Changes since revision 1.27: +2 -2 lines
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

Revision 1.27: download - view: text, markup, annotated - select for diffs
Tue Jan 11 07:07:42 2022 UTC (2 years, 9 months ago) by adam
Branches: MAIN
Diff to: previous 1.26: preferred, colored
Changes since revision 1.26: +2 -3 lines
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

Revision 1.26: download - view: text, markup, annotated - select for diffs
Wed Jan 5 15:41:12 2022 UTC (2 years, 10 months ago) by wiz
Branches: MAIN
Diff to: previous 1.25: preferred, colored
Changes since revision 1.25: +4 -2 lines
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.

Revision 1.25: download - view: text, markup, annotated - select for diffs
Tue Jan 4 20:54:09 2022 UTC (2 years, 10 months ago) by wiz
Branches: MAIN
Diff to: previous 1.24: preferred, colored
Changes since revision 1.24: +2 -1 lines
*: bump PKGREVISION for egg.mk users

They now have a tool dependency on py-setuptools instead of a DEPENDS

Revision 1.24: download - view: text, markup, annotated - select for diffs
Thu Dec 30 21:19:26 2021 UTC (2 years, 10 months ago) by adam
Branches: MAIN
Diff to: previous 1.23: preferred, colored
Changes since revision 1.23: +4 -4 lines
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

Revision 1.23: download - view: text, markup, annotated - select for diffs
Thu Dec 16 07:43:44 2021 UTC (2 years, 10 months ago) by adam
Branches: MAIN
CVS tags: pkgsrc-2021Q4-base, pkgsrc-2021Q4
Diff to: previous 1.22: preferred, colored
Changes since revision 1.22: +2 -2 lines
py-mypy: updated to 0.920

0.920:
Unknown changes

Revision 1.22: download - view: text, markup, annotated - select for diffs
Fri Jun 25 21:08:04 2021 UTC (3 years, 4 months ago) by adam
Branches: MAIN
CVS tags: pkgsrc-2021Q3-base, pkgsrc-2021Q3
Diff to: previous 1.21: preferred, colored
Changes since revision 1.21: +8 -3 lines
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.

Revision 1.21: download - view: text, markup, annotated - select for diffs
Tue Mar 9 11:26:20 2021 UTC (3 years, 7 months ago) by adam
Branches: MAIN
CVS tags: pkgsrc-2021Q2-base, pkgsrc-2021Q2, pkgsrc-2021Q1-base, pkgsrc-2021Q1
Diff to: previous 1.20: preferred, colored
Changes since revision 1.20: +2 -2 lines
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.

Revision 1.20: download - view: text, markup, annotated - select for diffs
Thu Jan 28 08:19:09 2021 UTC (3 years, 9 months ago) by adam
Branches: MAIN
Diff to: previous 1.19: preferred, colored
Changes since revision 1.19: +2 -2 lines
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.

Revision 1.19: download - view: text, markup, annotated - select for diffs
Mon Nov 9 13:36:24 2020 UTC (3 years, 11 months ago) by adam
Branches: MAIN
CVS tags: pkgsrc-2020Q4-base, pkgsrc-2020Q4
Diff to: previous 1.18: preferred, colored
Changes since revision 1.18: +4 -3 lines
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/

Revision 1.18: download - view: text, markup, annotated - select for diffs
Wed Jul 1 16:05:25 2020 UTC (4 years, 4 months ago) by adam
Branches: MAIN
CVS tags: pkgsrc-2020Q3-base, pkgsrc-2020Q3
Diff to: previous 1.17: preferred, colored
Changes since revision 1.17: +2 -2 lines
py-mypy: updated to 0.782

0.782:
Bug fixes

Revision 1.17: download - view: text, markup, annotated - select for diffs
Sat Jun 20 07:07:40 2020 UTC (4 years, 4 months ago) by adam
Branches: MAIN
CVS tags: pkgsrc-2020Q2-base, pkgsrc-2020Q2
Diff to: previous 1.16: preferred, colored
Changes since revision 1.16: +2 -2 lines
py-mypy: updated to 0.781

0.781:
Bug fixes

Revision 1.16: download - view: text, markup, annotated - select for diffs
Wed Jun 17 11:58:57 2020 UTC (4 years, 4 months ago) by adam
Branches: MAIN
Diff to: previous 1.15: preferred, colored
Changes since revision 1.15: +3 -3 lines
py-mypy: updated to 0.780

0.780:
Unknown changes

Revision 1.15: download - view: text, markup, annotated - select for diffs
Tue Mar 17 20:18:43 2020 UTC (4 years, 7 months ago) by adam
Branches: MAIN
CVS tags: pkgsrc-2020Q1-base, pkgsrc-2020Q1
Diff to: previous 1.14: preferred, colored
Changes since revision 1.14: +5 -5 lines
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.

Revision 1.14: download - view: text, markup, annotated - select for diffs
Fri Jan 3 11:53:09 2020 UTC (4 years, 10 months ago) by adam
Branches: MAIN
Diff to: previous 1.13: preferred, colored
Changes since revision 1.13: +2 -2 lines
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.

Revision 1.13: download - view: text, markup, annotated - select for diffs
Wed Dec 11 19:06:55 2019 UTC (4 years, 10 months ago) by adam
Branches: MAIN
CVS tags: pkgsrc-2019Q4-base, pkgsrc-2019Q4
Diff to: previous 1.12: preferred, colored
Changes since revision 1.12: +2 -2 lines
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.

Revision 1.12: download - view: text, markup, annotated - select for diffs
Fri Oct 18 12:28:37 2019 UTC (5 years ago) by adam
Branches: MAIN
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +2 -2 lines
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.

Revision 1.11: download - view: text, markup, annotated - select for diffs
Mon Aug 12 07:38:53 2019 UTC (5 years, 2 months ago) by adam
Branches: MAIN
CVS tags: pkgsrc-2019Q3-base, pkgsrc-2019Q3
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +4 -3 lines
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.

Revision 1.10: download - view: text, markup, annotated - select for diffs
Wed Jul 3 19:40:41 2019 UTC (5 years, 4 months ago) by adam
Branches: MAIN
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +2 -2 lines
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.

Revision 1.9: download - view: text, markup, annotated - select for diffs
Thu Jun 20 11:20:08 2019 UTC (5 years, 4 months ago) by adam
Branches: MAIN
CVS tags: pkgsrc-2019Q2-base, pkgsrc-2019Q2
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +8 -8 lines
py-mypy: updated to 0.710

0.710:
This release features a new, experimental semantic analyzer and inline configuration options.

Revision 1.8: download - view: text, markup, annotated - select for diffs
Thu May 2 09:16:47 2019 UTC (5 years, 6 months ago) by adam
Branches: MAIN
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +1 -6 lines
Forget about Python 3.4

Revision 1.7: download - view: text, markup, annotated - select for diffs
Fri Apr 19 10:07:18 2019 UTC (5 years, 6 months ago) by adam
Branches: MAIN
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +3 -3 lines
py-mypy: updated to 0.701

0.701:
Unknown changes

Revision 1.6: download - view: text, markup, annotated - select for diffs
Thu Apr 4 09:40:17 2019 UTC (5 years, 7 months ago) by adam
Branches: MAIN
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +2 -2 lines
py-mypy: updated to 0.700

0.700:
Much Improved performance
Stricter Equality Checks
Python 3.4 Unsupported for Running Mypy
Plugin System Improvements

Revision 1.5: download - view: text, markup, annotated - select for diffs
Fri Feb 15 13:23:54 2019 UTC (5 years, 8 months ago) by adam
Branches: MAIN
CVS tags: pkgsrc-2019Q1-base, pkgsrc-2019Q1
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +2 -2 lines
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

Revision 1.4: download - view: text, markup, annotated - select for diffs
Mon Jan 21 10:37:09 2019 UTC (5 years, 9 months ago) by adam
Branches: MAIN
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +2 -2 lines
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

Revision 1.3: download - view: text, markup, annotated - select for diffs
Sun Dec 9 20:37:29 2018 UTC (5 years, 10 months ago) by adam
Branches: MAIN
CVS tags: pkgsrc-2018Q4-base, pkgsrc-2018Q4
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +2 -2 lines
py-mypy: updated to 0.650

Mypy 0.650
This release includes new features, bug fixes and library stub (typeshed) updates.

Revision 1.2: download - view: text, markup, annotated - select for diffs
Thu Nov 29 08:16:35 2018 UTC (5 years, 11 months ago) by adam
Branches: MAIN
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +3 -3 lines
py-mypy: move PYTHON_VERSIONS_INCOMPATIBLE up

Revision 1.1: download - view: text, markup, annotated - select for diffs
Wed Nov 28 08:15:31 2018 UTC (5 years, 11 months ago) by adam
Branches: MAIN
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.

Diff request

This form allows you to request diffs between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.

Log view options

CVSweb <webmaster@jp.NetBSD.org>