Skip to content

Commit 1fa4dad

Browse files
committed
Fix CI build errors by pinning build dependencies
- Pin setuptools==78.1.0 and wheel==0.45.1 in requirements.txt - Update CI workflow to install from requirements.txt - Ensure consistent build environment for packaging and testing
1 parent 0bfe0f2 commit 1fa4dad

File tree

2 files changed

+5
-11
lines changed

2 files changed

+5
-11
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,8 @@ jobs:
3333

3434
- name: Install dependencies
3535
run: |
36-
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
37-
pip install pytest coverage
36+
pip install --upgrade pip
37+
pip install -r requirements.txt
3838
3939
- name: Run tests with coverage
4040
run: |

requirements.txt

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,4 @@
1-
# Test requirements for TaskNow (April 2025 verified versions)
1+
setuptools==78.1.0
2+
wheel==0.45.1
23
pytest==8.3.5
3-
pytest-cov==6.1.1
4-
5-
# For development flexibility (minimum versions):
6-
# pytest>=8.3.5
7-
# pytest-cov>=6.1.1
8-
9-
# To freeze exact versions:
10-
# pip freeze > requirements-frozen.txt
4+
pytest-cov==6.1.1

0 commit comments

Comments
 (0)