Skip to content

Commit

Permalink
Add possible abi version to lock info
Browse files Browse the repository at this point in the history
  • Loading branch information
hoodmane committed May 21, 2024
1 parent a090a04 commit 5bcde45
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions pyodide_lock/spec.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ class InfoSpec(BaseModel):
platform: str
version: str
python: str
abi_version: str | None = None
model_config = ConfigDict(extra="forbid")


Expand Down
2 changes: 1 addition & 1 deletion pyodide_lock/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ def _generate_package_hash(full_path: Path) -> str:


def _get_marker_environment(
platform: str, version: str, arch: str, python: str
platform: str, version: str, arch: str, python: str, pyodide_abi: str | None = None
) -> dict[str, str]:
"""
Get the marker environment for this pyodide-lock file. If running
Expand Down

0 comments on commit 5bcde45

Please sign in to comment.