From b5aa76d428d91321e258bdded1bf6554e5bc58b1 Mon Sep 17 00:00:00 2001 From: Marc Mueller <30130371+cdce8p@users.noreply.github.com> Date: Sun, 29 Dec 2024 22:59:02 +0100 Subject: [PATCH 1/3] Add some more details for the next release notes --- CHANGELOG.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index fb4bbc3afe7f..97f3aabe5b6b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,18 @@ ## Next release +### Drop Support for Python 3.8 + +Mypy no longer supports running with Python 3.8, which has reached end-of-life. +For the time being, it is still possible to type check older code using Python 3.9+ +by passing `--python-version 3.8` as argument. This will be dropped in the first half of 2025! +Contributed by Marc Mueller (PR [17492](https://github.com/python/mypy/pull/17492)). + +### Mypy wheels for aarch64 + +Precompiled wheels for `manylinux_aarch64` are now available for download on PyPI. +Contributed by Christian Bundy (PR [mypy_mypyc-wheels#76](https://github.com/mypyc/mypy_mypyc-wheels/pull/76)) + ### `--strict-bytes` By default, mypy treats an annotation of ``bytes`` as permitting ``bytearray`` and ``memoryview``. From 9dc8cff79d984e4a1c004c3083c26398684e7631 Mon Sep 17 00:00:00 2001 From: Marc Mueller <30130371+cdce8p@users.noreply.github.com> Date: Sun, 29 Dec 2024 23:40:40 +0100 Subject: [PATCH 2/3] Update CHANGELOG.md Co-authored-by: Shantanu <12621235+hauntsaninja@users.noreply.github.com> --- CHANGELOG.md | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 97f3aabe5b6b..089166c7a4e7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,9 +9,13 @@ For the time being, it is still possible to type check older code using Python 3 by passing `--python-version 3.8` as argument. This will be dropped in the first half of 2025! Contributed by Marc Mueller (PR [17492](https://github.com/python/mypy/pull/17492)). -### Mypy wheels for aarch64 +### Mypyc accelerated mypy wheels for aarch64 + +Mypy can compile itself to C extension modules using mypyc. This makes mypy 3-5x faster +than if mypy is interpreted with pure Python. We now build and upload mypyc accelerated +mypy wheels for `manylinux_aarch64` to PyPI, making it easy for users on such platforms +to realise this speedup. -Precompiled wheels for `manylinux_aarch64` are now available for download on PyPI. Contributed by Christian Bundy (PR [mypy_mypyc-wheels#76](https://github.com/mypyc/mypy_mypyc-wheels/pull/76)) ### `--strict-bytes` From e16a01b065b7547c8465afe367ec9f0b8f9e2a34 Mon Sep 17 00:00:00 2001 From: Marc Mueller <30130371+cdce8p@users.noreply.github.com> Date: Sun, 29 Dec 2024 23:47:57 +0100 Subject: [PATCH 3/3] Update CHANGELOG.md Co-authored-by: Shantanu <12621235+hauntsaninja@users.noreply.github.com> --- CHANGELOG.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 089166c7a4e7..a4e5992ca93f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,8 +5,9 @@ ### Drop Support for Python 3.8 Mypy no longer supports running with Python 3.8, which has reached end-of-life. -For the time being, it is still possible to type check older code using Python 3.9+ -by passing `--python-version 3.8` as argument. This will be dropped in the first half of 2025! +When running mypy with Python 3.9+, it is still possible to type check code +that needs to support Python 3.8 with the `--python-version 3.8` argument. +Support for this will be dropped in the first half of 2025! Contributed by Marc Mueller (PR [17492](https://github.com/python/mypy/pull/17492)). ### Mypyc accelerated mypy wheels for aarch64