Skip to content

Commit 58e97c8

Browse files
author
boonhapus
committed
more exhaustive list of build dependencies
1 parent 585fffb commit 58e97c8

File tree

1 file changed

+29
-1
lines changed

1 file changed

+29
-1
lines changed

cs_tools/updater/_updater.py

Lines changed: 29 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,35 @@ class CSToolsVenv(venv.EnvBuilder):
3333
VENV_NAME = ".cs_tools"
3434
"""Default name of the VirtualEnvironment."""
3535

36-
TYPICAL_BUILD_DEPENDENCIES = ("wheel >= 0.45", "setuptools >= 75", "hatch", "maturin")
36+
# fmt: off
37+
#
38+
# DEV NOTE: @boonhapus, 2024/02/27
39+
# AS OF TODAY, THERE ARE NO TOOLS IN THE PYTHON ECOSYSTEM WHICH HELP DISCOVER A
40+
# PACKAGE'S build-system requirements. (see: pyproject.toml#build-system.requires)
41+
#
42+
# UPDATED FOR v1.6.0 ON 2024/02/27 ALA pip-dep-tree STYLE.
43+
TYPICAL_BUILD_DEPENDENCIES = (
44+
# TOP-LEVEL FOR MOST PYTHON-based DEPENDENCIES.
45+
"setuptools >= 75",
46+
"wheel >= 0.45",
47+
# BUILD-REQUIRES
48+
"flit_core >= 3.8, <4",
49+
50+
# TOP-LEVEL FOR RUST-based DEPENDENCIES.
51+
"maturin",
52+
# BUILD-REQUIRES
53+
# setuptools ,
54+
# wheel >= 0.36.2 ,
55+
"tomli >= 1.1.0; python_version < '3.11'",
56+
"setuptools-rust >= 1.4.0",
57+
58+
# TOP-LEVEL FOR DEVELOPMENT-based DEPENDENCIES.
59+
"hatch",
60+
# BUILD-REQUIRES
61+
"hatchling >= 1.24.2",
62+
"hatch-vcs >= 0.3.0",
63+
)
64+
# fmt: on
3765
"""uv and pip do not discover these automatically."""
3866

3967
def __init__(

0 commit comments

Comments
 (0)