Skip to content

Commit

Permalink
update CI tests to py 3.12 (#858)
Browse files Browse the repository at this point in the history
* update CI tests to py 3.12

* bump numpy to work with py 3.12

* bump numpy everywhere to work with py 3.12
  • Loading branch information
lbluque authored Sep 18, 2024
1 parent 8226618 commit d5be214
Show file tree
Hide file tree
Showing 10 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
- name: Setup Python
uses: actions/setup-python@v5
with:
python-version: '3.11'
python-version: '3.12'

- name: Install dependencies
run: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/build_docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: 3.11
python-version: 3.12

- name: Install dependencies
run: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/integration-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
strategy:
max-parallel: 10
matrix:
python_version: ['3.9', '3.11']
python_version: ['3.9', '3.12']

steps:
- uses: actions/checkout@v4
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: 3.11
python-version: 3.12
- name: Install dependencies
run: |
python -m pip install --upgrade pip
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
strategy:
max-parallel: 10
matrix:
python_version: ['3.9', '3.11']
python_version: ['3.9', '3.12']

steps:
- uses: actions/checkout@v4
Expand Down Expand Up @@ -56,7 +56,7 @@ jobs:
run: |
pytest tests -vv --ignore=tests/demo/ocpapi/tests/integration/ --cov-report=xml --cov=fairchem -c ./packages/fairchem-core/pyproject.toml
- if: ${{ matrix.python_version == '3.11' }}
- if: ${{ matrix.python_version == '3.12' }}
name: codecov-report
uses: codecov/codecov-action@v4
with:
Expand Down
2 changes: 1 addition & 1 deletion packages/env.cpu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ dependencies:
- pytorch>=2.4
- ase
- e3nn>=0.5
- numpy >=1.25.0,<2.0.0
- numpy >=1.26.0,<2.0.0
- pymatgen>=2023.10.3
- numba
- orjson
Expand Down
2 changes: 1 addition & 1 deletion packages/env.gpu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ dependencies:
- pytorch>=2.4
- ase
- e3nn>=0.5
- numpy >=1.25.0,<2.0.0
- numpy >=1.26.0,<2.0.0
- pymatgen>=2023.10.3
- numba
- orjson
Expand Down
2 changes: 1 addition & 1 deletion packages/fairchem-core/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ dynamic = ["version", "readme"]
requires-python = ">=3.9, <3.13"
dependencies = [
"torch>=2.4",
"numpy >=1.25.0, <2.0.0",
"numpy >=1.26.0, <2.0.0",
"lmdb",
"ase",
"pymatgen>=2023.10.3",
Expand Down
2 changes: 1 addition & 1 deletion packages/fairchem-data-oc/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ dynamic = ["version", "readme"]
description = "Code for generating adsorbate-catalyst input configurations"
license = {text = "MIT License"}
dependencies = [
"numpy >=1.25.0, <2.0.0",
"numpy >=1.26.0, <2.0.0",
"scipy",
"matplotlib",
"ase", # this was pinned to 3.22.1
Expand Down
2 changes: 1 addition & 1 deletion packages/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
torch==2.4.1
numpy==1.23.5
numpy==1.26.4
ase==3.23.0

0 comments on commit d5be214

Please sign in to comment.