a3s-code 3.2.1__tar.gz → 3.4.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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: a3s-code
3
- Version: 3.2.1
3
+ Version: 3.4.0
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
@@ -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/AI45Lab/Code/releases/tag/v<version>`
9
9
  # at import time.
10
- version = "3.2.1"
10
+ version = "3.4.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"}
@@ -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__ = "3.2.1"
34
+ __version__ = "3.4.0"
35
35
 
36
36
  _DEFAULT_BASE_URL = "https://github.com/AI45Lab/Code/releases/download"
37
37
  _REQUEST_TIMEOUT_S = 120
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: a3s-code
3
- Version: 3.2.1
3
+ Version: 3.4.0
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
@@ -186,7 +186,11 @@ class EnsureNativeLoadedTests(unittest.TestCase):
186
186
  ):
187
187
  cache = _bootstrap.ensure_native_loaded("3.2.1")
188
188
 
189
- self.assertEqual(cache, Path(self._tmp) / "3.2.1")
189
+ # `_cache_root()` keys the cache dir on the module's own __version__,
190
+ # not the version arg passed to `ensure_native_loaded`. Reference it
191
+ # directly so this assertion can't go stale on a version bump (the
192
+ # sibling CacheDirTests follow the same pattern).
193
+ self.assertEqual(cache, Path(self._tmp) / _bootstrap.__version__)
190
194
  # Native file extracted at cache root, not under a subdirectory.
191
195
  extracted = list(cache.glob("_native.*"))
192
196
  self.assertEqual(len(extracted), 1)
File without changes
File without changes
File without changes