summaryrefslogtreecommitdiff
path: root/math/py-qats/files/patch-pyproject.toml
blob: 8d5422619e47b094ebb3979a6547fb2f928e0b91 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
--- pyproject.toml.orig	2025-04-10 04:12:24 UTC
+++ pyproject.toml
@@ -70,29 +70,6 @@ qats = "qats.cli:main"
 [tool.poetry.scripts]
 qats = "qats.cli:main"
 
-# enable dynamic versioning using Git tags
-# https://pypi.org/project/poetry-dynamic-versioning/
-[tool.poetry-dynamic-versioning]
-enable = true
-vcs = "git"
-format-jinja = """
-    {%- if distance == 0 -%}
-        {{ serialize_pep440(base, stage, revision) }}
-    {%- elif revision is not none -%}
-        {{ serialize_pep440(base, stage, revision + 1, dev=distance, metadata=[commit]) }}
-    {%- else -%}
-        {{ serialize_pep440(bump_version(base), stage, revision, dev=distance, metadata=[commit]) }}
-    {%- endif -%}
-"""
-
-[tool.poetry-dynamic-versioning.files."qats/_version.py"]
-persistent-substitution = true
-initial-content = """
-# file generated by poetry dynamic versioning during poetry build/install
-# don't change, don't track in version control
-__version__ = "0.0.0"
-__version_tuple__ = (0, 0, 0)
-"""
 [build-system]
 # https://pypi.org/project/poetry-dynamic-versioning/
 requires = ["poetry-core>=1.0.0", "poetry-dynamic-versioning>=1.1.1,<2.0.0"]