From 36badb932edbaad75851463b006cab58ea40ba49 Mon Sep 17 00:00:00 2001 From: Irfan Alibay Date: Fri, 23 Oct 2026 19:15:56 +0100 Subject: [PATCH 01/10] Update key dependencies for SPEC0 --- .github/workflows/gh-ci.yaml | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/.github/workflows/gh-ci.yaml b/.github/workflows/gh-ci.yaml index 99894ca434..17c59c1a43 100644 --- a/.github/workflows/gh-ci.yaml +++ b/.github/workflows/gh-ci.yaml @@ -28,7 +28,7 @@ jobs: fail-fast: false matrix: os: [ubuntu-latest, ] - python-version: ["3.11", "3.12", "3.13"] + python-version: ["3.12", "3.13", "3.14", "3.15"] full-deps: [true, ] codecov: [true, ] cython: ["cython<3.1", ] @@ -37,40 +37,40 @@ jobs: # and cython >=3.1 to deal temporarily with # keeping on testing Cython whilst issue #5057 # is not fixed - - name: python_314_nocov + - name: python_315_nocov os: ubuntu-latest - python-version: "3.14" + python-version: "3.15" full-deps: false codecov: false cython: "cython>=3.1" - - name: python_311_nocov + - name: python_312_nocov os: ubuntu-latest - python-version: "3.11" + python-version: "3.12" full-deps: false codecov: false cython: "cython>=3.1" - - name: macOS_14_arm64_py313 - os: macOS-14 - python-version: "3.13" + - name: macos_arm64_py314 + os: macos-latest + python-version: "3.14" full-deps: false codecov: true cython: "cython<3.1" - name: ubuntu_arm - os: ubuntu-24.04-arm - python-version: "3.13" + os: ubuntu-latest-arm + python-version: "3.14" full-deps: false codecov: false cython: "cython>3.1" - name: numpy_min os: ubuntu-latest - python-version: "3.11" + python-version: "3.12" full-deps: false codecov: true - numpy: numpy=1.26.0 + numpy: numpy=2.0 cython: "cython<3.1" - name: asv_check os: ubuntu-latest - python-version: "3.11" + python-version: "3.14" full-deps: true codecov: false extra-pip-deps: asv From 1766c1ba3095accac277ede43cca90acb282d137 Mon Sep 17 00:00:00 2001 From: IAlibay Date: Mon, 16 Nov 2026 09:49:28 +0000 Subject: [PATCH 02/10] Some updates --- .github/workflows/deploy.yaml | 6 +++--- .github/workflows/gh-ci-cron.yaml | 4 ++-- package/pyproject.toml | 20 ++++++++++---------- testsuite/pyproject.toml | 8 ++++---- 4 files changed, 19 insertions(+), 19 deletions(-) diff --git a/.github/workflows/deploy.yaml b/.github/workflows/deploy.yaml index 8819726e6a..3405ee75bf 100644 --- a/.github/workflows/deploy.yaml +++ b/.github/workflows/deploy.yaml @@ -43,7 +43,7 @@ jobs: - [windows-2025, win, AMD64] - [macos-15, macosx, arm64] - [macos-15-intel, macosx, x86_64] - python: ["cp311", "cp312", "cp313", "cp314"] + python: ["cp312", "cp313", "cp314", "cp315"] defaults: run: working-directory: ./package @@ -248,7 +248,7 @@ jobs: fail-fast: false matrix: os: [ubuntu-latest, macos-15, macos-15-intel, windows-latest] - python-version: ["3.11", "3.12", "3.13", "3.14"] + python-version: ["3.12", "3.13", "3.14", "3.15"] type: ["FULL", "MIN"] exclude: # Multiple deps don't like windows @@ -257,7 +257,7 @@ jobs: type: "FULL" - os: "macos-latest" type: "FULL" - - python-version: "3.14" + - python-version: "3.15" type: "FULL" env: MPLBACKEND: agg diff --git a/.github/workflows/gh-ci-cron.yaml b/.github/workflows/gh-ci-cron.yaml index 76f3b518f3..251f191ada 100644 --- a/.github/workflows/gh-ci-cron.yaml +++ b/.github/workflows/gh-ci-cron.yaml @@ -55,7 +55,7 @@ jobs: python -m pip install \ "cython>=0.28" \ packaging \ - "setuptools>69.4" \ + "setuptools>=75.0" \ wheel \ "griddataformats>=0.4.0" \ "mmtf-python>=1.0" \ @@ -103,7 +103,7 @@ jobs: with: environment-name: mda create-args: >- - python=3.11 + python=3.15 pip condarc: | channels: diff --git a/package/pyproject.toml b/package/pyproject.toml index 81be6269e4..25e7ed4bd2 100644 --- a/package/pyproject.toml +++ b/package/pyproject.toml @@ -9,9 +9,9 @@ requires = [ # Note that building against numpy 1.x works fine too - users and # redistributors can do this by installing the numpy version they like and # disabling build isolation. - "numpy>=2.0.0", + "numpy>=2.2.0", # Set to minimum version of setuptools that allows pyproject.toml - "setuptools >= 40.9.0", + "setuptools >= 75.0.0", "wheel", ] build-backend = "setuptools.build_meta" @@ -27,15 +27,15 @@ authors = [ maintainers = [ {name = 'MDAnalysis Core Developers', email = 'mdanalysis@numfocus.org'} ] -requires-python = ">=3.11" +requires-python = ">=3.12" dependencies = [ - 'numpy>=1.26.0', + 'numpy>=2.2.0', 'GridDataFormats>=0.4.0', 'mmtf-python>=1.0.0', - 'joblib>=0.12', - 'scipy>=1.5.0', - 'matplotlib>=1.5.1', - 'tqdm>=4.43.0', + 'joblib>=1.4.0', + 'scipy>=1.16.0', + 'matplotlib>=3.10.0', + 'tqdm>=4.67.0', 'threadpoolctl', 'packaging', 'filelock', @@ -55,10 +55,10 @@ classifiers = [ 'Operating System :: MacOS :: MacOS X', 'Operating System :: Microsoft :: Windows', 'Programming Language :: Python', - 'Programming Language :: Python :: 3.11', 'Programming Language :: Python :: 3.12', 'Programming Language :: Python :: 3.13', 'Programming Language :: Python :: 3.14', + 'Programming Language :: Python :: 3.15', 'Programming Language :: C', 'Topic :: Scientific/Engineering', 'Topic :: Scientific/Engineering :: Bio-Informatics', @@ -128,7 +128,7 @@ MDAnalysis = [ [tool.black] line-length = 79 -target-version = ['py311', 'py312', 'py313'] +target-version = ['py312', 'py313', 'py314', 'py315'] extend-exclude = ''' ( __pycache__ diff --git a/testsuite/pyproject.toml b/testsuite/pyproject.toml index a1ced596d8..4d2cef94d5 100644 --- a/testsuite/pyproject.toml +++ b/testsuite/pyproject.toml @@ -1,6 +1,6 @@ [build-system] requires = [ - "setuptools >= 40.9.0", + "setuptools >= 75.0.0", ] build-backend = "setuptools.build_meta" @@ -24,10 +24,10 @@ classifiers = [ "Operating System :: Microsoft :: Windows", "Programming Language :: Python", "Programming Language :: Python :: 3", - "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", "Programming Language :: Python :: 3.13", "Programming Language :: Python :: 3.14", + "Programming Language :: Python :: 3.15", "Programming Language :: C", "Topic :: Scientific/Engineering", "Topic :: Scientific/Engineering :: Bio-Informatics", @@ -35,7 +35,7 @@ classifiers = [ "Topic :: Software Development :: Libraries :: Python Modules", ] readme = {file = "README", content-type = "text/x-rst"} -requires-python = ">=3.11" +requires-python = ">=3.12" dynamic = ["version", "dependencies"] [project.urls] @@ -158,7 +158,7 @@ filterwarnings = [ [tool.black] line-length = 79 -target-version = ['py311', 'py312', 'py313'] +target-version = ['py312', 'py313', 'py314', 'py315'] extend-exclude = ''' ( testsuite/MDAnalysisTests/datafiles\.py From 0f44cb6f940d0ffe01ca15563e79e8f1a3f3820a Mon Sep 17 00:00:00 2001 From: IAlibay Date: Mon, 16 Nov 2026 09:54:22 +0000 Subject: [PATCH 03/10] Updating various things for new python & numpy range --- .github/workflows/gh-ci-cron.yaml | 8 ++++---- .github/workflows/gh-ci.yaml | 6 +++--- .github/workflows/linters.yaml | 6 +++--- 3 files changed, 10 insertions(+), 10 deletions(-) diff --git a/.github/workflows/gh-ci-cron.yaml b/.github/workflows/gh-ci-cron.yaml index e5bf4c9563..2b6db3bf06 100644 --- a/.github/workflows/gh-ci-cron.yaml +++ b/.github/workflows/gh-ci-cron.yaml @@ -188,7 +188,7 @@ jobs: strategy: fail-fast: false matrix: - python-version: ["3.11", "3.12", "3.13", "3.14"] + python-version: ["3.12", "3.13", "3.14", "3.15"] steps: - uses: actions/checkout@v6 @@ -232,7 +232,7 @@ jobs: # Stick to macos intel because some of our # optional deps don't support arm64 (i.e. macos-latest) os: [ubuntu-latest, macos-26-intel] - python-version: ["3.10", "3.11", "3.12", "3.13"] + python-version: ["3.11", "3.12", "3.13", "3.14"] steps: - uses: actions/checkout@v6 @@ -276,7 +276,7 @@ jobs: fail-fast: false matrix: os: [ubuntu-latest, macos-latest, macos-latest, windows-latest] - python-version: ["3.10", "3.11", "3.12", "3.13"] + python-version: ["3.11", "3.12", "3.13", "3.14"] wheels: ['true', 'false'] steps: # Checkout to have access to local actions (i.e. setup-os) @@ -295,7 +295,7 @@ jobs: - name: install_deps shell: bash run: | - pip install pytest-xdist pytest-timeout "numpy<2.3" "cython<3.1" wheel "setuptools>=40.9.0" packaging + pip install pytest-xdist pytest-timeout numpy cython wheel "setuptools>=40.9.0" packaging - name: install_mdanalysis shell: bash diff --git a/.github/workflows/gh-ci.yaml b/.github/workflows/gh-ci.yaml index 17c59c1a43..88cb0cba55 100644 --- a/.github/workflows/gh-ci.yaml +++ b/.github/workflows/gh-ci.yaml @@ -66,7 +66,7 @@ jobs: python-version: "3.12" full-deps: false codecov: true - numpy: numpy=2.0 + numpy: numpy=2.2.0 cython: "cython<3.1" - name: asv_check os: ubuntu-latest @@ -169,7 +169,7 @@ jobs: with: environment-name: mda create-args: >- - python=3.11 + python=3.12 pip condarc: | channels: @@ -263,7 +263,7 @@ jobs: - uses: actions/setup-python@v6 with: - python-version: 3.11 + python-version: 3.12 - name: install_deps run: | diff --git a/.github/workflows/linters.yaml b/.github/workflows/linters.yaml index 34315e3404..2a632a42f7 100644 --- a/.github/workflows/linters.yaml +++ b/.github/workflows/linters.yaml @@ -32,7 +32,7 @@ jobs: - uses: actions/setup-python@v6 with: - python-version: "3.11" + python-version: "3.12" - uses: psf/black@stable with: @@ -56,7 +56,7 @@ jobs: - uses: actions/setup-python@v6 with: - python-version: "3.11" + python-version: "3.12" - name: install run: | @@ -81,7 +81,7 @@ jobs: with: environment-name: mda create-args: >- - python=3.11 + python=3.12 pip condarc: | channels: From 05c58c82e316ddf42a59947b621d2a30370d308b Mon Sep 17 00:00:00 2001 From: IAlibay Date: Mon, 16 Nov 2026 09:55:19 +0000 Subject: [PATCH 04/10] fix for dependabot alert --- .github/workflows/deploy.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/deploy.yaml b/.github/workflows/deploy.yaml index e2273b25a9..9764cacd8f 100644 --- a/.github/workflows/deploy.yaml +++ b/.github/workflows/deploy.yaml @@ -147,7 +147,7 @@ jobs: mv dist/mdanalysistests-* testsuite/dist - name: upload_source_and_wheels - uses: pypa/gh-action-pypi-publish@v1.14.2 + uses: pypa/gh-action-pypi-publish@v1.14.3 with: skip_existing: true repository_url: https://test.pypi.org/legacy/ From a2e3645af5612104c418c84bd45af485133e558a Mon Sep 17 00:00:00 2001 From: IAlibay Date: Mon, 16 Nov 2026 09:57:22 +0000 Subject: [PATCH 05/10] bump up azure pipelines --- azure-pipelines.yml | 32 ++++++++++++++++---------------- 1 file changed, 16 insertions(+), 16 deletions(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index f48ea4ba74..2cae1d4cda 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -21,39 +21,39 @@ jobs: MPLBACKEND: agg strategy: matrix: - Win-Python311-64bit-full: - PYTHON_VERSION: '3.11' + Win-Python312-64bit-full: + PYTHON_VERSION: '3.12' PYTHON_ARCH: 'x64' BUILD_TYPE: 'normal' imageName: 'windows-latest' - Win-Python313-64bit-full: - PYTHON_VERSION: '3.13' + Win-Python314-64bit-full: + PYTHON_VERSION: '3.14' PYTHON_ARCH: 'x64' BUILD_TYPE: 'normal' imageName: 'windows-latest' - Win-Python313-64bit-full-wheel: - PYTHON_VERSION: '3.13' + Win-Python314-64bit-full-wheel: + PYTHON_VERSION: '3.14' PYTHON_ARCH: 'x64' BUILD_TYPE: 'wheel' - NUMPY_MIN: '2.1.0' + NUMPY_MIN: '2.2.0' imageName: 'windows-latest' - Win-Python311-64bit-full-wheel: - PYTHON_VERSION: '3.11' + Win-Python312-64bit-full-wheel: + PYTHON_VERSION: '3.12' PYTHON_ARCH: 'x64' BUILD_TYPE: 'wheel' - NUMPY_MIN: '1.26.0' + NUMPY_MIN: '2.2.0' imageName: 'windows-latest' - Linux-Python313-64bit-full-wheel: - PYTHON_VERSION: '3.13' + Linux-Python314-64bit-full-wheel: + PYTHON_VERSION: '3.14' PYTHON_ARCH: 'x64' BUILD_TYPE: 'wheel' - NUMPY_MIN: '2.1.0' + NUMPY_MIN: '2.2.0' imageName: 'ubuntu-latest' - Linux-Python311-64bit-full-wheel: - PYTHON_VERSION: '3.11' + Linux-Python312-64bit-full-wheel: + PYTHON_VERSION: '3.12' PYTHON_ARCH: 'x64' BUILD_TYPE: 'wheel' - NUMPY_MIN: '1.26.0' + NUMPY_MIN: '2.2.0' imageName: 'ubuntu-latest' pool: vmImage: $(imageName) From bd8b32ba39962c2427c2025f51325422503db7dc Mon Sep 17 00:00:00 2001 From: IAlibay Date: Mon, 16 Nov 2026 10:02:46 +0000 Subject: [PATCH 06/10] Update versions and switch to hashes (before switching to lockfile) --- .github/workflows/deploy.yaml | 34 +++++++++++++++---------------- .github/workflows/gh-ci-cron.yaml | 24 +++++++++++----------- .github/workflows/gh-ci.yaml | 14 ++++++------- .github/workflows/labels.yaml | 2 +- .github/workflows/linters.yaml | 16 +++++++-------- 5 files changed, 45 insertions(+), 45 deletions(-) diff --git a/.github/workflows/deploy.yaml b/.github/workflows/deploy.yaml index 9764cacd8f..f409a82f54 100644 --- a/.github/workflows/deploy.yaml +++ b/.github/workflows/deploy.yaml @@ -48,12 +48,12 @@ jobs: run: working-directory: ./package steps: - - uses: actions/checkout@v7 + - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 with: fetch-depth: 0 - name: Build wheels - uses: pypa/cibuildwheel@b9e566a2b284570af229f6c2a33673410d0389a3 # v4.3.4 + uses: pypa/cibuildwheel@f9b966cfadf4109556cadc5bb39ddb72d0ce664e # v4.3.5 with: package-dir: package env: @@ -65,7 +65,7 @@ jobs: if: | (github.event_name == 'push' && startsWith(github.ref, 'refs/tags/package')) || (github.event_name == 'release' && github.event.action == 'published') - uses: actions/upload-artifact@v7 + uses: actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9 # v7.0.2 with: name: wheel-${{ matrix.buildplat[0] }}-${{ matrix.python }} path: wheelhouse/*.whl @@ -80,7 +80,7 @@ jobs: run: working-directory: ./package steps: - - uses: actions/checkout@v7 + - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 with: fetch-depth: 0 @@ -91,7 +91,7 @@ jobs: if: | (github.event_name == 'push' && startsWith(github.ref, 'refs/tags/package')) || (github.event_name == 'release' && github.event.action == 'published') - uses: actions/upload-artifact@v7 + uses: actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9 # v7.0.2 with: name: sdist path: package/dist/*.tar.gz @@ -106,7 +106,7 @@ jobs: run: working-directory: ./testsuite steps: - - uses: actions/checkout@v6 + - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 with: fetch-depth: 0 @@ -117,7 +117,7 @@ jobs: if: | (github.event_name == 'push' && startsWith(github.ref, 'refs/tags/package')) || (github.event_name == 'release' && github.event.action == 'published') - uses: actions/upload-artifact@v7 + uses: actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9 # v7.0.2 with: name: sdist_tests path: testsuite/dist/*.tar.gz @@ -136,7 +136,7 @@ jobs: runs-on: ubuntu-latest needs: [build_wheels, build_sdist, build_sdist_tests] steps: - - uses: actions/download-artifact@v8 + - uses: actions/download-artifact@9000827ccba6bdab643e8b6fd33ac0654aef8333 # v8.0.2 with: path: dist merge-multiple: true @@ -147,7 +147,7 @@ jobs: mv dist/mdanalysistests-* testsuite/dist - name: upload_source_and_wheels - uses: pypa/gh-action-pypi-publish@v1.14.3 + uses: pypa/gh-action-pypi-publish@7245906fb61fa33a13554f9d5fb856fe61758086 # v1.14.3 with: skip_existing: true repository_url: https://test.pypi.org/legacy/ @@ -165,7 +165,7 @@ jobs: runs-on: ubuntu-latest needs: [build_wheels, build_sdist, build_sdist_tests] steps: - - uses: actions/download-artifact@v8 + - uses: actions/download-artifact@9000827ccba6bdab643e8b6fd33ac0654aef8333 # v8.0.2 with: path: dist merge-multiple: true @@ -176,7 +176,7 @@ jobs: mv dist/mdanalysistests-* testsuite/dist - name: upload_tests - uses: pypa/gh-action-pypi-publish@v1.14.2 + uses: pypa/gh-action-pypi-publish@7245906fb61fa33a13554f9d5fb856fe61758086 # v1.14.3 with: packages_dir: testsuite/dist skip_existing: true @@ -195,7 +195,7 @@ jobs: runs-on: ubuntu-latest needs: [build_wheels, build_sdist, build_sdist_tests] steps: - - uses: actions/download-artifact@v8 + - uses: actions/download-artifact@9000827ccba6bdab643e8b6fd33ac0654aef8333 # v8.0.2 with: path: dist merge-multiple: true @@ -206,7 +206,7 @@ jobs: mv dist/mdanalysistests-* testsuite/dist - name: upload_source_and_wheels - uses: pypa/gh-action-pypi-publish@v1.14.2 + uses: pypa/gh-action-pypi-publish@7245906fb61fa33a13554f9d5fb856fe61758086 # v1.14.3 upload_pypi_mdanalysistests: if: | @@ -221,7 +221,7 @@ jobs: runs-on: ubuntu-latest needs: [build_wheels, build_sdist, build_sdist_tests] steps: - - uses: actions/download-artifact@v8 + - uses: actions/download-artifact@9000827ccba6bdab643e8b6fd33ac0654aef8333 # v8.0.2 with: path: dist merge-multiple: true @@ -232,7 +232,7 @@ jobs: mv dist/mdanalysistests-* testsuite/dist - name: upload_tests - uses: pypa/gh-action-pypi-publish@v1.14.2 + uses: pypa/gh-action-pypi-publish@7245906fb61fa33a13554f9d5fb856fe61758086 # v1.14.3 with: packages_dir: testsuite/dist @@ -263,10 +263,10 @@ jobs: MPLBACKEND: agg steps: - - uses: actions/checkout@v7 + - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 - name: setup_micromamba - uses: mamba-org/setup-micromamba@v3 + uses: mamba-org/setup-micromamba@f457c30a868e4760d3a6fcea5f25dc655b8edf39 # v3.2.1 with: environment-name: mda create-args: >- diff --git a/.github/workflows/gh-ci-cron.yaml b/.github/workflows/gh-ci-cron.yaml index 2b6db3bf06..27a0256f43 100644 --- a/.github/workflows/gh-ci-cron.yaml +++ b/.github/workflows/gh-ci-cron.yaml @@ -33,14 +33,14 @@ jobs: timeout-minutes: 60 steps: - - uses: actions/checkout@v6 + - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 - name: setup_os uses: ./.github/actions/setup-os with: os-type: "ubuntu" - - uses: actions/setup-python@v6 + - uses: actions/setup-python@6d4fd22b20465ccc0f7354476588e8df7c9ca0e0 # v7.1.0 # minimally install nightly wheels & core deps - name: nightly_wheels @@ -91,7 +91,7 @@ jobs: timeout-minutes: 60 steps: - - uses: actions/checkout@v6 + - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 - name: setup_os uses: ./.github/actions/setup-os @@ -99,7 +99,7 @@ jobs: os-type: "ubuntu" - name: setup_micromamba - uses: mamba-org/setup-micromamba@v2 + uses: mamba-org/setup-micromamba@f457c30a868e4760d3a6fcea5f25dc655b8edf39 # v3.2.1 with: environment-name: mda create-args: >- @@ -143,7 +143,7 @@ jobs: os: [ubuntu-22.04, macos-15] steps: - - uses: actions/checkout@v6 + - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 - name: setup_os uses: ./.github/actions/setup-os @@ -151,7 +151,7 @@ jobs: os-type: ${{ matrix.os }} - name: setup_micromamba - uses: mamba-org/setup-micromamba@v2 + uses: mamba-org/setup-micromamba@f457c30a868e4760d3a6fcea5f25dc655b8edf39 # v3.2.1 with: environment-name: mda create-args: >- @@ -190,14 +190,14 @@ jobs: matrix: python-version: ["3.12", "3.13", "3.14", "3.15"] steps: - - uses: actions/checkout@v6 + - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 - name: setup_os uses: ./.github/actions/setup-os with: os-type: "ubuntu" - - uses: actions/setup-python@v6 + - uses: actions/setup-python@6d4fd22b20465ccc0f7354476588e8df7c9ca0e0 # v7.1.0 with: python-version: ${{ matrix.python-version }} @@ -234,7 +234,7 @@ jobs: os: [ubuntu-latest, macos-26-intel] python-version: ["3.11", "3.12", "3.13", "3.14"] steps: - - uses: actions/checkout@v6 + - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 - name: setup_os uses: ./.github/actions/setup-os @@ -242,7 +242,7 @@ jobs: os-type: ${{ matrix.os }} - name: setup_micromamba - uses: mamba-org/setup-micromamba@v2 + uses: mamba-org/setup-micromamba@f457c30a868e4760d3a6fcea5f25dc655b8edf39 # v3.2.1 with: environment-name: mda create-args: >- @@ -280,7 +280,7 @@ jobs: wheels: ['true', 'false'] steps: # Checkout to have access to local actions (i.e. setup-os) - - uses: actions/checkout@v6 + - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 # We need this here in order to make sure we assign the correct compiler (i.e. clang for macos) - name: setup_os @@ -288,7 +288,7 @@ jobs: with: os-type: ${{ matrix.os }} - - uses: actions/setup-python@v6 + - uses: actions/setup-python@6d4fd22b20465ccc0f7354476588e8df7c9ca0e0 # v7.1.0 with: python-version: ${{ matrix.python-version }} diff --git a/.github/workflows/gh-ci.yaml b/.github/workflows/gh-ci.yaml index 88cb0cba55..a09ad10807 100644 --- a/.github/workflows/gh-ci.yaml +++ b/.github/workflows/gh-ci.yaml @@ -79,7 +79,7 @@ jobs: MPLBACKEND: agg steps: - - uses: actions/checkout@v6 + - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 - name: setup_os uses: ./.github/actions/setup-os @@ -87,7 +87,7 @@ jobs: os-type: ${{ matrix.os }} - name: setup_micromamba - uses: mamba-org/setup-micromamba@v2 + uses: mamba-org/setup-micromamba@f457c30a868e4760d3a6fcea5f25dc655b8edf39 # v3.2.1 with: environment-name: mda create-args: >- @@ -145,7 +145,7 @@ jobs: - name: codecov if: matrix.codecov - uses: codecov/codecov-action@v5 + uses: codecov/codecov-action@303a32d7a59b442fa8d48b6a1cc6825c09c847a5 # v7.1.1 with: token: ${{ secrets.CODECOV_TOKEN }} files: coverage.xml @@ -162,10 +162,10 @@ jobs: MPLBACKEND: agg steps: - - uses: actions/checkout@v6 + - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 - name: setup_micromamba - uses: mamba-org/setup-micromamba@v2 + uses: mamba-org/setup-micromamba@f457c30a868e4760d3a6fcea5f25dc655b8edf39 # v3.2.1 with: environment-name: mda create-args: >- @@ -259,9 +259,9 @@ jobs: timeout-minutes: 30 steps: - - uses: actions/checkout@v6 + - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 - - uses: actions/setup-python@v6 + - uses: actions/setup-python@6d4fd22b20465ccc0f7354476588e8df7c9ca0e0 # v7.1.0 with: python-version: 3.12 diff --git a/.github/workflows/labels.yaml b/.github/workflows/labels.yaml index 2ddec420fc..7c125fc8a3 100644 --- a/.github/workflows/labels.yaml +++ b/.github/workflows/labels.yaml @@ -10,7 +10,7 @@ jobs: runs-on: ubuntu-latest timeout-minutes: 10 steps: - - uses: actions/labeler@v6 + - uses: actions/labeler@bf12e9b00b37c5c0ca2b87b79b2daf7891dbda13 # v7.0.0 with: repo-token: "${{ secrets.GITHUB_TOKEN }}" configuration-path: ".github/pr_path_labeler.yml" diff --git a/.github/workflows/linters.yaml b/.github/workflows/linters.yaml index 2a632a42f7..c4ce77f27d 100644 --- a/.github/workflows/linters.yaml +++ b/.github/workflows/linters.yaml @@ -26,21 +26,21 @@ jobs: shell: bash steps: - - uses: actions/checkout@v6 + - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 with: fetch-depth: 0 - - uses: actions/setup-python@v6 + - uses: actions/setup-python@6d4fd22b20465ccc0f7354476588e8df7c9ca0e0 # v7.1.0 with: python-version: "3.12" - - uses: psf/black@stable + - uses: psf/black@258e7dbf348bc23cb70b8cdf693481c04634ebcc # 26.10.1 with: options: "--check" src: "./package" version: "~= 24.0" - - uses: psf/black@stable + - uses: psf/black@258e7dbf348bc23cb70b8cdf693481c04634ebcc # 26.10.1 with: options: "--check" src: "./testsuite" @@ -52,9 +52,9 @@ jobs: runs-on: ubuntu-latest timeout-minutes: 10 steps: - - uses: actions/checkout@v6 + - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 - - uses: actions/setup-python@v6 + - uses: actions/setup-python@6d4fd22b20465ccc0f7354476588e8df7c9ca0e0 # v7.1.0 with: python-version: "3.12" @@ -74,10 +74,10 @@ jobs: runs-on: ubuntu-latest timeout-minutes: 10 steps: - - uses: actions/checkout@v6 + - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 - name: setup_micromamba - uses: mamba-org/setup-micromamba@v2 + uses: mamba-org/setup-micromamba@f457c30a868e4760d3a6fcea5f25dc655b8edf39 # v3.2.1 with: environment-name: mda create-args: >- From ff21526cabbbab0d33f27ed55075368c7b13cf2f Mon Sep 17 00:00:00 2001 From: IAlibay Date: Mon, 16 Nov 2026 10:07:56 +0000 Subject: [PATCH 07/10] switch to a lockfile --- .github/workflows/deploy.yaml | 34 +++++++++++++++---------------- .github/workflows/gh-ci-cron.yaml | 24 +++++++++++----------- .github/workflows/gh-ci.yaml | 14 ++++++------- .github/workflows/labels.yaml | 2 +- .github/workflows/linters.yaml | 16 +++++++-------- 5 files changed, 45 insertions(+), 45 deletions(-) diff --git a/.github/workflows/deploy.yaml b/.github/workflows/deploy.yaml index f409a82f54..6dd2a998fd 100644 --- a/.github/workflows/deploy.yaml +++ b/.github/workflows/deploy.yaml @@ -48,12 +48,12 @@ jobs: run: working-directory: ./package steps: - - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 + - uses: actions/checkout@v7.0.1 with: fetch-depth: 0 - name: Build wheels - uses: pypa/cibuildwheel@f9b966cfadf4109556cadc5bb39ddb72d0ce664e # v4.3.5 + uses: pypa/cibuildwheel@v4.3.5 with: package-dir: package env: @@ -65,7 +65,7 @@ jobs: if: | (github.event_name == 'push' && startsWith(github.ref, 'refs/tags/package')) || (github.event_name == 'release' && github.event.action == 'published') - uses: actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9 # v7.0.2 + uses: actions/upload-artifact@v7.0.2 with: name: wheel-${{ matrix.buildplat[0] }}-${{ matrix.python }} path: wheelhouse/*.whl @@ -80,7 +80,7 @@ jobs: run: working-directory: ./package steps: - - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 + - uses: actions/checkout@v7.0.1 with: fetch-depth: 0 @@ -91,7 +91,7 @@ jobs: if: | (github.event_name == 'push' && startsWith(github.ref, 'refs/tags/package')) || (github.event_name == 'release' && github.event.action == 'published') - uses: actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9 # v7.0.2 + uses: actions/upload-artifact@v7.0.2 with: name: sdist path: package/dist/*.tar.gz @@ -106,7 +106,7 @@ jobs: run: working-directory: ./testsuite steps: - - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 + - uses: actions/checkout@v7.0.1 with: fetch-depth: 0 @@ -117,7 +117,7 @@ jobs: if: | (github.event_name == 'push' && startsWith(github.ref, 'refs/tags/package')) || (github.event_name == 'release' && github.event.action == 'published') - uses: actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9 # v7.0.2 + uses: actions/upload-artifact@v7.0.2 with: name: sdist_tests path: testsuite/dist/*.tar.gz @@ -136,7 +136,7 @@ jobs: runs-on: ubuntu-latest needs: [build_wheels, build_sdist, build_sdist_tests] steps: - - uses: actions/download-artifact@9000827ccba6bdab643e8b6fd33ac0654aef8333 # v8.0.2 + - uses: actions/download-artifact@v8.0.2 with: path: dist merge-multiple: true @@ -147,7 +147,7 @@ jobs: mv dist/mdanalysistests-* testsuite/dist - name: upload_source_and_wheels - uses: pypa/gh-action-pypi-publish@7245906fb61fa33a13554f9d5fb856fe61758086 # v1.14.3 + uses: pypa/gh-action-pypi-publish@v1.14.3 with: skip_existing: true repository_url: https://test.pypi.org/legacy/ @@ -165,7 +165,7 @@ jobs: runs-on: ubuntu-latest needs: [build_wheels, build_sdist, build_sdist_tests] steps: - - uses: actions/download-artifact@9000827ccba6bdab643e8b6fd33ac0654aef8333 # v8.0.2 + - uses: actions/download-artifact@v8.0.2 with: path: dist merge-multiple: true @@ -176,7 +176,7 @@ jobs: mv dist/mdanalysistests-* testsuite/dist - name: upload_tests - uses: pypa/gh-action-pypi-publish@7245906fb61fa33a13554f9d5fb856fe61758086 # v1.14.3 + uses: pypa/gh-action-pypi-publish@v1.14.3 with: packages_dir: testsuite/dist skip_existing: true @@ -195,7 +195,7 @@ jobs: runs-on: ubuntu-latest needs: [build_wheels, build_sdist, build_sdist_tests] steps: - - uses: actions/download-artifact@9000827ccba6bdab643e8b6fd33ac0654aef8333 # v8.0.2 + - uses: actions/download-artifact@v8.0.2 with: path: dist merge-multiple: true @@ -206,7 +206,7 @@ jobs: mv dist/mdanalysistests-* testsuite/dist - name: upload_source_and_wheels - uses: pypa/gh-action-pypi-publish@7245906fb61fa33a13554f9d5fb856fe61758086 # v1.14.3 + uses: pypa/gh-action-pypi-publish@v1.14.3 upload_pypi_mdanalysistests: if: | @@ -221,7 +221,7 @@ jobs: runs-on: ubuntu-latest needs: [build_wheels, build_sdist, build_sdist_tests] steps: - - uses: actions/download-artifact@9000827ccba6bdab643e8b6fd33ac0654aef8333 # v8.0.2 + - uses: actions/download-artifact@v8.0.2 with: path: dist merge-multiple: true @@ -232,7 +232,7 @@ jobs: mv dist/mdanalysistests-* testsuite/dist - name: upload_tests - uses: pypa/gh-action-pypi-publish@7245906fb61fa33a13554f9d5fb856fe61758086 # v1.14.3 + uses: pypa/gh-action-pypi-publish@v1.14.3 with: packages_dir: testsuite/dist @@ -263,10 +263,10 @@ jobs: MPLBACKEND: agg steps: - - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 + - uses: actions/checkout@v7.0.1 - name: setup_micromamba - uses: mamba-org/setup-micromamba@f457c30a868e4760d3a6fcea5f25dc655b8edf39 # v3.2.1 + uses: mamba-org/setup-micromamba@v3.2.1 with: environment-name: mda create-args: >- diff --git a/.github/workflows/gh-ci-cron.yaml b/.github/workflows/gh-ci-cron.yaml index 27a0256f43..108c0f79ed 100644 --- a/.github/workflows/gh-ci-cron.yaml +++ b/.github/workflows/gh-ci-cron.yaml @@ -33,14 +33,14 @@ jobs: timeout-minutes: 60 steps: - - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 + - uses: actions/checkout@v7.0.1 - name: setup_os uses: ./.github/actions/setup-os with: os-type: "ubuntu" - - uses: actions/setup-python@6d4fd22b20465ccc0f7354476588e8df7c9ca0e0 # v7.1.0 + - uses: actions/setup-python@v7.1.0 # minimally install nightly wheels & core deps - name: nightly_wheels @@ -91,7 +91,7 @@ jobs: timeout-minutes: 60 steps: - - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 + - uses: actions/checkout@v7.0.1 - name: setup_os uses: ./.github/actions/setup-os @@ -99,7 +99,7 @@ jobs: os-type: "ubuntu" - name: setup_micromamba - uses: mamba-org/setup-micromamba@f457c30a868e4760d3a6fcea5f25dc655b8edf39 # v3.2.1 + uses: mamba-org/setup-micromamba@v3.2.1 with: environment-name: mda create-args: >- @@ -143,7 +143,7 @@ jobs: os: [ubuntu-22.04, macos-15] steps: - - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 + - uses: actions/checkout@v7.0.1 - name: setup_os uses: ./.github/actions/setup-os @@ -151,7 +151,7 @@ jobs: os-type: ${{ matrix.os }} - name: setup_micromamba - uses: mamba-org/setup-micromamba@f457c30a868e4760d3a6fcea5f25dc655b8edf39 # v3.2.1 + uses: mamba-org/setup-micromamba@v3.2.1 with: environment-name: mda create-args: >- @@ -190,14 +190,14 @@ jobs: matrix: python-version: ["3.12", "3.13", "3.14", "3.15"] steps: - - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 + - uses: actions/checkout@v7.0.1 - name: setup_os uses: ./.github/actions/setup-os with: os-type: "ubuntu" - - uses: actions/setup-python@6d4fd22b20465ccc0f7354476588e8df7c9ca0e0 # v7.1.0 + - uses: actions/setup-python@v7.1.0 with: python-version: ${{ matrix.python-version }} @@ -234,7 +234,7 @@ jobs: os: [ubuntu-latest, macos-26-intel] python-version: ["3.11", "3.12", "3.13", "3.14"] steps: - - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 + - uses: actions/checkout@v7.0.1 - name: setup_os uses: ./.github/actions/setup-os @@ -242,7 +242,7 @@ jobs: os-type: ${{ matrix.os }} - name: setup_micromamba - uses: mamba-org/setup-micromamba@f457c30a868e4760d3a6fcea5f25dc655b8edf39 # v3.2.1 + uses: mamba-org/setup-micromamba@v3.2.1 with: environment-name: mda create-args: >- @@ -280,7 +280,7 @@ jobs: wheels: ['true', 'false'] steps: # Checkout to have access to local actions (i.e. setup-os) - - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 + - uses: actions/checkout@v7.0.1 # We need this here in order to make sure we assign the correct compiler (i.e. clang for macos) - name: setup_os @@ -288,7 +288,7 @@ jobs: with: os-type: ${{ matrix.os }} - - uses: actions/setup-python@6d4fd22b20465ccc0f7354476588e8df7c9ca0e0 # v7.1.0 + - uses: actions/setup-python@v7.1.0 with: python-version: ${{ matrix.python-version }} diff --git a/.github/workflows/gh-ci.yaml b/.github/workflows/gh-ci.yaml index a09ad10807..d545f18a98 100644 --- a/.github/workflows/gh-ci.yaml +++ b/.github/workflows/gh-ci.yaml @@ -79,7 +79,7 @@ jobs: MPLBACKEND: agg steps: - - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 + - uses: actions/checkout@v7.0.1 - name: setup_os uses: ./.github/actions/setup-os @@ -87,7 +87,7 @@ jobs: os-type: ${{ matrix.os }} - name: setup_micromamba - uses: mamba-org/setup-micromamba@f457c30a868e4760d3a6fcea5f25dc655b8edf39 # v3.2.1 + uses: mamba-org/setup-micromamba@v3.2.1 with: environment-name: mda create-args: >- @@ -145,7 +145,7 @@ jobs: - name: codecov if: matrix.codecov - uses: codecov/codecov-action@303a32d7a59b442fa8d48b6a1cc6825c09c847a5 # v7.1.1 + uses: codecov/codecov-action@v7.1.1 with: token: ${{ secrets.CODECOV_TOKEN }} files: coverage.xml @@ -162,10 +162,10 @@ jobs: MPLBACKEND: agg steps: - - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 + - uses: actions/checkout@v7.0.1 - name: setup_micromamba - uses: mamba-org/setup-micromamba@f457c30a868e4760d3a6fcea5f25dc655b8edf39 # v3.2.1 + uses: mamba-org/setup-micromamba@v3.2.1 with: environment-name: mda create-args: >- @@ -259,9 +259,9 @@ jobs: timeout-minutes: 30 steps: - - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 + - uses: actions/checkout@v7.0.1 - - uses: actions/setup-python@6d4fd22b20465ccc0f7354476588e8df7c9ca0e0 # v7.1.0 + - uses: actions/setup-python@v7.1.0 with: python-version: 3.12 diff --git a/.github/workflows/labels.yaml b/.github/workflows/labels.yaml index 7c125fc8a3..48ee3a4be7 100644 --- a/.github/workflows/labels.yaml +++ b/.github/workflows/labels.yaml @@ -10,7 +10,7 @@ jobs: runs-on: ubuntu-latest timeout-minutes: 10 steps: - - uses: actions/labeler@bf12e9b00b37c5c0ca2b87b79b2daf7891dbda13 # v7.0.0 + - uses: actions/labeler@v7.0.0 with: repo-token: "${{ secrets.GITHUB_TOKEN }}" configuration-path: ".github/pr_path_labeler.yml" diff --git a/.github/workflows/linters.yaml b/.github/workflows/linters.yaml index c4ce77f27d..3049db5179 100644 --- a/.github/workflows/linters.yaml +++ b/.github/workflows/linters.yaml @@ -26,21 +26,21 @@ jobs: shell: bash steps: - - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 + - uses: actions/checkout@v7.0.1 with: fetch-depth: 0 - - uses: actions/setup-python@6d4fd22b20465ccc0f7354476588e8df7c9ca0e0 # v7.1.0 + - uses: actions/setup-python@v7.1.0 with: python-version: "3.12" - - uses: psf/black@258e7dbf348bc23cb70b8cdf693481c04634ebcc # 26.10.1 + - uses: psf/black@26.10.1 with: options: "--check" src: "./package" version: "~= 24.0" - - uses: psf/black@258e7dbf348bc23cb70b8cdf693481c04634ebcc # 26.10.1 + - uses: psf/black@26.10.1 with: options: "--check" src: "./testsuite" @@ -52,9 +52,9 @@ jobs: runs-on: ubuntu-latest timeout-minutes: 10 steps: - - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 + - uses: actions/checkout@v7.0.1 - - uses: actions/setup-python@6d4fd22b20465ccc0f7354476588e8df7c9ca0e0 # v7.1.0 + - uses: actions/setup-python@v7.1.0 with: python-version: "3.12" @@ -74,10 +74,10 @@ jobs: runs-on: ubuntu-latest timeout-minutes: 10 steps: - - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 + - uses: actions/checkout@v7.0.1 - name: setup_micromamba - uses: mamba-org/setup-micromamba@f457c30a868e4760d3a6fcea5f25dc655b8edf39 # v3.2.1 + uses: mamba-org/setup-micromamba@v3.2.1 with: environment-name: mda create-args: >- From aed2fbfa94fd7b0a72714d50de881331fccac4e1 Mon Sep 17 00:00:00 2001 From: IAlibay Date: Mon, 16 Nov 2026 10:08:45 +0000 Subject: [PATCH 08/10] bump up rtd build --- maintainer/conda/environment.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/maintainer/conda/environment.yml b/maintainer/conda/environment.yml index e20ad6de08..40de19e61b 100644 --- a/maintainer/conda/environment.yml +++ b/maintainer/conda/environment.yml @@ -17,9 +17,9 @@ dependencies: - mmtf-python - mock - networkx - - numpy>=1.26.0 + - numpy>=2.2.0 - pytest - - python==3.11 + - python==3.12 - pytng>=0.2.3 - scikit-learn - scipy From bebd98200f6e11679f55ea00b43916bfa79253f4 Mon Sep 17 00:00:00 2001 From: IAlibay Date: Mon, 16 Nov 2026 10:10:41 +0000 Subject: [PATCH 09/10] remove newer python versions --- package/pyproject.toml | 2 +- testsuite/pyproject.toml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/pyproject.toml b/package/pyproject.toml index 25e7ed4bd2..66fcc65c39 100644 --- a/package/pyproject.toml +++ b/package/pyproject.toml @@ -128,7 +128,7 @@ MDAnalysis = [ [tool.black] line-length = 79 -target-version = ['py312', 'py313', 'py314', 'py315'] +target-version = ['py312', 'py313'] extend-exclude = ''' ( __pycache__ diff --git a/testsuite/pyproject.toml b/testsuite/pyproject.toml index 4d2cef94d5..b105ae7a6d 100644 --- a/testsuite/pyproject.toml +++ b/testsuite/pyproject.toml @@ -158,7 +158,7 @@ filterwarnings = [ [tool.black] line-length = 79 -target-version = ['py312', 'py313', 'py314', 'py315'] +target-version = ['py312', 'py313'] extend-exclude = ''' ( testsuite/MDAnalysisTests/datafiles\.py From d3ca43f6bce0ddfb155f03d6aed5b2e9c0f602ac Mon Sep 17 00:00:00 2001 From: IAlibay Date: Mon, 23 Nov 2026 07:04:52 +0000 Subject: [PATCH 10/10] gemmi currently not compatible with python 3.15 --- .github/workflows/gh-ci.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/gh-ci.yaml b/.github/workflows/gh-ci.yaml index 88cb0cba55..61e86c7cb9 100644 --- a/.github/workflows/gh-ci.yaml +++ b/.github/workflows/gh-ci.yaml @@ -28,7 +28,7 @@ jobs: fail-fast: false matrix: os: [ubuntu-latest, ] - python-version: ["3.12", "3.13", "3.14", "3.15"] + python-version: ["3.12", "3.13", "3.14"] full-deps: [true, ] codecov: [true, ] cython: ["cython<3.1", ]