mirror of
https://github.com/ankitects/anki.git
synced 2026-01-13 22:13:58 -05:00
Bump to 3.13.
This commit is contained in:
parent
31d877f20d
commit
9d669218d4
2 changed files with 18 additions and 18 deletions
|
|
@ -22,32 +22,32 @@ pub fn python_archive(platform: Platform) -> OnlineArchive {
|
|||
match platform {
|
||||
Platform::LinuxX64 => {
|
||||
OnlineArchive {
|
||||
url: "https://github.com/indygreg/python-build-standalone/releases/download/20240107/cpython-3.9.18+20240107-x86_64_v2-unknown-linux-gnu-install_only.tar.gz",
|
||||
sha256: "9426bca501ae0a257392b10719e2e20ff5fa5e22a3ce4599d6ad0b3139f86417",
|
||||
url: "https://github.com/astral-sh/python-build-standalone/releases/download/20250517/cpython-3.13.3+20250517-x86_64_v2-unknown-linux-gnu-install_only_stripped.tar.gz",
|
||||
sha256: "68f65b2e8098ea332ae06f2afe984f6532a42eaa9a6fc5393c4421840d8dfd70",
|
||||
}
|
||||
}
|
||||
Platform::LinuxArm => {
|
||||
OnlineArchive {
|
||||
url: "https://github.com/indygreg/python-build-standalone/releases/download/20240107/cpython-3.9.18+20240107-aarch64-unknown-linux-gnu-install_only.tar.gz",
|
||||
sha256: "7d19e1ecd6e582423f7c74a0c67491eaa982ce9d5c5f35f0e4289f83127abcb8",
|
||||
url: "https://github.com/astral-sh/python-build-standalone/releases/download/20250517/cpython-3.13.3+20250517-aarch64-unknown-linux-gnu-install_only_stripped.tar.gz",
|
||||
sha256: "8e0402f50fa9cb074900fc2dd2223b8fca8e23b89ed8ffe5f1a7e3978436e1e7",
|
||||
}
|
||||
}
|
||||
Platform::MacX64 => {
|
||||
OnlineArchive {
|
||||
url: "https://github.com/indygreg/python-build-standalone/releases/download/20240107/cpython-3.9.18+20240107-x86_64-apple-darwin-install_only.tar.gz",
|
||||
sha256: "5a0bf895a5cb08d6d008140abb41bb2c8cd638a665273f7d8eb258bc89de439b",
|
||||
url: "https://github.com/astral-sh/python-build-standalone/releases/download/20250517/cpython-3.13.3+20250517-x86_64-apple-darwin-install_only_stripped.tar.gz",
|
||||
sha256: "9235654170de8e707186ca6412446011033138f260fb528fb4a36ae9bd2bc160",
|
||||
}
|
||||
}
|
||||
Platform::MacArm => {
|
||||
OnlineArchive {
|
||||
url: "https://github.com/indygreg/python-build-standalone/releases/download/20240107/cpython-3.9.18+20240107-aarch64-apple-darwin-install_only.tar.gz",
|
||||
sha256: "bf0cd90204a2cc6da48cae1e4b32f48c9f7031fbe1238c5972104ccb0155d368",
|
||||
url: "https://github.com/astral-sh/python-build-standalone/releases/download/20250517/cpython-3.13.3+20250517-aarch64-apple-darwin-install_only_stripped.tar.gz",
|
||||
sha256: "4f193061d652943c62e7f1f51da54cf023ddeb252952d0317309512dbf1b05e2",
|
||||
}
|
||||
}
|
||||
Platform::WindowsX64 => {
|
||||
OnlineArchive {
|
||||
url: "https://github.com/indygreg/python-build-standalone/releases/download/20240107/cpython-3.9.18+20240107-x86_64-pc-windows-msvc-shared-install_only.tar.gz",
|
||||
sha256: "8f0544cd593984f7ecb90c685931249c579302124b9821064873f3a14ed07005",
|
||||
url: "https://github.com/astral-sh/python-build-standalone/releases/download/20250517/cpython-3.13.3+20250517-x86_64-pc-windows-msvc-install_only_stripped.tar.gz",
|
||||
sha256: "893f7a2f5210f0187f93069e073a96f77110d104386ea5c611de08d355aea149",
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -103,23 +103,23 @@ def handle_resource(policy, resource):
|
|||
def make_exe():
|
||||
if BUILD_TARGET_TRIPLE == "x86_64-unknown-linux-gnu":
|
||||
dist = PythonDistribution(
|
||||
url = "https://github.com/indygreg/python-build-standalone/releases/download/20240107/cpython-3.9.18+20240107-x86_64_v2-unknown-linux-gnu-pgo-full.tar.zst",
|
||||
sha256 = "7ccdc1b19599a6660040ec2f0ade755b32bb45c897ea75d0b7826236146b78cf",
|
||||
url = "https://github.com/astral-sh/python-build-standalone/releases/download/20250517/cpython-3.13.3+20250517-x86_64_v2-unknown-linux-gnu-pgo+lto-full.tar.zst",
|
||||
sha256 = "e2eb47d5567ba9e4064e9f928f49061fd23201661c4d9c31785201b9ad4a9ea5",
|
||||
)
|
||||
elif BUILD_TARGET_TRIPLE == "x86_64-apple-darwin":
|
||||
dist = PythonDistribution(
|
||||
url = "https://github.com/indygreg/python-build-standalone/releases/download/20240107/cpython-3.9.18+20240107-x86_64-apple-darwin-pgo-full.tar.zst",
|
||||
sha256 = "b2f06f0f0ebbbed0eae87a6e8eede2e0d838735386a8b84257d4f02d16b9baec",
|
||||
url = "https://github.com/astral-sh/python-build-standalone/releases/download/20250517/cpython-3.13.3+20250517-x86_64-apple-darwin-pgo+lto-full.tar.zst",
|
||||
sha256 = "68510c70a309d0e102ddb9eb43de841e9b5ffbf71d240060f54989f187f9cbe4",
|
||||
)
|
||||
elif BUILD_TARGET_TRIPLE == "aarch64-apple-darwin":
|
||||
dist = PythonDistribution(
|
||||
url = "https://github.com/indygreg/python-build-standalone/releases/download/20240107/cpython-3.9.18+20240107-aarch64-apple-darwin-pgo-full.tar.zst",
|
||||
sha256 = "154dfa7cd6f9a6047a58811f84bef69b019ea459e5b42991c8af63e1285b445f",
|
||||
url = "https://github.com/astral-sh/python-build-standalone/releases/download/20250517/cpython-3.13.3+20250517-aarch64-apple-darwin-pgo+lto-full.tar.zst",
|
||||
sha256 = "583a36ffaa207b86833f25bcb0905de8974b4af7a4ae0b94b0aff6308e598b64",
|
||||
)
|
||||
elif BUILD_TARGET_TRIPLE == "x86_64-pc-windows-msvc":
|
||||
dist = PythonDistribution(
|
||||
url = "https://github.com/indygreg/python-build-standalone/releases/download/20240107/cpython-3.9.18+20240107-x86_64-pc-windows-msvc-shared-pgo-full.tar.zst",
|
||||
sha256 = "3b9c7d6ed94260b83ed8f44ee9a7b8fce392259ce6591e538601f7353061a884",
|
||||
url = "https://github.com/astral-sh/python-build-standalone/releases/download/20250517/cpython-3.13.3+20250517-x86_64-pc-windows-msvc-pgo-full.tar.zst",
|
||||
sha256 = "dcee362ae904a6fd982c1499ae581aa2e2aa02770f09921914524bf9809bce8d",
|
||||
)
|
||||
else:
|
||||
fail("unexpected arch")
|
||||
|
|
|
|||
Loading…
Reference in a new issue