Skip to content

Commit da77b94

Browse files
chore: update Poetry version to 2.0.1 in CI workflows (#587)
Co-authored-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com> Co-authored-by: Aaron <AJ> Steers <aj@airbyte.io>
1 parent f7b88eb commit da77b94

10 files changed

+316
-11
lines changed

.github/workflows/autofix.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
- name: Set up Poetry
1818
uses: Gr1N/setup-poetry@v9
1919
with:
20-
poetry-version: "1.7.1"
20+
poetry-version: "2.0.1"
2121
- name: Set up Python
2222
uses: actions/setup-python@v5
2323
with:

.github/workflows/fix-pr-command.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ jobs:
8181
- name: Set up Poetry
8282
uses: Gr1N/setup-poetry@v9
8383
with:
84-
poetry-version: "1.7.1"
84+
poetry-version: "2.0.1"
8585
- name: Set up Python
8686
uses: actions/setup-python@v5
8787
with:

.github/workflows/poetry-lock-command.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ jobs:
7373
- name: Set up Poetry
7474
uses: Gr1N/setup-poetry@v9
7575
with:
76-
poetry-version: "1.7.1"
76+
poetry-version: "2.0.1"
7777
- name: Set up Python
7878
uses: actions/setup-python@v5
7979
with:

.github/workflows/pydoc_preview.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
- name: Set up Poetry
2020
uses: Gr1N/setup-poetry@v9
2121
with:
22-
poetry-version: "1.7.1"
22+
poetry-version: "2.0.1"
2323
- name: Set up Python
2424
uses: actions/setup-python@v5
2525
with:

.github/workflows/pydoc_publish.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ jobs:
3636
- name: Set up Poetry
3737
uses: Gr1N/setup-poetry@v9
3838
with:
39-
poetry-version: "1.7.1"
39+
poetry-version: "2.0.1"
4040
- name: Set up Python
4141
uses: actions/setup-python@v5
4242
with:

.github/workflows/python_lint.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
- name: Set up Poetry
2121
uses: Gr1N/setup-poetry@v9
2222
with:
23-
poetry-version: "1.7.1"
23+
poetry-version: "2.0.1"
2424
- name: Set up Python
2525
uses: actions/setup-python@v5
2626
with:

.github/workflows/python_pytest.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030
- name: Set up Poetry
3131
uses: Gr1N/setup-poetry@v9
3232
with:
33-
poetry-version: "1.7.1"
33+
poetry-version: "2.0.1"
3434
- name: Set up Python
3535
uses: actions/setup-python@v5
3636
with:

.github/workflows/test-pr-command.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ jobs:
7575
- name: Set up Poetry
7676
uses: Gr1N/setup-poetry@v9
7777
with:
78-
poetry-version: "1.7.1"
78+
poetry-version: "2.0.1"
7979
- name: Set up Python
8080
uses: actions/setup-python@v5
8181
with:

docs/CONTRIBUTING.md

+3-1
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,11 @@ Learn how you can become a contributor to PyAirbyte.
44

55
## Development
66

7-
- Make sure [Poetry is installed](https://python-poetry.org/docs/#).
7+
- Make sure [Poetry is installed](https://python-poetry.org/docs/#) (version 2.0 or higher).
88
- Run `poetry install`
99
- For examples, check out the `examples` folder. They can be run via `poetry run python examples/<example file>`
10+
11+
Note: By default in Poetry 2.0, `poetry lock` only refreshes the lockfile without pulling new versions. This is the same behavior as the previous `poetry lock --no-update` command.
1012
- Unit tests and type checks can be run via `poetry run pytest`
1113

1214
## Documentation

poetry.lock

+305-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)