File: 001-fix-pdm-version-toml.patch

package info (click to toggle)
python-asv-runner 0.2.1-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 420 kB
  • sloc: python: 1,631; makefile: 13
file content (19 lines) | stat: -rw-r--r-- 641 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
Description: Fix to avoid writing version number in source file.
 During build the pdm writes version number to source files
 creating reprotest error. [tool.pdm.version] in pyproject.toml
 file is modified to avoid changes in source files.
Forwarded: not-needed
Author: Yogeswaran Umasankar <kd8mbd@gmail.com>
Last-Update: 2024-04-10

--- a/pyproject.toml
+++ b/pyproject.toml
@@ -72,8 +72,6 @@ mkdoc = {composite = ["sphinx-build -b h
 
 [tool.pdm.version]
 source = "scm"
-write_to = "asv_runner/__init__.py"
-write_template = "__version__ = '{}'"
 
 [project.urls]
 homepage = "https://asv.readthedocs.io/projects/asv-runner/en/latest/"