diff --git a/jsonschema-gentypes.yaml b/jsonschema-gentypes.yaml index 4e4eca0cd..222c07cc2 100644 --- a/jsonschema-gentypes.yaml +++ b/jsonschema-gentypes.yaml @@ -11,6 +11,8 @@ pre_commit: arguments: - --color=never +python_version: '3.10' + generate: - source: tilecloud_chain/schema.json destination: tilecloud_chain/configuration.py diff --git a/pyproject.toml b/pyproject.toml index 4b5f79511..7fed3d759 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -54,6 +54,7 @@ tilecloud_chain = "tilecloud_chain.scaffolds:Create" main = "tilecloud_chain.server:main" [tool.poetry.dependencies] +# Minimal version should also be set in the jsonschema-gentypes.yaml file python = ">=3.10,<3.12" c2cwsgiutils = { version = "6.0.8", extras = ["standard", "broadcast", "oauth2", "debug"] } pyramid-mako = "1.1.0"