Skip to content

Commit 3bbd310

Browse files
committed
fix: add setuptools for testing
1 parent fb84f57 commit 3bbd310

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

.github/workflows/test.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ jobs:
2727
run: |
2828
python -m pip install --upgrade pip
2929
pip install .[dev]
30+
pip install setuptools # Ensure setuptools is available for pkg_resources
3031
3132
- name: Run tests and collect coverage
3233
run: |

pyproject.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ classifiers = [
3333
]
3434
dependencies = [
3535
"tomli>=1.1.0; python_version < '3.11'",
36+
"setuptools>=45.0.0",
3637
]
3738
dynamic = ["version"]
3839

@@ -49,6 +50,7 @@ tracker = "https://github.com/cpp-linter/cpp-linter-hooks/issues"
4950
tools = [
5051
"clang-format==20.1.7",
5152
"clang-tidy==20.1.0",
53+
"setuptools>=45.0.0", # Required for pkg_resources in clang-tidy
5254
]
5355

5456
dev = [

0 commit comments

Comments
 (0)