Skip to content

Commit

Permalink
Fix the failing testing because of the architecture change of MacOS (#…
Browse files Browse the repository at this point in the history
…214)

* Fix GitHub Actions crash for MacOS version change

The macos-14 aka. macos-latest has switched to being an ARM runner, only supporting newer versions of Python. This is related to actions/setup-python#825

* Relax dependency constraints
  • Loading branch information
FanwangM authored Jun 18, 2024
1 parent 55bf0b9 commit c34e2b4
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 12 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/ci_tox.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,8 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [macOS-latest, windows-latest, ubuntu-latest]
# os: [macOS-latest, windows-latest, ubuntu-latest]
os: [macos-13, windows-latest, ubuntu-latest]
python-version: ["3.9", "3.10", "3.11"]

steps:
Expand Down
6 changes: 3 additions & 3 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
bitarray~=2.5.1
bitarray>=2.5.1
importlib-resources>=5.6.0
numpy>=1.21.2
pandas>=1.3.5
pytest>=6.2.5
pytest>=7.4.0
scikit-learn>=1.0.1
scipy==1.11.1
scipy>=1.11.1
setuptools>=58.0.4
7 changes: 3 additions & 4 deletions requirements_dev.txt
Original file line number Diff line number Diff line change
@@ -1,14 +1,13 @@
bitarray~=2.5.1
bitarray>=2.5.1
coverage>=6.3.2
hypothesis
importlib-resources>=5.6.0
numpy>=1.21.2
openpyxl
pandas>=1.3.5
pre-commit
# pytest>=6.2.5
pytest==7.4.0
pytest>=7.4.0
pytest-cov>=3.0.0
scikit-learn>=1.0.1
scipy==1.11.1
scipy>=1.11.1
setuptools>=58.0.4
8 changes: 4 additions & 4 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,8 @@
# Allows `setup.py test` to work correctly with pytest
setup_requires=[
"numpy>=1.21.2",
"scipy==1.11.1",
"pytest>=6.2.4",
"scipy>=1.11.1",
"pytest>=7.4.0",
"scikit-learn",
"bitarray",
]
Expand All @@ -66,8 +66,8 @@
url="https://github.com/theochem/Selector", # Website
install_requires=[
"numpy>=1.21.2",
"scipy==1.11.1",
"pytest>=6.2.4",
"scipy>=1.11.1",
"pytest>=7.4.0",
"scikit-learn",
"bitarray",
],
Expand Down

0 comments on commit c34e2b4

Please sign in to comment.