Skip to content

python: Update to 3.13.11 - #27236

Merged
lazka merged 1 commit into
msys2:masterfrom
lazka:python-3.13.11
Jan 7, 2026
Merged

python: Update to 3.13.11#27236
lazka merged 1 commit into
msys2:masterfrom
lazka:python-3.13.11

Conversation

@lazka

@lazka lazka commented Jan 6, 2026

Copy link
Copy Markdown
Member

No description provided.

@lazka

lazka commented Jan 7, 2026

Copy link
Copy Markdown
Member Author

@MehdiChinoune @striezel any objections to starting the Python rebuild sometime today?

@MehdiChinoune

Copy link
Copy Markdown
Collaborator

No objection, I will push just some small updates.

@lazka
lazka marked this pull request as ready for review January 7, 2026 21:16
@lazka
lazka merged commit ca2d041 into msys2:master Jan 7, 2026
12 of 16 checks passed
@striezel

striezel commented Jan 7, 2026

Copy link
Copy Markdown
Collaborator

No objections from my side. Let's go ahead.

@lazka

lazka commented Jan 8, 2026

Copy link
Copy Markdown
Member Author

We are hitting the new release assets count limit. I need to implement some sharding before we can continue.

@lazka

lazka commented Jan 8, 2026

Copy link
Copy Markdown
Member Author

I've pushed a hacky fix

@MehdiChinoune

Copy link
Copy Markdown
Collaborator

something is broken about path conversion with this update especially with installation, It happens with many packages:
gdal: some files used to be installed in bin are now installed in Scripts (same as MSVC).
libmsym: python module is installed in lib/site-packages instead of lib/python3.13/site-packages.
pyqt5/pyqt6: D:/W/B/pkg/mingw-w64-ucrt-x86_64-python-pyqt6/d/ucrt64/share/qt6/plugins/PyQt6/pyqt6qmlplugin.dll somehow the drive letter /d is inserted.

@lazka

lazka commented Jan 9, 2026

Copy link
Copy Markdown
Member Author

Likely they force the "nt" scheme, which is no longer patched (??)

Another issue is that with 3.13 "/foo" is no longer considered absolute on Windows (meson was affected by this, and libbotan, resulting in the install path being wrong)

@lazka

lazka commented Jan 9, 2026

Copy link
Copy Markdown
Member Author

I'll look into the install path issue later. something in setuptools..

@striezel

striezel commented Jan 9, 2026

Copy link
Copy Markdown
Collaborator

libmsym: python module is installed in lib/site-packages instead of lib/python3.13/site-packages.

See #27268 for that. libmsym also needs an extra CMake patch to build. But I stopped working on that, because I couldn't figure out the Python stuff.

I pushed some other fixes for problems that showed up during the Python 3.13 rebuild (keystone (#27266), libftdi (#27269), nextpnr (#27271)), but they showed no Python-specific problems.

@lazka

lazka commented Jan 9, 2026

Copy link
Copy Markdown
Member Author

The "/lib/site-packages" "/Scripts" stuff should be fixed by 70f2ba8

@striezel

striezel commented Jan 9, 2026

Copy link
Copy Markdown
Collaborator

The "/lib/site-packages" "/Scripts" stuff should be fixed by 70f2ba8

Magnificent! It looks like that fixed the problem with libmsym: #27268 (comment)

Edit: gdal also seems to be fixed, at least ucrt64, mingw64 and clangarm64 are already built by autobuild.

@lazka

lazka commented Jan 10, 2026

Copy link
Copy Markdown
Member Author

All done now. Thanks for fixing all those packages @MehdiChinoune @striezel

@striezel

Copy link
Copy Markdown
Collaborator

All done now. Thanks for fixing all those packages @MehdiChinoune @striezel

And thank you, too, @lazka. You and Mehdi fixed most of the blockers, I just happened to do some smaller fixes.

By the way, the Python 3.13 update should probably also be mentioned in the news section, because that was done for the Python 3.12 update, too.

@lazka

lazka commented Jan 11, 2026

Copy link
Copy Markdown
Member Author

3.12 was special in that it had many user visible changes, while 3.13 shouldn't change much for users. I'll try to come up with something.

@MehdiChinoune

Copy link
Copy Markdown
Collaborator

3.12 was special in that it had many user visible changes, while 3.13 shouldn't change much for users. I'll try to come up with something.

Free threading?, But it's not shipped mingw-w64-python

@lazka

lazka commented Jan 13, 2026

Copy link
Copy Markdown
Member Author

I meant things that affect MSYS2 users in particular.

We can look into free threading for 3.14, but not sure how a distro should handle it, it's basically a separate version of python, so we would need to build every package twice, and not every package supports it. We could just provide python alone though.

I've added a new entry now: https://www.msys2.org/news/#2026-01-10-python-313-update

@striezel

Copy link
Copy Markdown
Collaborator

We can look into free threading for 3.14, but not sure how a distro should handle it, it's basically a separate version of python, so we would need to build every package twice, and not every package supports it.

Python packages are already a very large part of the MSYS2 distribution. (Python 3.13 rebuild involved ca. 1060 packages, MSYS2 has ca. 3700 packages in total.) I don't think it is a good use of resources to build every Python package twice.

I've added a new entry now: https://www.msys2.org/news/#2026-01-10-python-313-update

Thanks. :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants