From 05b91df79fe0db746be3550c1eb39fd658ef28e7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Edgar=20Ram=C3=ADrez=20Mondrag=C3=B3n?= Date: Wed, 10 Jan 2024 13:22:30 -0600 Subject: [PATCH] Use dynamic versioning --- pyproject.toml | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index ab9a565ea..58cf69dc4 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "singer-sdk" -version = "0.34.1" +version = "0.0.0" description = "A framework for building Singer taps" authors = ["Meltano Team and Contributors "] maintainers = ["Meltano Team and Contributors "] @@ -174,7 +174,6 @@ prerelease_offset = 1 tag_format = "v$major.$minor.$patch$prerelease" version_files = [ "docs/conf.py:^release =", - "pyproject.toml:^version =", "cookiecutter/tap-template/{{cookiecutter.tap_id}}/pyproject.toml:singer-sdk", "cookiecutter/target-template/{{cookiecutter.target_id}}/pyproject.toml:singer-sdk", "cookiecutter/mapper-template/{{cookiecutter.mapper_id}}/pyproject.toml:singer-sdk", @@ -230,9 +229,13 @@ module = [ "pyarrow.*", # TODO: Remove when https://github.com/apache/arrow/issues/32609 if implemented and released ] +[tool.poetry-dynamic-versioning] +enable = true +style = "pep440" + [build-system] -requires = ["poetry-core==1.8.1"] -build-backend = "poetry.core.masonry.api" +requires = ["poetry-core==1.8.1", "poetry-dynamic-versioning==1.2.0"] +build-backend = "poetry_dynamic_versioning.backend" [tool.poetry.scripts] pytest11 = { reference = "singer_sdk:testing.pytest_plugin", extras = ["testing"], type = "console" }