Spaces:
Sleeping
Sleeping
Commit ·
1a454bf
1
Parent(s): d5b2d2c
Fix the failing testing because of the architecture change of MacOS (#214)
Browse files* 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
- .github/workflows/ci_tox.yml +2 -1
- requirements.txt +3 -3
- requirements_dev.txt +3 -4
- setup.py +4 -4
.github/workflows/ci_tox.yml
CHANGED
|
@@ -24,7 +24,8 @@ jobs:
|
|
| 24 |
runs-on: ${{ matrix.os }}
|
| 25 |
strategy:
|
| 26 |
matrix:
|
| 27 |
-
os: [macOS-latest, windows-latest, ubuntu-latest]
|
|
|
|
| 28 |
python-version: ["3.9", "3.10", "3.11"]
|
| 29 |
|
| 30 |
steps:
|
|
|
|
| 24 |
runs-on: ${{ matrix.os }}
|
| 25 |
strategy:
|
| 26 |
matrix:
|
| 27 |
+
# os: [macOS-latest, windows-latest, ubuntu-latest]
|
| 28 |
+
os: [macos-13, windows-latest, ubuntu-latest]
|
| 29 |
python-version: ["3.9", "3.10", "3.11"]
|
| 30 |
|
| 31 |
steps:
|
requirements.txt
CHANGED
|
@@ -1,8 +1,8 @@
|
|
| 1 |
-
bitarray
|
| 2 |
importlib-resources>=5.6.0
|
| 3 |
numpy>=1.21.2
|
| 4 |
pandas>=1.3.5
|
| 5 |
-
pytest>=
|
| 6 |
scikit-learn>=1.0.1
|
| 7 |
-
scipy=
|
| 8 |
setuptools>=58.0.4
|
|
|
|
| 1 |
+
bitarray>=2.5.1
|
| 2 |
importlib-resources>=5.6.0
|
| 3 |
numpy>=1.21.2
|
| 4 |
pandas>=1.3.5
|
| 5 |
+
pytest>=7.4.0
|
| 6 |
scikit-learn>=1.0.1
|
| 7 |
+
scipy>=1.11.1
|
| 8 |
setuptools>=58.0.4
|
requirements_dev.txt
CHANGED
|
@@ -1,4 +1,4 @@
|
|
| 1 |
-
bitarray
|
| 2 |
coverage>=6.3.2
|
| 3 |
hypothesis
|
| 4 |
importlib-resources>=5.6.0
|
|
@@ -6,9 +6,8 @@ numpy>=1.21.2
|
|
| 6 |
openpyxl
|
| 7 |
pandas>=1.3.5
|
| 8 |
pre-commit
|
| 9 |
-
|
| 10 |
-
pytest==7.4.0
|
| 11 |
pytest-cov>=3.0.0
|
| 12 |
scikit-learn>=1.0.1
|
| 13 |
-
scipy=
|
| 14 |
setuptools>=58.0.4
|
|
|
|
| 1 |
+
bitarray>=2.5.1
|
| 2 |
coverage>=6.3.2
|
| 3 |
hypothesis
|
| 4 |
importlib-resources>=5.6.0
|
|
|
|
| 6 |
openpyxl
|
| 7 |
pandas>=1.3.5
|
| 8 |
pre-commit
|
| 9 |
+
pytest>=7.4.0
|
|
|
|
| 10 |
pytest-cov>=3.0.0
|
| 11 |
scikit-learn>=1.0.1
|
| 12 |
+
scipy>=1.11.1
|
| 13 |
setuptools>=58.0.4
|
setup.py
CHANGED
|
@@ -56,8 +56,8 @@ setup(
|
|
| 56 |
# Allows `setup.py test` to work correctly with pytest
|
| 57 |
setup_requires=[
|
| 58 |
"numpy>=1.21.2",
|
| 59 |
-
"scipy=
|
| 60 |
-
"pytest>=
|
| 61 |
"scikit-learn",
|
| 62 |
"bitarray",
|
| 63 |
]
|
|
@@ -66,8 +66,8 @@ setup(
|
|
| 66 |
url="https://github.com/theochem/Selector", # Website
|
| 67 |
install_requires=[
|
| 68 |
"numpy>=1.21.2",
|
| 69 |
-
"scipy=
|
| 70 |
-
"pytest>=
|
| 71 |
"scikit-learn",
|
| 72 |
"bitarray",
|
| 73 |
],
|
|
|
|
| 56 |
# Allows `setup.py test` to work correctly with pytest
|
| 57 |
setup_requires=[
|
| 58 |
"numpy>=1.21.2",
|
| 59 |
+
"scipy>=1.11.1",
|
| 60 |
+
"pytest>=7.4.0",
|
| 61 |
"scikit-learn",
|
| 62 |
"bitarray",
|
| 63 |
]
|
|
|
|
| 66 |
url="https://github.com/theochem/Selector", # Website
|
| 67 |
install_requires=[
|
| 68 |
"numpy>=1.21.2",
|
| 69 |
+
"scipy>=1.11.1",
|
| 70 |
+
"pytest>=7.4.0",
|
| 71 |
"scikit-learn",
|
| 72 |
"bitarray",
|
| 73 |
],
|