From 8a57d496c7458ebf46679a412e8cb8a944d89bf1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Edgar=20Ram=C3=ADrez=20Mondrag=C3=B3n?= <16805946+edgarrmondragon@users.noreply.github.com> Date: Wed, 19 Jun 2024 14:50:07 -0600 Subject: [PATCH] chore: Use `poetry-dynamic-versioning` (#68) --- .github/workflows/test.yml | 3 +++ pyproject.toml | 9 ++++++--- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index f7c0989..022f118 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -23,6 +23,8 @@ jobs: steps: - uses: actions/checkout@v4 + with: + fetch-depth: 0 - name: Set up Python ${{ matrix.python-version }} uses: actions/setup-python@v5 with: @@ -31,6 +33,7 @@ jobs: - name: Install Poetry run: | pipx install poetry + pipx inject poetry poetry-dynamic-versioning poetry --version - name: Install dependencies run: | diff --git a/pyproject.toml b/pyproject.toml index 14af1f1..f7b8524 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "dbt-ext" -version = "0.1.0" +version = "0.0.0" description = "`dbt-ext` is a Meltano utility extension." authors = ["Meltano Team and Contributors"] maintainers = ["Meltano Team and Contributors"] @@ -38,9 +38,12 @@ pre-commit = "^2.20.0" pytest = "^7.1.3" [build-system] -requires = ["poetry-core==1.9.0"] -build-backend = "poetry.core.masonry.api" +requires = ["poetry-core==1.9.0", "poetry-dynamic-versioning==1.4.0"] +build-backend = "poetry_dynamic_versioning.backend" [tool.poetry.scripts] dbt_extension = 'dbt_ext.main:app' dbt_invoker = 'dbt_ext.pass_through:pass_through_cli' + +[tool.poetry-dynamic-versioning] +enable = true