diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index a2cc1533..1c8f80a9 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -62,6 +62,7 @@ jobs: pipx ensurepath pipx install poetry==1.4.2 poetry config virtualenvs.in-project true + poetry self add "poetry-dynamic-versioning[plugin]" poetry install --with dev - name: Run tests diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 845a9947..1157dca3 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -31,6 +31,7 @@ jobs: pip install --user pipx pipx ensurepath pipx install poetry==1.4.2 + poetry self add "poetry-dynamic-versioning[plugin]" poetry config virtualenvs.in-project true poetry install --with dev diff --git a/pyproject.toml b/pyproject.toml index 84e8827d..2bfadd6d 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,5 +1,5 @@ [build-system] -requires = ["poetry-core", "poetry-dynamic-versioning"] +requires = ["poetry-core>=1.0.0", "poetry-dynamic-versioning>=1.0.0,<2.0.0"] build-backend = "poetry_dynamic_versioning.backend" [tool.poetry]