Skip to content

Commit

Permalink
I believe this should keep poetry from updating to version 2.x which …
Browse files Browse the repository at this point in the history
…seems to have some breaking configuration changes currently. I'll cherry pick this commit into it's own pull request if this works.
  • Loading branch information
sfisher committed Jan 7, 2025
1 parent eca4aeb commit 8ce874b
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 8ce874b

Please sign in to comment.