Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Python to 3.13.0 and add support to Windows on AMD64. #1477

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Python 3.13.0 has bumped minimum macOS version to macOS 10.13
juj committed Oct 19, 2024
commit 20a91aefab45fb713e4fa0c73b5a0e99fcbdb3f8
6 changes: 5 additions & 1 deletion scripts/update_python.py
Original file line number Diff line number Diff line change
@@ -19,6 +19,10 @@
1. Clone cpython
2. Use homebrew to install and configure openssl (for static linking!)
3. Build cpython from source and use `make install` to create archive.
Raspberry Pi Debian 12 (Bookworm):
1. Before calling this script, run "sudo apt install libssl-dev", or otherwise
Python won't be able to use SSL.
"""

import glob
@@ -98,7 +102,7 @@ def build_python():
check_call(['brew', 'install', 'openssl', 'xz', 'pkg-config'])
if platform.machine() == 'x86_64':
prefix = '/usr/local'
min_macos_version = '10.11'
min_macos_version = '10.13'
elif platform.machine() == 'arm64':
prefix = '/opt/homebrew'
min_macos_version = '11.0'