Skip to content

Commit b249e95

Browse files
committed
CI: update workflows to Python 3.13 and align deps with setup.py
1 parent 75dce10 commit b249e95

4 files changed

Lines changed: 21 additions & 20 deletions

.github/workflows/python-package-conda-linux-py38.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,19 +10,19 @@ jobs:
1010

1111
steps:
1212
- uses: actions/checkout@v2
13-
- name: Set up Python 3.10.10
14-
uses: actions/setup-python@v2
13+
- name: Set up Python 3.13
14+
uses: actions/setup-python@v4
1515
with:
16-
python-version: 3.10.10
16+
python-version: 3.13
1717
- name: Add conda to system path
1818
run: |
1919
# $CONDA is an environment variable pointing to the root of the miniconda directory
2020
echo $CONDA/bin >> $GITHUB_PATH
2121
- name: Install dependencies
2222
run: |
2323
python --version
24-
conda install python=3.10.10
25-
conda install -c conda-forge netcdf4=1.6.1
24+
conda install python=3.13
25+
conda install -c conda-forge netcdf4
2626
conda install -c conda-forge xrd_simulator
2727
- name: Lint with flake8
2828
run: |

.github/workflows/python-package-conda-macos-py38.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,19 +11,19 @@ jobs:
1111

1212
steps:
1313
- uses: actions/checkout@v2
14-
- name: Set up Python 3.10.0
15-
uses: actions/setup-python@v2
14+
- name: Set up Python 3.13
15+
uses: actions/setup-python@v4
1616
with:
17-
python-version: 3.10.0
17+
python-version: 3.13
1818
- name: Add conda to system path
1919
run: |
2020
# $CONDA is an environment variable pointing to the root of the miniconda directory
2121
echo $CONDA/bin >> $GITHUB_PATH
2222
- name: Install dependencies
2323
run: |
2424
python --version
25-
sudo conda install python=3.10.0
26-
sudo conda install -c conda-forge xrd_simulator
25+
conda install python=3.13
26+
conda install -c conda-forge xrd_simulator
2727
- name: Lint with flake8
2828
run: |
2929
sudo conda install flake8

.github/workflows/python-package-run-tests-linux-py38.yml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,19 +14,20 @@ jobs:
1414

1515
steps:
1616
- uses: actions/checkout@v2
17-
- name: Set up Python 3.10.10
18-
uses: actions/setup-python@v2
17+
- name: Set up Python 3.13
18+
uses: actions/setup-python@v4
1919
with:
20-
python-version: 3.10.10
20+
python-version: 3.13
2121
- name: Add conda to system path
2222
run: |
2323
# $CONDA is an environment variable pointing to the root of the miniconda directory
2424
echo $CONDA/bin >> $GITHUB_PATH
2525
- name: Install dependencies
2626
run: |
2727
python --version
28-
conda install python=3.10.10
29-
conda install -c conda-forge matplotlib numpy meshio pygalmesh scipy numba pycifrw dill xfab netcdf4=1.6.1 h5py
28+
# Use conda to install core scientific packages from conda-forge
29+
conda install python=3.13
30+
conda install -c conda-forge matplotlib numpy meshio pygalmesh scipy numba pycifrw dill xfab netcdf4 h5py meshpy pillow scikit-image pandas tifffile typing-extensions
3031
python -m pip install .
3132
- name: Lint with flake8
3233
run: |

.github/workflows/python-package-run-tests-macos-py38.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,19 +14,19 @@ jobs:
1414

1515
steps:
1616
- uses: actions/checkout@v2
17-
- name: Set up Python 3.10.0
18-
uses: actions/setup-python@v2
17+
- name: Set up Python 3.13
18+
uses: actions/setup-python@v4
1919
with:
20-
python-version: 3.10.0
20+
python-version: 3.13
2121
- name: Add conda to system path
2222
run: |
2323
# $CONDA is an environment variable pointing to the root of the miniconda directory
2424
echo $CONDA/bin >> $GITHUB_PATH
2525
- name: Install dependencies
2626
run: |
2727
python --version
28-
sudo conda install python=3.10.0
29-
sudo conda install -c conda-forge matplotlib numpy meshio pygalmesh scipy numba pycifrw dill xfab
28+
conda install python=3.13
29+
conda install -c conda-forge matplotlib numpy meshio pygalmesh scipy numba pycifrw dill xfab meshpy pillow scikit-image pandas tifffile typing-extensions
3030
python -m pip install .
3131
- name: Lint with flake8
3232
run: |

0 commit comments

Comments
 (0)