Skip to content

Commit dc45123

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

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines 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)