Debian Codegraph @

debian/patches/fix-hatch-vcs.patch

raw
1 Author: Andreas Tille <[email protected]>
2 Last-Update: 2026-06-04
3 Description: Do not parse Vcs to obtain version number
4 This applies to upstream version 2.0.1
5 .
6 Version 2.0.1 also needs the following new Build-Depends:
7 pybuild-plugin-pyproject,
8 python3-hatchling,
9 python3-hatch-fancy-pypi-readme,
10 as well as this new package
11 https://cmap-docs.readthedocs.io/en/stable/
12
13 --- a/pyproject.toml
14 +++ b/pyproject.toml
15 @@ -34,7 +34,8 @@ dependencies = [
16 "numpy>=1.21.0",
17 "Pillow>=10.0.0",
18 ]
19 -dynamic = ["readme", "version"]
20 +dynamic = ["readme"]
21 +version = "2.0.1"
22
23 [dependency-groups]
24 dev = [
25 @@ -65,9 +66,6 @@ fragments = [
26 { path = "README.md" },
27 ]
28
29 -[tool.hatch.version]
30 -source = "vcs"
31 -
32 [tool.ruff]
33 line-length = 88
34 indent-width = 4