Skip to content

[python3] Update to 3.12.9, drop Windows 7 support#40996

Merged
BillyONeal merged 9 commits intomicrosoft:masterfrom
Osyotr:python-3.12
Apr 9, 2025
Merged

[python3] Update to 3.12.9, drop Windows 7 support#40996
BillyONeal merged 9 commits intomicrosoft:masterfrom
Osyotr:python-3.12

Conversation

@Osyotr
Copy link
Copy Markdown
Contributor

@Osyotr Osyotr commented Sep 15, 2024

Fixes #36735
Fixes #40123

@BillyONeal BillyONeal added the depends:vm-update PR contains changes to the VM provisioning scripts label Sep 16, 2024
@BillyONeal
Copy link
Copy Markdown
Member

Based on discord conversation: Tagging depends:vm-update as this needs the Android build container to be on a later Ubuntu than 20.04.

@Osyotr Osyotr marked this pull request as draft September 16, 2024 22:08
@WangWeiLin-MV WangWeiLin-MV linked an issue Sep 18, 2024 that may be closed by this pull request
@WangWeiLin-MV WangWeiLin-MV added the category:port-update The issue is with a library, which is requesting update new revision label Sep 18, 2024
@Osyotr Osyotr changed the title [python3] Update to 3.12.6, drop Windows 7 support [python3] Update to 3.12.8, drop Windows 7 support Dec 25, 2024
@BillyONeal
Copy link
Copy Markdown
Member

#42749 updated the Android image to Noble.

@BillyONeal BillyONeal removed the depends:vm-update PR contains changes to the VM provisioning scripts label Jan 14, 2025
@Osyotr Osyotr force-pushed the python-3.12 branch 2 times, most recently from 4509c34 to abd3d73 Compare January 14, 2025 23:18
@Osyotr Osyotr marked this pull request as ready for review January 29, 2025 20:40
@BillyONeal
Copy link
Copy Markdown
Member

Unfortunately gobject-introspection:x86-windows looks like a legitimate failure:

D:\installed\x86-windows\tools\python3\python.exe: No module named virtualenv

@BillyONeal BillyONeal marked this pull request as draft February 4, 2025 05:42
@Osyotr
Copy link
Copy Markdown
Contributor Author

Osyotr commented Feb 4, 2025

Unfortunately gobject-introspection:x86-windows looks like a legitimate failure

God I hate this port.

@Osyotr Osyotr mentioned this pull request Feb 11, 2025
@Osyotr Osyotr changed the title [python3] Update to 3.12.8, drop Windows 7 support [python3] Update to 3.12.9, drop Windows 7 support Apr 3, 2025
@Osyotr
Copy link
Copy Markdown
Contributor Author

Osyotr commented Apr 5, 2025

Unfortunately gobject-introspection:x86-windows looks like a legitimate failure

The port uses target python on windows. It also requires setuptools for Python >= 3.12. To get setuptools you need venv. To get venv you need to use x_vcpkg_get_python_packages.
x_vcpkg_get_python_packages doesn't know how to deal with target python.

@dg0yt
Copy link
Copy Markdown
Contributor

dg0yt commented Apr 5, 2025

#43732 (comment)

@BillyONeal
Copy link
Copy Markdown
Member

This build is passing now, does that mean this is good to go?

@Osyotr
Copy link
Copy Markdown
Contributor Author

Osyotr commented Apr 9, 2025

Ready for review, though I also wanted to add some test ports (I can do it in a follow-up PR).

@Osyotr Osyotr marked this pull request as ready for review April 9, 2025 19:15
Copy link
Copy Markdown
Member

@BillyONeal BillyONeal left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Test ports would be great but

  • this is already passing
  • you've been busting your butt for ages to get it passing
  • people might like an updated python version

so I'm going to take this. Would love to see more tests in a subsequent PR of course!

@BillyONeal BillyONeal merged commit ce613c4 into microsoft:master Apr 9, 2025
18 checks passed
@Osyotr Osyotr deleted the python-3.12 branch April 11, 2025 08:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

category:port-update The issue is with a library, which is requesting update new revision

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[python3] update to <3.12.4> python3 add version 3.12.2

4 participants