Skip to content

Commit ccf2355

Browse files
committed
fixes problem with dependencies for python >=3.12
1 parent 31959cc commit ccf2355

File tree

1 file changed

+15
-12
lines changed

1 file changed

+15
-12
lines changed

templates/python/pyproject.mustache

Lines changed: 15 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -24,18 +24,21 @@ pydantic = "^2.9.2"
2424
python-dateutil = "^2.9.0.post0"
2525
2626
[tool.poetry.group.dev.dependencies]
27-
black = "24.8.0"
28-
pytest = "^8.3.3"
29-
flake8 = "^5.0.3"
30-
flake8-black = "^0.3.6"
31-
flake8-pyproject = "^1.2.3"
32-
autoimport = "^1.6.1"
33-
flake8-eol = "^0.0.8"
34-
flake8-eradicate = "^1.5.0"
35-
flake8-bandit = "^4.1.1"
36-
flake8-bugbear = "^23.1.14"
37-
flake8-quotes = "^3.4.0"
38-
isort = "^5.13.2"
27+
black = ">=24.8.0"
28+
pytest = ">=8.3.3"
29+
flake8 = [
30+
{ version= ">=5.0.3", python="<3.12"},
31+
{ version= ">=6.0.1", python=">=3.12"}
32+
]
33+
flake8-black = ">=0.3.6"
34+
flake8-pyproject = ">=1.2.3"
35+
autoimport = ">=1.6.1"
36+
flake8-eol = ">=0.0.8"
37+
flake8-eradicate = ">=1.5.0"
38+
flake8-bandit = ">=4.1.1"
39+
flake8-bugbear = ">=23.1.14"
40+
flake8-quotes = ">=3.4.0"
41+
isort = ">=5.13.2"
3942

4043
[project.urls]
4144
Homepage = "https://github.com/{{{gitUserId}}}/{{{gitRepoId}}}"

0 commit comments

Comments
 (0)