Skip to content

Commit

Permalink
Merge pull request #819 from CDLUC3/poetry-v1-only
Browse files Browse the repository at this point in the history
Limits poetry so it doesn't upgrade to v2
  • Loading branch information
sfisher authored Feb 20, 2025
2 parents cf1054f + 4a3196f commit ce7d03c
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
- name: Install Poetry
run: |
curl -sSL https://install.python-poetry.org | python3 -
curl -sSL https://install.python-poetry.org | python3 - --version 1.8.5
echo "$HOME/.local/bin" >> $GITHUB_PATH
- name: Install dependencies
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ tools. Here is a quick tour of the our EZID `pyproject.toml`:
We declare Poetry as our build tool
```
[build-system]
requires = ["poetry-core>=1.0.0"]
requires = ["poetry-core>=1.0.0,<2.0.0"]
build-backend = "poetry.core.masonry.api"
```

Expand Down
2 changes: 1 addition & 1 deletion ansible/roles/ezid/tasks/configure_ezid.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@

- name: install poetry
ansible.builtin.pip:
name: poetry
name: poetry==1.8.5

- name: run pip install
ansible.builtin.command:
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[build-system]
requires = ["poetry-core>=1.0.0"]
requires = ["poetry-core>=1.0.0,<2.0.0"]
build-backend = "poetry.core.masonry.api"

[tool.black]
Expand Down

0 comments on commit ce7d03c

Please sign in to comment.