diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index e066711..9d8c01e 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -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 diff --git a/.github/workflows/publish-pypi.yaml b/.github/workflows/publish-pypi.yaml index 6ff1b27..c61f6d9 100644 --- a/.github/workflows/publish-pypi.yaml +++ b/.github/workflows/publish-pypi.yaml @@ -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 diff --git a/pyproject.toml b/pyproject.toml index 8d6b8d3..bd3b405 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -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"