Skip to content

Commit fa3962d

Browse files
author
Charly Laurent
authored
ci: upgrade poetry-dynamic-versioning (#160)
1 parent ccf346e commit fa3962d

File tree

2 files changed

+12
-4
lines changed

2 files changed

+12
-4
lines changed

.github/workflows/release.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@ jobs:
1919
python-version: 3.12
2020
- run: |
2121
pip install -r requirements-poetry.txt
22-
poetry self add poetry-dynamic-versioning[plugin]
2322
poetry sync
2423
poetry build
2524
- name: Publish package distributions to PyPI

pyproject.toml

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
[project]
22
name = "sql-compare"
3-
version = "0"
43
description = "Compare SQL schemas"
54
authors = [{ name = "Charly Laurent", email = "[email protected]" }]
65
maintainers = [{ name = "Mergify", email = "[email protected]" }]
@@ -28,11 +27,15 @@ classifiers = [
2827
"Topic :: Software Development :: Testing :: Unit",
2928
]
3029
requires-python = ">=3.9"
30+
dynamic = ["version"]
3131

3232
[project.urls]
3333
repository = "https://github.com/Mergifyio/sql-compare"
3434
"Bug Tracker" = "https://github.com/Mergifyio/sql-compare/issues"
3535

36+
[tool.poetry]
37+
version = "0.0.0"
38+
3639
[tool.poetry.dependencies]
3740
python = "^3.9"
3841
sqlparse = ">=0.5.0"
@@ -45,9 +48,15 @@ poethepoet = ">=0.26.1,<0.35.0"
4548
deptry = ">=0.16.1,<0.24.0"
4649
semgrep = "^1.122.0"
4750

51+
[tool.poetry.requires-plugins]
52+
poetry-dynamic-versioning = { version = ">=1.0.0,<2.0.0", extras = ["plugin"] }
53+
54+
[tool.poetry-dynamic-versioning]
55+
enable = true
56+
4857
[build-system]
49-
requires = ["poetry-core"]
50-
build-backend = "poetry.core.masonry.api"
58+
requires = ["poetry-core>=1.0.0", "poetry-dynamic-versioning>=1.0.0,<2.0.0"]
59+
build-backend = "poetry_dynamic_versioning.backend"
5160

5261
[tool.poe]
5362
include = ["poe.toml"]

0 commit comments

Comments
 (0)