Skip to content

Commit e497b99

Browse files
committed
Update GitHub Actions workflows to install requirements and enforce numpy dependency
- Add `pip install -r requirements.txt` to all workflows for consistent dependency management - Specify `numpy>=1.19.0` as a core dependency in `setup.py` and `requirements.txt`
1 parent 3c34900 commit e497b99

5 files changed

Lines changed: 6 additions & 3 deletions

File tree

.github/workflows/test-matrix.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ jobs:
4343
run: |
4444
python -m pip install --upgrade pip
4545
pip install pytest pytest-cov pytest-xdist
46+
pip install -r requirements.txt
4647
pip install -e .
4748
4849
- name: Verify PyHelios installation and platform detection

.github/workflows/test-quick.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ jobs:
2626
run: |
2727
python -m pip install --upgrade pip
2828
pip install pytest
29+
pip install -r requirements.txt
2930
pip install -e .
3031
3132
- name: Quick smoke test

.github/workflows/test-required.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ jobs:
3232
run: |
3333
python -m pip install --upgrade pip
3434
pip install pytest
35+
pip install -r requirements.txt
3536
pip install -e .
3637
3738
- name: Verify PyHelios installation
@@ -120,6 +121,7 @@ jobs:
120121
run: |
121122
python -m pip install --upgrade pip
122123
pip install pytest
124+
pip install -r requirements.txt
123125
pip install -e .
124126
125127
- name: Build native Helios libraries

requirements.txt

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1 @@
1-
2-
1+
numpy>=1.19.0

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ def get_long_description():
8585

8686
# Dependencies
8787
install_requires=[
88-
# Core dependencies - minimal for maximum compatibility
88+
'numpy>=1.19.0', # Core dependency for PyHelios data structures
8989
],
9090
extras_require={
9191
'dev': read_dev_requirements(),

0 commit comments

Comments
 (0)