diff --git a/README.md b/README.md index f1d3fa3..1f2bb45 100644 --- a/README.md +++ b/README.md @@ -40,7 +40,7 @@ class MyPluginConfig(BaseModel, validate_assignment=True): extra_arg_with_value: str = "default" extra_arg_literal: Literal["a", "b", "c"] = "a" -class MyHatchPlugin(BuildHookInterface[MyPluginConfig]): +class MyHatchPlugin(BuildHookInterface): PLUGIN_NAME = "my-hatch-plugin" def initialize(self, version: str, build_data: dict[str, Any]) -> None: diff --git a/pyproject.toml b/pyproject.toml index 7311950..803223c 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [build-system] requires = [ - "hatchling", + "hatchling!=1.32.1", ] build-backend = "hatchling.build" @@ -33,7 +33,7 @@ classifiers = [ ] dependencies = [ - "hatchling>=1.14.1,<1.33", + "hatchling>=1.14.1,!=1.32.1,<1.33", "p2a>=0.1.1,<0.2", "pkn>=0.3,<0.6", ] @@ -44,7 +44,7 @@ develop = [ "bump-my-version", "check-dist", "codespell", - "hatchling", + "hatchling!=1.32.1", "mdformat", "mdformat-tables>=1", "pydantic>=2,<3",