Skip to content

Commit 48c97fa

Browse files
fix: add setuptools dynamic version configuration
Co-Authored-By: Aaron <AJ> Steers <aj@airbyte.io>
1 parent 0fd5b4c commit 48c97fa

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

pyproject.toml

+7-3
Original file line numberDiff line numberDiff line change
@@ -76,12 +76,16 @@ dev = [
7676
]
7777

7878
[build-system]
79-
requires = ["setuptools>=69.0.3", "setuptools-scm>=8.0.0"]
79+
requires = ["setuptools>=69.0.3", "setuptools_scm[toml]>=8.0.0"]
8080
build-backend = "setuptools.build_meta"
8181

82+
[tool.setuptools]
83+
dynamic = ["version"]
84+
8285
[tool.setuptools_scm]
83-
version_scheme = "guess-next-dev"
84-
local_scheme = "node-and-date"
86+
write_to = "airbyte/_version.py"
87+
version_scheme = "post-release"
88+
local_scheme = "dirty-tag"
8589

8690
[tool.pytest.ini_options]
8791
# Pytest configuration as follows:

0 commit comments

Comments
 (0)