Skip to content

Commit 314fec0

Browse files
updated env
1 parent 19ea0e0 commit 314fec0

File tree

3 files changed

+18
-30
lines changed

3 files changed

+18
-30
lines changed

.github/workflows/test.yml

Lines changed: 8 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -15,22 +15,17 @@ jobs:
1515

1616
steps:
1717
- uses: actions/checkout@v4
18-
- uses: actions/cache@v4
19-
with:
20-
path: ~/.ccache
21-
key: ccache-reset-${{ github.sha }}
22-
restore-keys: ccache-reset-
23-
- name: Set up Python 3.11
18+
- name: Set up Python 3.13
2419
uses: actions/setup-python@v5
2520
with:
26-
python-version: '3.11'
21+
python-version: '3.13'
2722
- name: Add conda to system path
2823
run: |
2924
# $CONDA is an environment variable pointing to the root of the miniconda directory
3025
echo $CONDA/bin >> $GITHUB_PATH
3126
- name: Install dependencies with conda
3227
run: |
33-
conda install --solver=classic -y python=3.11
28+
conda install --solver=classic -y python=3.13
3429
conda env update --solver=classic --file conda/environment.yml --name base
3530
conda install --solver=classic flake8
3631
- name: Run flake8
@@ -51,7 +46,6 @@ jobs:
5146
uses: actions/setup-python@v5
5247
with:
5348
python-version: '3.10'
54-
cache: 'pip'
5549
- name: Install requirements
5650
run: pip install -r requirements.txt
5751
- name: Run tests
@@ -64,23 +58,18 @@ jobs:
6458

6559
steps:
6660
- uses: actions/checkout@v4
67-
- uses: actions/cache@v4
68-
with:
69-
path: ~/.ccache
70-
key: ccache-reset-${{ github.sha }}
71-
restore-keys: ccache-reset-
72-
- name: Set up Python 3.11
61+
- name: Set up Python 3.13
7362
uses: actions/setup-python@v5
7463
with:
75-
python-version: '3.11'
64+
python-version: '3.13'
7665
- name: Add conda to system path
7766
uses: conda-incubator/setup-miniconda@v3
7867
with:
7968
activate-environment:
8069
- name: Install dependencies with conda
8170
run: |
8271
echo $CONDA/bin >> $GITHUB_PATH
83-
conda install -y python=3.11
72+
conda install -y python=3.13
8473
conda env update --file conda/environment.yml --name base
8574
- name: Run tests
8675
run: |
@@ -91,11 +80,10 @@ jobs:
9180
runs-on: macos-latest
9281
steps:
9382
- uses: actions/checkout@v4
94-
- name: Set up Python 3.9
83+
- name: Set up Python 3.13
9584
uses: actions/setup-python@v5
9685
with:
97-
python-version: '3.9'
98-
cache: 'pip'
86+
python-version: '3.13'
9987
- name: Install requirements
10088
run: pip install -r requirements.txt
10189
- name: Run tests

conda/environment.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,12 @@ channels:
33
- conda-forge
44
- defaults
55
dependencies:
6-
- python=3.11
6+
- python=3.13
77
- numpy
88
- pandas
9-
- parmed
10-
- gitpython
11-
- pyyaml
9+
- ParmEd
10+
- GitPython
11+
- PyYAML
1212
- scipy
1313
- h5py
1414
- pytables

requirements.txt

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
ParmEd>=3.4.3
2-
numpy>=1.26.2
3-
pandas>=2.1.3
4-
pyyaml>=6.0.1
5-
gitpython>=3.1.43
1+
GitPython>=3.1.44
62
h5py>=3.11.0
7-
scipy>=1.13.0
3+
numpy>=2.2.2
4+
pandas>=2.2.3
5+
ParmEd>=4.2.2
6+
PyYAML>=6.0.2
7+
scipy>=1.15.1
88
tables>=3.9.2

0 commit comments

Comments
 (0)