23720878dc
- Update to 1.11.2 * 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 * Mypyc Improvements + Support Python 3.12 syntax for generic functions and classes + Support Python 3.12 type alias syntax + Fix ParamSpec + Inline fast paths of integer unboxing operations + Inline tagged integer arithmetic and bitwise operations + Allow specifying primitives as pure * Changes to Stubtest + Ignore _ios_support + Improve support for Python 3.13 * Changes to Stubgen + Gracefully handle invalid Optional and recognize aliases to PEP 604 unions + Fix for Python 3.13 + Preserve enum value initialisers * Miscellaneous New Features + Add error format support and JSON output option via --output json + Support enum.member in Python 3.11+ + Support enum.nonmember in Python 3.11+ + Support namedtuple.__replace__ in Python 3.13 + Support rename=True in collections.namedtuple + Add support for __spec__ * Changes to Error Reporting + Mention --enable-incomplete-feature=NewGenericSyntax in messages
devel
Markéta Machová2024-09-11 06:59:56 +00:00
7e97d0a84f
Accepting request 1181211 from devel:languages:python
Ana Guerrero2024-06-21 14:02:43 +00:00
cb79017320
- Update to 1.10.0: * Support TypeIs (PEP 742) * Support TypeVar Defaults (PEP 696) * Support TypeAliasType (PEP 695) * Detect Additional Unsafe Uses of super() * Fix incorrect inferred type when accessing descriptor on union type * Fix crash when expanding invalid Unpack in a Callable alias * Fix false positive when string formatting with string enum * Narrow individual items when matching a tuple to a sequence pattern * Fix false positive from type variable within TypeGuard or TypeIs * Improve yield from inference for unions of generators * Fix emulating hash method logic in attrs classes * Add reverted typeshed commit that uses ParamSpec for functools.wraps * Fix type narrowing for types.EllipsisType * Fix single item enum match type exhaustion * Improve type inference with empty collections * Fix override checking for decorated property * Fix narrowing on match with function subject - Drop including types-ast, no longer required. - Drop patch workaround-parenthesized-context-managers.patch, now included upstream.
Steve Kowalik2024-06-17 05:39:18 +00:00
fbbcdc6baf
Accepting request 1164520 from devel:languages:python
Ana Guerrero2024-04-04 20:26:29 +00:00
dbbbb63c88
- Stop skipping tests under Python 3.6. - Drop -x argument to pytest.
Steve Kowalik2024-04-04 08:33:29 +00:00
fd23ee145b
- Add patch workaround-parenthesized-context-managers.patch: * Work around parenthesized context managers issue. - Stop skipping tests that are now fixed.
Steve Kowalik2024-04-04 04:59:52 +00:00
2e67d2f38c
Accepting request 1163260 from devel:languages:python
Ana Guerrero2024-03-29 12:09:32 +00:00
021fe7c442
Accepting request 1162950 from home:ecsos:python
Markéta Machová2024-03-28 08:08:12 +00:00
276defde8c
Accepting request 1160713 from devel:languages:python
Ana Guerrero2024-03-25 20:07:29 +00:00
bfba238f1d
- update to 1.8.0: * https://mypy-lang.blogspot.com/2023/12/mypy-18-released.html * https://mypy-lang.blogspot.com/2023/11/mypy-17-released.html * https://mypy-lang.blogspot.com/2023/10/mypy-16-released.html - fix dependencies - Support better __post_init__ method signature for dataclasses (Nikita Sobolev, PR 15503) - Don't explicitly assign NULL values in setup functions (Logan Hunt, PR 15379) - Fix crash on non-str docstring (Ali Hamdan, PR 15623) - Remove confusing instance variable example in cheat sheet (Adel Atallah, PR 15441) - Check for abstract class objects in tuples (Nikita Sobolev, PR 15366) - Fix frozen behavior for base classes with direct metaclasses (Wesley Collin Wright, PR 14878) - Fixes to float to int conversion (Jukka Lehtosalo, PR 14936) - Faster classmethod calls via cls (Jukka Lehtosalo, PR 14789) - Fix crash on ParamSpec in incremental mode (Ivan Levkivskyi, PR 14885) - Improve documentation of top level mypy: disable-error-code comment (Nikita Sobolev, PR 14810) - Add suggestions for pandas-stubs and lxml-stubs (Shantanu, PR 14737) - Honor NoReturn as __setitem__ return type to mark unreachable code (sterliakov, PR 12572) - Sadly, six is still required for tests, re-add to BuildRequires. The full release notes can be found here: - Fix types of inherited attributes in generic dataclasses (Jukka Lehtosalo, PR 12656) - add missing g++ compiler for tests
Dirk Mueller2024-01-02 17:27:14 +00:00
1c58745afc
Accepting request 1109212 from devel:languages:python
Ana Guerrero2023-09-06 16:59:32 +00:00