diff --git a/pyodide_lock/spec.py b/pyodide_lock/spec.py index 9fdafa4..542fe1f 100644 --- a/pyodide_lock/spec.py +++ b/pyodide_lock/spec.py @@ -10,6 +10,7 @@ class InfoSpec(BaseModel): platform: str version: str python: str + abi_version: str | None = None model_config = ConfigDict(extra="forbid") diff --git a/pyodide_lock/utils.py b/pyodide_lock/utils.py index 95b53fa..b783a6a 100644 --- a/pyodide_lock/utils.py +++ b/pyodide_lock/utils.py @@ -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, abi_version: str | None = None ) -> dict[str, str]: """ Get the marker environment for this pyodide-lock file. If running