Skip to content

Commit 7e7d4f4

Browse files
Marcel JacekMarcel Jacek
authored andcommitted
fix(python): set max version for black linter in pyproject.toml
1 parent e9eda68 commit 7e7d4f4

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/ci.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ jobs:
105105
- name: Install sdk
106106
working-directory: ./sdk-repo-updated
107107
run: |
108-
pip install poetry==1.8.5
108+
pip install poetry
109109
poetry config virtualenvs.create false
110110
python -m venv .venv
111111
. .venv/bin/activate

templates/python/pyproject.mustache

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ pydantic = ">=2.9.2"
2727
python-dateutil = ">=2.9.0.post0"
2828

2929
[tool.poetry.group.dev.dependencies]
30-
black = ">=24.8.0"
30+
black = "<25.0.0" # Upgrading to a newer version requires bigger changes in the python generator. The formatting style in black has changed.
3131
pytest = ">=8.3.3"
3232
flake8 = [
3333
{ version= ">=5.0.3", python="<3.12"},

0 commit comments

Comments
 (0)