Skip to content

Commit 998254a

Browse files
authored
Merge pull request #83 from Becksteinlab/update-gha
updated actions in workflows
2 parents 28029bb + bbd3711 commit 998254a

5 files changed

Lines changed: 32 additions & 30 deletions

File tree

.github/workflows/docs.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,14 +21,14 @@ jobs:
2121
runs-on: ubuntu-latest
2222

2323
steps:
24-
- uses: actions/checkout@v4
24+
- uses: actions/checkout@v7
2525
with:
2626
fetch-depth: 0
2727

2828
- name: setup_miniconda
29-
uses: conda-incubator/setup-miniconda@v3
29+
uses: conda-incubator/setup-miniconda@v4
3030
with:
31-
python-version: 3.11
31+
python-version: 3.14
3232
environment-file: docs/requirements.yaml
3333
add-pip-as-python-dependency: true
3434
architecture: x64
@@ -56,7 +56,7 @@ jobs:
5656
5757
- name: deploy docs
5858
if: github.event_name != 'pull_request'
59-
uses: peaceiris/actions-gh-pages@v4
59+
uses: peaceiris/actions-gh-pages@v4.1.0
6060
with:
6161
github_token: ${{ secrets.GITHUB_TOKEN }}
6262
publish_dir: ./docs/html

.github/workflows/gh-ci.yaml

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -24,17 +24,17 @@ jobs:
2424
strategy:
2525
fail-fast: false
2626
matrix:
27-
os: [macOS-latest, ubuntu-latest, windows-latest]
28-
python-version: ["3.10", "3.11", "3.12"]
27+
os: [macOS-latest, ubuntu-latest] # ignore windows-latest for now
28+
python-version: ["3.11", "3.12", "3.13", "3.14"]
2929
mdanalysis-version: ["latest", "develop"]
3030
# Manually exclude any combinations of the test matrix that can't be run
31-
exclude:
31+
#exclude:
3232
# The latest release of MDAnalysis only supports up to Python 3.11
3333
# so we exclude 3.12 from the test matrix (issue #69)
34-
- python-version: "3.12"
35-
mdanalysis-version: "latest"
34+
#- python-version: "3.12"
35+
# mdanalysis-version: "latest"
3636
steps:
37-
- uses: actions/checkout@v4
37+
- uses: actions/checkout@v7
3838
with:
3939
fetch-depth: 0
4040

@@ -45,7 +45,7 @@ jobs:
4545
ulimit -a
4646
4747
- name: Install conda dependencies
48-
uses: conda-incubator/setup-miniconda@v3
48+
uses: conda-incubator/setup-miniconda@v4
4949
with:
5050
python-version: ${{ matrix.python-version }}
5151
environment-file: devtools/environment.yml
@@ -93,10 +93,10 @@ jobs:
9393
- name: codecov
9494
if: ${{ github.repository == 'Becksteinlab/propkatraj'
9595
&& github.event_name != 'schedule' }}
96-
uses: codecov/codecov-action@v4
96+
uses: codecov/codecov-action@v7
9797
with:
9898
token: ${{ secrets.CODECOV_TOKEN }}
99-
file: coverage.xml
99+
files: coverage.xml
100100
fail_ci_if_error: True
101101
verbose: True
102102

@@ -105,10 +105,10 @@ jobs:
105105
runs-on: ubuntu-latest
106106

107107
steps:
108-
- uses: actions/checkout@v4
108+
- uses: actions/checkout@v7
109109

110110
- name: Set up Python
111-
uses: actions/setup-python@v5
111+
uses: actions/setup-python@v6
112112
with:
113113
python-version: "3.11"
114114

@@ -128,10 +128,10 @@ jobs:
128128
runs-on: ubuntu-latest
129129

130130
steps:
131-
- uses: actions/checkout@v4
131+
- uses: actions/checkout@v7
132132

133133
- name: Set up Python
134-
uses: actions/setup-python@v5
134+
uses: actions/setup-python@v6
135135
with:
136136
python-version: "3.11"
137137

docs/requirements.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,8 @@ name: propkatrajdocs
22
channels:
33
- conda-forge
44
dependencies:
5-
- python >=3.10
5+
- python >=3.11
6+
- setuptools>=61.2,<81
67
- pip
78
# propkatraj dependencies
89
- MDAnalysis >=2.0.0

pyproject.toml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,15 +25,17 @@ classifiers = [
2525
"License :: OSI Approved :: GNU General Public License v2 or later (GPLv2+)",
2626
"Programming Language :: C",
2727
"Programming Language :: Python",
28-
"Programming Language :: Python :: 3.10",
2928
"Programming Language :: Python :: 3.11",
30-
"Programming Language :: Python :: 3.12",
29+
"Programming Language :: Python :: 3.12",
30+
"Programming Language :: Python :: 3.13",
31+
"Programming Language :: Python :: 3.14",
3132
"Topic :: Scientific/Engineering",
3233
"Topic :: Software Development :: Libraries :: Python Modules",
3334
]
3435
readme = "README.md"
35-
requires-python = ">=3.10"
36+
requires-python = ">=3.11"
3637
dependencies = [
38+
"setuptools >= 61.2,<81", # pkg_resources are currently required and were removed in 81.0.0, see gh-80
3739
"MDAnalysis>=2.1.0",
3840
"numpy",
3941
"pandas",

readthedocs.yaml

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -3,22 +3,21 @@
33
version: 2
44

55
build:
6-
os: ubuntu-22.04
6+
os: ubuntu-24.04
77
tools:
8-
python: "3.11"
8+
# Miniforge provides mamba; Python version comes from docs/requirements.yaml
9+
python: miniforge3-latest
910

10-
# Build documentation in the docs/ directory with Sphinx
1111
sphinx:
12-
configuration: docs/sphinx/conf.py
12+
configuration: docs/sphinx/conf.py
1313

14-
# Optionally build your docs in additional formats such as PDF
1514
formats:
16-
- pdf
15+
- pdf
16+
17+
conda:
18+
environment: docs/requirements.yaml
1719

1820
python:
1921
install:
2022
- method: pip
2123
path: .
22-
23-
conda:
24-
environment: docs/requirements.yaml

0 commit comments

Comments
 (0)