Skip to content

Commit cfadf37

Browse files
committed
chore: upgrade poetry
1 parent f5e62ba commit cfadf37

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

.github/actions/setup/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ runs:
139139
- name: Install poetry
140140
if: ${{ inputs.language == 'python' }}
141141
shell: bash
142-
run: pipx install poetry
142+
run: pipx install poetry==2
143143

144144
- uses: actions/setup-python@v5
145145
if: ${{ inputs.language == 'python' }}

scripts/docker/Dockerfile.base

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ COPY --from=python-builder /usr/local/lib/ /usr/local/lib/
4141
RUN echo "export PATH=$PATH:/usr/local/bin/python" >> ~/.profile \
4242
&& echo "export PATH=$PATH:/usr/local/bin/pip" >> ~/.profile \
4343
&& pip install --upgrade pip pipx && pipx ensurepath \
44-
&& pipx install poetry
44+
&& pipx install poetry==2
4545
ENV VIRTUAL_ENV=/opt/env
4646
RUN python -m venv $VIRTUAL_ENV
4747
ENV PATH="$VIRTUAL_ENV/bin:$PATH"

scripts/formatter.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ export async function formatter(language: string, cwd: string): Promise<void> {
5454
break;
5555
case 'python':
5656
await run(
57-
'poetry lock --no-update && poetry install --sync && pip freeze > requirements.txt && poetry run ruff check --fix --unsafe-fixes && poetry run ruff format',
57+
'poetry lock && poetry install --sync && pip freeze > requirements.txt && poetry run ruff check --fix --unsafe-fixes && poetry run ruff format',
5858
{ cwd, language },
5959
);
6060
if (!cwd.includes('tests')) {

0 commit comments

Comments
 (0)