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 cdfa4d4 commit e4401a6
Show file tree
Hide file tree
Showing 9 changed files with 118 additions and 10 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
9 changes: 9 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,15 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

<!-- towncrier release notes start -->

## 0.17.5 (2025-01-07)


### Bug Fixes

- Explicit poetry version due to major version (2.0.0) breaking the CI


## 0.17.4 (2024-12-31)


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.

4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "port-ocean"
version = "0.17.4"
version = "0.17.5"
description = "Port Ocean is a CLI tool for managing your Port projects."
readme = "README.md"
homepage = "https://app.getport.io"
Expand Down 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 e4401a6

Please sign in to comment.