Skip to content

Commit

Permalink
[CORE] Fix CI after poetry released 2.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
erikzaadi committed Jan 7, 2025
1 parent ae1abcd commit 94b0669
Show file tree
Hide file tree
Showing 8 changed files with 108 additions and 9 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/core-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
uses: actions/checkout@v4

- name: Install poetry
run: pipx install poetry
run: pipx install 'poetry>=1.0.0,<2.0.0'

- name: Set up Python 3.12
uses: actions/setup-python@v5
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/integrations-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
uses: actions/checkout@v4

- name: Install poetry
run: pipx install poetry
run: pipx install 'poetry>=1.0.0,<2.0.0'

- name: Set up Python 3.12
uses: actions/setup-python@v5
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
uses: actions/checkout@v4

- name: Install poetry
run: pipx install poetry
run: pipx install 'poetry>=1.0.0,<2.0.0'

- name: Set up Python 3.12
uses: actions/setup-python@v5
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/perf-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ jobs:
uses: actions/checkout@v4

- name: Install poetry
run: pipx install poetry
run: pipx install 'poetry>=1.0.0,<2.0.0'

- name: Set up Python 3.12
uses: actions/setup-python@v5
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ endef
define install_poetry
if ! command -v poetry &> /dev/null; then \
pip install --upgrade pip; \
pip install poetry; \
pip install 'poetry>=1.0.0,<2.0.0'; \
else \
echo "Poetry is already installed."; \
fi
Expand Down
2 changes: 1 addition & 1 deletion integrations/_infra/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ endef
define install_poetry
if ! command -v poetry &> /dev/null; then \
pip install --upgrade pip; \
pip install poetry; \
pip install 'poetry>=1.0.0,<2.0.0'; \
else \
echo "Poetry is already installed."; \
fi
Expand Down
103 changes: 101 additions & 2 deletions poetry.lock

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ classifiers = [
ocean = "port_ocean.cli.cli:cli_start"

[build-system]
requires = ["poetry-core>=1.0.0"]
requires = ["poetry-core>=1.0.0,<2.0.0"]
build-backend = "poetry.core.masonry.api"

[tool.poetry.dependencies]
Expand Down

0 comments on commit 94b0669

Please sign in to comment.