From b2b4735b8aba3a3a2e1d479d938b899d2cba717c Mon Sep 17 00:00:00 2001 From: Aaron Steers Date: Mon, 11 Nov 2024 15:40:15 -0800 Subject: [PATCH] chore: use dynamic versioning --- pyproject.toml | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index c2a4c4d0..16e5cd01 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,10 +1,9 @@ [build-system] -requires = ["poetry-core>=1.0.0"] -build-backend = "poetry.core.masonry.api" +requires = ["poetry-core>=1.0.0", "poetry-dynamic-versioning>=1.0.0,<2.0.0"] +build-backend = "poetry_dynamic_versioning.backend" [tool.poetry] name = "airbyte-cdk" -version = "6.5.2" description = "A framework for writing Airbyte Connectors." authors = ["Airbyte "] license = "MIT" @@ -22,6 +21,11 @@ classifiers = [ ] keywords = ["airbyte", "connector-development-kit", "cdk"] +# Python CDK uses dynamic versioning: https://github.com/mtkennerly/poetry-dynamic-versioning +version = "0.0.0" # Version will be replaced by the version of the release tag during publish. + +[tool.poetry-dynamic-versioning] +enable = true [tool.poetry.dependencies] python = "^3.10"