Skip to content

Commit

Permalink
update poetry in gh action
Browse files Browse the repository at this point in the history
  • Loading branch information
eldaduzman committed Apr 10, 2023
1 parent 5773682 commit 058fc81
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
- name: install python dependencies
run: |
python -m pip install --upgrade pip
pip install tox tox-gh-actions poetry
pip install tox tox-gh-actions poetry==1.2.0
- name: make jars dir
run: mkdir -p src/pymeter/resources/jars
- name: copy jars
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/publish-pypi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install poetry
pip install poetry==1.2.0
poetry install --only-root
- name: Build package
run: poetry build -f sdist
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,6 @@ sphinx-tabs = "^3.4.1"
parameterized = "^0.8.1"

[build-system]
requires = ["poetry-core>=1.2.0"]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"

0 comments on commit 058fc81

Please sign in to comment.