Skip to content

Commit 77a4693

Browse files
committed
news: add an entry for the Python 3.12 update
1 parent b293170 commit 77a4693

File tree

1 file changed

+29
-0
lines changed

1 file changed

+29
-0
lines changed

web/news.md

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,35 @@ summary: Important events happening.
55

66
This page lists important changes or issues affecting MSYS2 users. We also post them to [Twitter](https://twitter.com/msys2org) and [Mastodon](https://fosstodon.org/@msys2org), including some not-so-important things :)
77

8+
### 2024-11-09 - Python 3.12 Update
9+
10+
Over the last week we finally moved from Python 3.11 to 3.12. Thanks to
11+
[@naveen521kk](https://github.com/naveen521kk) for updating the fork, and
12+
everyone else who helped with rebuild issues. Also thanks to
13+
[@jeremyd2019](https://github.com/jeremyd2019) for watching the external arm64
14+
runner while it rebuilt all those 940 packages and fixing arm64 related issues.
15+
16+
There are some minor things to watch out for with this update:
17+
18+
* We've enabled [PEP 668](https://peps.python.org/pep-0668/) by marking the
19+
system site-packages directory as externally managed. To prevent this from
20+
causing too many problems right away [we have patched our version of
21+
pip](https://github.com/msys2/MINGW-packages/commit/4447a7ba7971d3480e7bd24951ec8e51328d23c9)
22+
to only give a warning instead of an error if you install outside of a venv.
23+
However, we may change this back to a real error in the future. If this is
24+
causing any problems or if there are any concerns with re-enabling the error
25+
in the future let us know.
26+
* While not MSYS2 specific, 3.12 is the version that [dropped the included
27+
distutils package](https://peps.python.org/pep-0632) and distutils is now only
28+
available as part of setuptools. While the current setuptools should handle
29+
our Python out of the box, there may be slight differences. This also means
30+
that SETUPTOOLS_USE_DISTUTILS=stdlib no longer has any effect.
31+
* As with every major Python update we had to drop a few packages that were
32+
incompatible with the new version and for which no update or patch was
33+
available. One notable package there is py2exe which does not support 3.12+
34+
right now and there is also no patch available, see [the upstream
35+
issue](https://github.com/py2exe/py2exe/issues/191) for details.
36+
837
### 2024-11-03 - Disabling mingw-w64 wildcard support by default
938

1039
For historical reasons MSYS2 enabled wildcard support in mingw-w64 at build

0 commit comments

Comments
 (0)