a3s-code 8.0.0__tar.gz → 8.0.2__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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: a3s-code
3
- Version: 8.0.0
3
+ Version: 8.0.2
4
4
  Summary: A3S Code Python SDK — pure-Python bootstrap that fetches the native wheel from GitHub Releases
5
5
  Author: A3S Lab
6
6
  License: MIT
@@ -37,12 +37,16 @@ through PyPI.
37
37
 
38
38
  ## Supported platforms
39
39
 
40
- - macOS arm64 (Apple Silicon)
40
+ - macOS arm64 (Apple Silicon, macOS 11+)
41
+ - macOS x86_64 (Intel, macOS 12+)
41
42
  - Linux x86_64 (glibc 2.28+)
42
43
  - Windows x86_64
43
44
 
44
45
  CPython 3.10, 3.11, 3.12, 3.13.
45
46
 
47
+ Python 3.14 wheels are not published yet. Use CPython 3.13 or earlier until
48
+ the native binding is rebuilt for Python 3.14.
49
+
46
50
  ## Environment overrides
47
51
 
48
52
  | Variable | Effect |
@@ -61,4 +65,12 @@ pip install \
61
65
  'https://github.com/A3S-Lab/Code/releases/download/v<VERSION>/a3s_code-<VERSION>-cp312-cp312-manylinux_2_28_x86_64.whl'
62
66
  ```
63
67
 
64
- Replace `<VERSION>` with the release to install, for example `6.4.0`.
68
+ For an Intel Mac on macOS 12 or later, use the `macosx_12_0_x86_64` asset:
69
+
70
+ ```bash
71
+ pip install \
72
+ 'https://github.com/A3S-Lab/Code/releases/download/v<VERSION>/a3s_code-<VERSION>-cp312-cp312-macosx_12_0_x86_64.whl'
73
+ ```
74
+
75
+ Replace `<VERSION>` with the release to install. The Intel asset is available
76
+ from the first release produced with the Intel build matrix.
@@ -20,12 +20,16 @@ through PyPI.
20
20
 
21
21
  ## Supported platforms
22
22
 
23
- - macOS arm64 (Apple Silicon)
23
+ - macOS arm64 (Apple Silicon, macOS 11+)
24
+ - macOS x86_64 (Intel, macOS 12+)
24
25
  - Linux x86_64 (glibc 2.28+)
25
26
  - Windows x86_64
26
27
 
27
28
  CPython 3.10, 3.11, 3.12, 3.13.
28
29
 
30
+ Python 3.14 wheels are not published yet. Use CPython 3.13 or earlier until
31
+ the native binding is rebuilt for Python 3.14.
32
+
29
33
  ## Environment overrides
30
34
 
31
35
  | Variable | Effect |
@@ -44,4 +48,12 @@ pip install \
44
48
  'https://github.com/A3S-Lab/Code/releases/download/v<VERSION>/a3s_code-<VERSION>-cp312-cp312-manylinux_2_28_x86_64.whl'
45
49
  ```
46
50
 
47
- Replace `<VERSION>` with the release to install, for example `6.4.0`.
51
+ For an Intel Mac on macOS 12 or later, use the `macosx_12_0_x86_64` asset:
52
+
53
+ ```bash
54
+ pip install \
55
+ 'https://github.com/A3S-Lab/Code/releases/download/v<VERSION>/a3s_code-<VERSION>-cp312-cp312-macosx_12_0_x86_64.whl'
56
+ ```
57
+
58
+ Replace `<VERSION>` with the release to install. The Intel asset is available
59
+ from the first release produced with the Intel build matrix.
@@ -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.0.0"
10
+ version = "8.0.2"
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"}
@@ -31,7 +31,7 @@ from typing import Optional
31
31
 
32
32
  # Version is the bootstrap's own version, which equals the matching native
33
33
  # wheel version on GH Releases. Bumped by the release workflow.
34
- __version__ = "8.0.0"
34
+ __version__ = "8.0.2"
35
35
 
36
36
  _DEFAULT_BASE_URL = "https://github.com/A3S-Lab/Code/releases/download"
37
37
  _REQUEST_TIMEOUT_S = 120
@@ -68,6 +68,10 @@ def _platform_tag() -> str:
68
68
  if sys_plat == "darwin":
69
69
  if machine in ("arm64", "aarch64"):
70
70
  return "macosx_11_0_arm64"
71
+ if machine in ("x86_64", "amd64"):
72
+ # Intel wheels are built with MACOSX_DEPLOYMENT_TARGET=12.0 so
73
+ # they can run on supported Intel Macs back to macOS 12.
74
+ return "macosx_12_0_x86_64"
71
75
  elif sys_plat == "linux":
72
76
  if machine in ("x86_64", "amd64"):
73
77
  return "manylinux_2_28_x86_64"
@@ -76,7 +80,8 @@ def _platform_tag() -> str:
76
80
  return "win_amd64"
77
81
  raise BootstrapError(
78
82
  f"a3s-code: no native wheel published for {sys_plat}/{machine}. "
79
- "Supported platforms: macOS arm64, Linux x86_64 (glibc 2.28+), Windows x86_64."
83
+ "Supported platforms: macOS arm64 (11+), macOS Intel (12+), "
84
+ "Linux x86_64 (glibc 2.28+), Windows x86_64."
80
85
  )
81
86
 
82
87
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: a3s-code
3
- Version: 8.0.0
3
+ Version: 8.0.2
4
4
  Summary: A3S Code Python SDK — pure-Python bootstrap that fetches the native wheel from GitHub Releases
5
5
  Author: A3S Lab
6
6
  License: MIT
@@ -37,12 +37,16 @@ through PyPI.
37
37
 
38
38
  ## Supported platforms
39
39
 
40
- - macOS arm64 (Apple Silicon)
40
+ - macOS arm64 (Apple Silicon, macOS 11+)
41
+ - macOS x86_64 (Intel, macOS 12+)
41
42
  - Linux x86_64 (glibc 2.28+)
42
43
  - Windows x86_64
43
44
 
44
45
  CPython 3.10, 3.11, 3.12, 3.13.
45
46
 
47
+ Python 3.14 wheels are not published yet. Use CPython 3.13 or earlier until
48
+ the native binding is rebuilt for Python 3.14.
49
+
46
50
  ## Environment overrides
47
51
 
48
52
  | Variable | Effect |
@@ -61,4 +65,12 @@ pip install \
61
65
  'https://github.com/A3S-Lab/Code/releases/download/v<VERSION>/a3s_code-<VERSION>-cp312-cp312-manylinux_2_28_x86_64.whl'
62
66
  ```
63
67
 
64
- Replace `<VERSION>` with the release to install, for example `6.4.0`.
68
+ For an Intel Mac on macOS 12 or later, use the `macosx_12_0_x86_64` asset:
69
+
70
+ ```bash
71
+ pip install \
72
+ 'https://github.com/A3S-Lab/Code/releases/download/v<VERSION>/a3s_code-<VERSION>-cp312-cp312-macosx_12_0_x86_64.whl'
73
+ ```
74
+
75
+ Replace `<VERSION>` with the release to install. The Intel asset is available
76
+ from the first release produced with the Intel build matrix.
@@ -75,6 +75,12 @@ class WheelFilenameTests(unittest.TestCase):
75
75
  "a3s_code-3.2.1-cp311-cp311-macosx_11_0_arm64.whl",
76
76
  )
77
77
 
78
+ def test_macos_intel_cp312(self):
79
+ self.assertEqual(
80
+ self._filename_for("darwin", "x86_64", 12),
81
+ "a3s_code-3.2.1-cp312-cp312-macosx_12_0_x86_64.whl",
82
+ )
83
+
78
84
  def test_windows_amd64_cp313(self):
79
85
  self.assertEqual(
80
86
  self._filename_for("win32", "AMD64", 13),
File without changes
File without changes