diff --git a/.github/dependabot.yml b/.github/dependabot.yml new file mode 100644 index 0000000..dfd0e30 --- /dev/null +++ b/.github/dependabot.yml @@ -0,0 +1,10 @@ +# Set update schedule for GitHub Actions + +version: 2 +updates: + + - package-ecosystem: "github-actions" + directory: "/" + schedule: + # Check for updates to GitHub Actions every week + interval: "weekly" diff --git a/.github/workflows/deploy.yaml b/.github/workflows/deploy.yaml index a546e80..1511067 100644 --- a/.github/workflows/deploy.yaml +++ b/.github/workflows/deploy.yaml @@ -22,7 +22,7 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v7 - name: testpypi_deploy uses: MDAnalysis/pypi-deployment@main @@ -45,7 +45,7 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v7 - name: pypi_deploy uses: MDAnalysis/pypi-deployment@main diff --git a/.github/workflows/docs.yaml b/.github/workflows/docs.yaml index ac33ba4..3251496 100644 --- a/.github/workflows/docs.yaml +++ b/.github/workflows/docs.yaml @@ -21,19 +21,19 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v7 with: fetch-depth: 0 - name: setup_miniconda - uses: conda-incubator/setup-miniconda@v2 + uses: conda-incubator/setup-miniconda@v4 with: python-version: 3.11 environment-file: docs/requirements.yaml auto-update-conda: true channel-priority: flexible channels: conda-forge - miniforge-variant: Mambaforge + miniforge-version: latest use-mamba: true - name: Build and install package @@ -46,7 +46,7 @@ jobs: cd docs && sphinx-build -b html source build - name: deploy docs - uses: peaceiris/actions-gh-pages@v3 + uses: peaceiris/actions-gh-pages@v4 if: github.event_name != 'pull_request' with: github_token: ${{ secrets.GITHUB_TOKEN }} @@ -54,7 +54,7 @@ jobs: user_name: 'github-actions' user_email: 'github-action@users.noreply.github.com' - - uses: actions/upload-artifact@v3 + - uses: actions/upload-artifact@v7 if: github.event_name == 'pull_request' with: name: pr_docs diff --git a/.github/workflows/gh-ci.yaml b/.github/workflows/gh-ci.yaml index 7d6d18e..d77b279 100644 --- a/.github/workflows/gh-ci.yaml +++ b/.github/workflows/gh-ci.yaml @@ -30,17 +30,17 @@ jobs: fail-fast: false matrix: os: [macOS-latest, ubuntu-latest, windows-latest] - python-version: ["3.10", "3.11", "3.12", "3.13"] + python-version: ["3.11", "3.12", "3.13", "3.14"] mdanalysis-version: ["latest", "develop"] # Manually exclude any combinations of the test matrix that can't be run - exclude: + #exclude: # The latest release of MDAnalysis only supports up to Python 3.11 # so we exclude 3.12 from the test matrix (issue #20) - - python-version: "3.13" - mdanalysis-version: "latest" + #- python-version: "3.12" + # mdanalysis-version: "latest" steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v7 - name: Build information run: | @@ -49,7 +49,7 @@ jobs: ulimit -a - name: setup_micromamba - uses: mamba-org/setup-micromamba@v2 + uses: mamba-org/setup-micromamba@v3 with: environment-file: devtools/conda-envs/test_env.yaml environment-name: pathsimanalysis-test @@ -61,7 +61,8 @@ jobs: - conda-forge - name: Install MDAnalysis version - uses: MDAnalysis/install-mdanalysis@main + #uses: MDAnalysis/install-mdanalysis@main + uses: MDAnalysis/install-mdanalysis@44cf01496714f057c094d1e9bad304bf91fc1b17 with: version: ${{ matrix.mdanalysis-version }} install-tests: true @@ -88,7 +89,7 @@ jobs: - name: codecov if: github.repository == 'MDAnalysis/pathsimanalysis' && github.event_name != 'schedule' - uses: codecov/codecov-action@v4 + uses: codecov/codecov-action@v7 with: file: coverage.xml name: codecov-${{ matrix.os }}-py${{ matrix.python-version }} @@ -101,10 +102,10 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v7 - name: Set up Python - uses: actions/setup-python@v4 + uses: actions/setup-python@v6 with: python-version: "3.11" @@ -126,10 +127,10 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v7 - name: Set up Python - uses: actions/setup-python@v4 + uses: actions/setup-python@v6 with: python-version: "3.11" diff --git a/.readthedocs.yaml b/.readthedocs.yaml index 0037358..b2b2f8e 100644 --- a/.readthedocs.yaml +++ b/.readthedocs.yaml @@ -6,7 +6,7 @@ sphinx: build: os: ubuntu-lts-latest tools: - python: "mambaforge-4.10" + python: "miniforge3-latest" python: install: diff --git a/devtools/conda-envs/test_env.yaml b/devtools/conda-envs/test_env.yaml index 520fe92..f0fff21 100644 --- a/devtools/conda-envs/test_env.yaml +++ b/devtools/conda-envs/test_env.yaml @@ -1,7 +1,7 @@ name: pathsimanalysis-test channels: - conda-forge - - defaults + - nodefaults dependencies: # Base depends - python diff --git a/pyproject.toml b/pyproject.toml index 89b5aa3..ea4f11f 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -22,10 +22,10 @@ classifiers = [ "License :: OSI Approved :: GNU Lesser General Public License v2 or later (LGPLv2+)", "Programming Language :: C", "Programming Language :: Python", - "Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", "Programming Language :: Python :: 3.13", + "Programming Language :: Python :: 3.14", "Topic :: Scientific/Engineering", "Topic :: Software Development :: Libraries :: Python Modules", ]