Skip to content

Commit

Permalink
ci: PLT-628: Migrate to Poetry 2
Browse files Browse the repository at this point in the history
  • Loading branch information
nikitabelonogov committed Jan 13, 2025
1 parent 1cd4101 commit d2caf3f
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build_pypi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ jobs:
sed -i "s/^version[ ]*=.*/version = \"${version}\"/g" ${{ env.PYTHON_VERSION_FILE }}
- name: "Install poetry"
run: pipx install poetry
run: pipx install "poetry>=2.0.0,<3.0.0"

- name: "Set up Python"
id: setup_python
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
- uses: actions/checkout@v4

- name: "Install poetry"
run: pipx install poetry
run: pipx install "poetry>=2.0.0,<3.0.0"

- name: "Set up Python"
id: setup_python
Expand Down Expand Up @@ -50,7 +50,7 @@ jobs:
- uses: actions/checkout@v4

- name: "Install poetry"
run: pipx install poetry
run: pipx install "poetry>=2.0.0,<3.0.0"

- name: "Set up Python"
id: setup_python
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/follow-merge-upstream-repo-sync.yml
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ jobs:
working_directory: "${{ env.UPSTREAM_REPO_WORKDIR }}"

- name: "Install poetry"
run: pipx install poetry
run: pipx install "poetry>=2.0.0,<3.0.0"

- name: "Set up Python"
id: setup_python
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:
- uses: actions/checkout@v4

- name: "Install poetry"
run: pipx install poetry
run: pipx install "poetry>=2.0.0,<3.0.0"

- name: "Set up Python"
id: setup_python
Expand Down Expand Up @@ -65,7 +65,7 @@ jobs:
- uses: actions/checkout@v4

- name: "Install poetry"
run: pipx install poetry
run: pipx install "poetry>=2.0.0,<3.0.0"

- name: "Set up Python ${{ matrix.python-version }}"
id: setup_python
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ litellm = "^1.47.2"
pandarallel = "^1.6.5"
instructor = "^1.4.3"

[tool.poetry.dev-dependencies]
[tool.poetry.group.dev.dependencies]
pytest = "^7.4.3"
pytest-cov = "^4.1.0"
black = "^24.8.0"
Expand Down

0 comments on commit d2caf3f

Please sign in to comment.