Skip to content

Commit 76ac9fb

Browse files
committed
set require-python to 3.11+; explicitly specify hatchling
1 parent 4e4e9e6 commit 76ac9fb

File tree

3 files changed

+15
-0
lines changed

3 files changed

+15
-0
lines changed

acceptance/bundle/templates/default-python/classic/output/my_default_python/pyproject.toml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,11 @@
22
name = "my_default_python"
33
version = "0.0.1"
44
authors = [{ name = "[USERNAME]" }]
5+
requires-python = ">= 3.11"
6+
7+
[build-system]
8+
requires = ["hatchling"]
9+
build-backend = "hatchling.build"
510

611
[tool.hatch.build.targets.wheel]
712
packages = ["src/my_default_python"]

acceptance/bundle/templates/default-python/serverless/output/my_default_python/pyproject.toml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,11 @@
22
name = "my_default_python"
33
version = "0.0.1"
44
authors = [{ name = "[USERNAME]" }]
5+
requires-python = ">= 3.11"
6+
7+
[build-system]
8+
requires = ["hatchling"]
9+
build-backend = "hatchling.build"
510

611
[tool.hatch.build.targets.wheel]
712
packages = ["src/my_default_python"]

libs/template/templates/default-python/template/{{.project_name}}/pyproject.toml.tmpl

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,11 @@
22
name = "{{.project_name}}"
33
version = "0.0.1"
44
authors = [{ name = "{{user_name}}" }]
5+
requires-python = ">= 3.11"
6+
7+
[build-system]
8+
requires = ["hatchling"]
9+
build-backend = "hatchling.build"
510

611
[tool.hatch.build.targets.wheel]
712
packages = ["src/{{.project_name}}"]

0 commit comments

Comments
 (0)