Skip to content

Commit 9536662

Browse files
committed
Add possible abi version to lock info
1 parent a090a04 commit 9536662

File tree

3 files changed

+9
-1
lines changed

3 files changed

+9
-1
lines changed

CHANGELOG.md

+7
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,13 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
66

77
## Unreleased
88

9+
## [0.1.0a6] - 2024-04-03
10+
11+
### Added
12+
13+
- The `info` field now contains an optional `abi_version`.
14+
[#86](https://github.com/pyodide/pyodide-lock/pull/86)
15+
916
## [0.1.0a5] - 2024-04-03
1017

1118
### Changed

pyodide_lock/spec.py

+1
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ class InfoSpec(BaseModel):
1010
platform: str
1111
version: str
1212
python: str
13+
abi_version: str | None = None
1314
model_config = ConfigDict(extra="forbid")
1415

1516

pyodide_lock/utils.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ def _generate_package_hash(full_path: Path) -> str:
103103

104104

105105
def _get_marker_environment(
106-
platform: str, version: str, arch: str, python: str
106+
platform: str, version: str, arch: str, python: str, abi_version: str | None = None
107107
) -> dict[str, str]:
108108
"""
109109
Get the marker environment for this pyodide-lock file. If running

0 commit comments

Comments
 (0)