a3s-code 8.2.0__tar.gz → 8.3.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {a3s_code-8.2.0 → a3s_code-8.3.0}/PKG-INFO +1 -1
- {a3s_code-8.2.0 → a3s_code-8.3.0}/pyproject.toml +1 -1
- {a3s_code-8.2.0 → a3s_code-8.3.0}/src/a3s_code/_bootstrap.py +6 -3
- {a3s_code-8.2.0 → a3s_code-8.3.0}/src/a3s_code.egg-info/PKG-INFO +1 -1
- {a3s_code-8.2.0 → a3s_code-8.3.0}/tests/test_bootstrap.py +1 -1
- {a3s_code-8.2.0 → a3s_code-8.3.0}/README.md +0 -0
- {a3s_code-8.2.0 → a3s_code-8.3.0}/setup.cfg +0 -0
- {a3s_code-8.2.0 → a3s_code-8.3.0}/src/a3s_code/__init__.py +0 -0
- {a3s_code-8.2.0 → a3s_code-8.3.0}/src/a3s_code/py.typed +0 -0
- {a3s_code-8.2.0 → a3s_code-8.3.0}/src/a3s_code.egg-info/SOURCES.txt +0 -0
- {a3s_code-8.2.0 → a3s_code-8.3.0}/src/a3s_code.egg-info/dependency_links.txt +0 -0
- {a3s_code-8.2.0 → a3s_code-8.3.0}/src/a3s_code.egg-info/top_level.txt +0 -0
|
@@ -7,7 +7,7 @@ name = "a3s-code"
|
|
|
7
7
|
# Keep in sync with crates/code core release. The bootstrap loader fetches
|
|
8
8
|
# the matching native wheel from `https://github.com/A3S-Lab/Code/releases/tag/v<version>`
|
|
9
9
|
# at import time.
|
|
10
|
-
version = "8.
|
|
10
|
+
version = "8.3.0"
|
|
11
11
|
description = "A3S Code Python SDK — pure-Python bootstrap that fetches the native wheel from GitHub Releases"
|
|
12
12
|
readme = "README.md"
|
|
13
13
|
license = {text = "MIT"}
|
|
@@ -37,7 +37,7 @@ from typing import Iterator, Optional
|
|
|
37
37
|
|
|
38
38
|
# Version is the bootstrap's own version, which equals the matching native
|
|
39
39
|
# wheel version on GH Releases. Bumped by the release workflow.
|
|
40
|
-
__version__ = "8.
|
|
40
|
+
__version__ = "8.3.0"
|
|
41
41
|
|
|
42
42
|
_DEFAULT_BASE_URL = "https://github.com/A3S-Lab/Code/releases/download"
|
|
43
43
|
_REQUEST_TIMEOUT_S = 120
|
|
@@ -191,7 +191,9 @@ def _platform_tag() -> str:
|
|
|
191
191
|
if machine in ("x86_64", "amd64"):
|
|
192
192
|
return "manylinux_2_28_x86_64"
|
|
193
193
|
if machine in ("arm64", "aarch64"):
|
|
194
|
-
|
|
194
|
+
# aarch64 wheels ship a zvec runtime that requires glibc 2.38+,
|
|
195
|
+
# and are built/audited as manylinux_2_39.
|
|
196
|
+
return "manylinux_2_39_aarch64"
|
|
195
197
|
elif sys_plat == "win32":
|
|
196
198
|
if machine in ("amd64", "x86_64"):
|
|
197
199
|
return "win_amd64"
|
|
@@ -200,7 +202,8 @@ def _platform_tag() -> str:
|
|
|
200
202
|
raise BootstrapError(
|
|
201
203
|
f"a3s-code: no native wheel published for {sys_plat}/{machine}. "
|
|
202
204
|
"Supported platforms: macOS arm64 (11+), macOS Intel (12+), "
|
|
203
|
-
"Linux x86_64
|
|
205
|
+
"Linux x86_64 (glibc 2.28+), Linux arm64 (glibc 2.39+), "
|
|
206
|
+
"Windows x86_64/arm64."
|
|
204
207
|
)
|
|
205
208
|
|
|
206
209
|
|
|
@@ -78,7 +78,7 @@ class WheelFilenameTests(unittest.TestCase):
|
|
|
78
78
|
def test_linux_arm64_cp312(self):
|
|
79
79
|
self.assertEqual(
|
|
80
80
|
self._filename_for("linux", "aarch64", 12),
|
|
81
|
-
"a3s_code-3.2.1-cp312-cp312-
|
|
81
|
+
"a3s_code-3.2.1-cp312-cp312-manylinux_2_39_aarch64.whl",
|
|
82
82
|
)
|
|
83
83
|
|
|
84
84
|
def test_macos_arm64_cp311(self):
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|