Skip to content

Commit 6962b60

Browse files
committed
remove setuptools from runtime dependencies
we don't have any (transitive) dependencies on pkg_resources anymore. also pin build-time setuptools to a specific version.
1 parent 9ada3c6 commit 6962b60

2 files changed

Lines changed: 1 addition & 3 deletions

File tree

install.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,6 @@ def create_venv() -> None:
9494
progress("Creating Python virtual environment")
9595
venv.create(str(target_path), symlinks=True, with_pip=True, prompt=target_path.name)
9696
subprocess.run(
97-
# setuptools >= 81 deprecate pkg_resources
9897
[str(target_path / 'bin/pip'), 'install', '-U', 'pip', 'wheel'],
9998
check=True)
10099

pyproject.toml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,6 @@ dependencies = [
3333
"pyxdg>=0.26,<0.29", # https://freedesktop.org/wiki/Software/pyxdg/
3434
"Jinja2==3.1.6", # https://jinja.palletsprojects.com/en/stable/changes/
3535
"markdown-it-py==3.0.0", # https://github.com/executablebooks/markdown-it-py/blob/master/CHANGELOG.md
36-
"setuptools>=80,<81", # https://setuptools.pypa.io/en/latest/history.html
3736
"MarkupSafe==3.0.3", # https://markupsafe.palletsprojects.com/en/stable/changes/
3837

3938
# Only for some importers:
@@ -65,7 +64,7 @@ devel = [
6564
]
6665

6766
[build-system]
68-
requires = ["setuptools>=80,<81", "babel==2.12.1"]
67+
requires = ["setuptools==82.0.0", "babel==2.12.1"]
6968
build-backend = "setuptools.build_meta"
7069

7170
[tool.pytest.ini_options]

0 commit comments

Comments
 (0)