Repository navigation
Update key dependencies for SPEC0 #5520
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: develop
Are you sure you want to change the base?
Changes from all commits
36badb9
1766c1b
4c87b09
0f44cb6
05c58c8
a2e3645
aed2fbf
bebd982
d3ca43f
0a241ec
307bf72
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -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: | ||
|
|
@@ -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"] | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. No 3.15 here?
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Also double macos-latest, macos-latest |
||
| 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 | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -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"] | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Test on 3.15 if we deploy there.
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. ... ok, it looks as if we special-case 3.15 below |
||
| 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 | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. update comment above that references 3.14 |
||
| 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_arm64_py313 | ||
| - name: macos_arm64_py314 | ||
| os: macos-latest | ||
| python-version: "3.13" | ||
| 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.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 | ||
|
|
@@ -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: | | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -9,33 +9,34 @@ 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" | ||
|
|
||
| [project] | ||
| name = "MDAnalysis" | ||
| dynamic = ['version', 'readme'] | ||
| license = {file = "LICENSE"} | ||
| license = "LGPL-3.0-or-later" | ||
| license-files = [ "LICENSE" ] | ||
| description = "An object-oriented toolkit to analyze molecular dynamics trajectories." | ||
| authors = [ | ||
| {name = 'MDAnalysis Development Team', email = 'mdanalysis@numfocus.org'} | ||
| ] | ||
| 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', | ||
|
Comment on lines
+36
to
+39
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I assume these are just SPEC0 bumps and not really necessary because of any changes in dependencies? |
||
| 'threadpoolctl', | ||
| 'packaging', | ||
| 'filelock', | ||
|
|
@@ -50,15 +51,14 @@ classifiers = [ | |
| 'Development Status :: 6 - Mature', | ||
| 'Environment :: Console', | ||
| 'Intended Audience :: Science/Research', | ||
| 'License :: OSI Approved :: GNU Lesser General Public License v3 or later (LGPLv3+)', | ||
| 'Operating System :: POSIX', | ||
| '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'] | ||
| extend-exclude = ''' | ||
| ( | ||
| __pycache__ | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why do we have duplicated macos-latest in the os list?