Skip to content

Commit

Permalink
fixup
Browse files Browse the repository at this point in the history
  • Loading branch information
dnicolodi committed Apr 15, 2024
1 parent 90dc785 commit bb85a95
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions mesonpy/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -242,8 +242,8 @@ def __init__(self, name: str, *args: Any, **kwargs: Any):
super().__init__(name, *args, **kwargs)

@classmethod
def from_pyproject(cls, data: Mapping[str, Any], project_dir: Path) -> Self:
metadata = super().from_pyproject(data, project_dir)
def from_pyproject(cls, data: Mapping[str, Any], project_dir: Path, metadata_version: Optional[str] = None) -> Self:
metadata = super().from_pyproject(data, project_dir, metadata_version)
# Check for unsupported dynamic fields.
unsupported_dynamic = set(metadata.dynamic) - {'version', }
if unsupported_dynamic:
Expand Down

0 comments on commit bb85a95

Please sign in to comment.