Skip to content
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

Raise Python version to 3.10 #4503

Merged
merged 2 commits into from
Mar 11, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,7 @@ jobs:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
python-version: ["3.9", "3.10", "3.11", "3.12"]
python-version: ["3.10", "3.11", "3.12"]
type: ["FULL", "MIN"]
exclude:
# Multiple deps don't like windows
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/gh-ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
fail-fast: false
matrix:
os: [ubuntu-latest, ]
python-version: ["3.9", "3.10", "3.11", "3.12"]
python-version: ["3.10", "3.11", "3.12"]
full-deps: [true, ]
codecov: [true, ]
include:
Expand All @@ -44,13 +44,13 @@ jobs:
codecov: true
- name: numpy_min
os: ubuntu-latest
python-version: 3.9
python-version: "3.10"
full-deps: false
codecov: true
numpy: numpy=1.23.2
- name: asv_check
os: ubuntu-latest
python-version: 3.9
python-version: "3.10"
full-deps: true
codecov: false
extra-pip-deps: asv
Expand Down Expand Up @@ -147,7 +147,7 @@ jobs:
with:
environment-name: mda
create-args: >-
python=3.9
python=3.10
pip
# using jaime's shim to avoid pulling down the cudatoolkit
condarc: |
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/linters.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:

- uses: actions/setup-python@v4
with:
python-version: 3.9
python-version: "3.10"
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@RMeli sorry I don't fully understand if you mean this or the actual darker action version number

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah thanks! Totally forgot that was even a thing 😅

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done!


- name: darker-main-code
id: darker-main-code
Expand Down Expand Up @@ -106,7 +106,7 @@ jobs:

- uses: actions/setup-python@v4
with:
python-version: 3.9
python-version: "3.10"

- name: install
run: |
Expand All @@ -131,7 +131,7 @@ jobs:
with:
environment-name: mda
create-args: >-
python=3.9
python=3.10
pip
# using jaime's shim to avoid pulling down the cudatoolkit
condarc: |
Expand Down
12 changes: 6 additions & 6 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ jobs:
MPLBACKEND: agg
strategy:
matrix:
Win-Python39-64bit-full:
PYTHON_VERSION: '3.9'
Win-Python310-64bit-full:
PYTHON_VERSION: '3.10'
PYTHON_ARCH: 'x64'
BUILD_TYPE: 'normal'
imageName: 'windows-2019'
Expand All @@ -37,8 +37,8 @@ jobs:
BUILD_TYPE: 'wheel'
NUMPY_MIN: '1.26.0'
imageName: 'windows-2019'
Win-Python39-64bit-full-wheel:
PYTHON_VERSION: '3.9'
Win-Python310-64bit-full-wheel:
PYTHON_VERSION: '3.10'
PYTHON_ARCH: 'x64'
BUILD_TYPE: 'wheel'
NUMPY_MIN: '1.23.2'
Expand All @@ -49,8 +49,8 @@ jobs:
BUILD_TYPE: 'wheel'
NUMPY_MIN: '1.26.0'
imageName: 'ubuntu-latest'
Linux-Python39-64bit-full-wheel:
PYTHON_VERSION: '3.9'
Linux-Python310-64bit-full-wheel:
PYTHON_VERSION: '3.10'
PYTHON_ARCH: 'x64'
BUILD_TYPE: 'wheel'
NUMPY_MIN: '1.23.2'
Expand Down
2 changes: 1 addition & 1 deletion maintainer/conda/environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ dependencies:
- networkx
- numpy>=1.23.2
- pytest
- python==3.9
- python==3.10
- pytng>=0.2.3
- scikit-learn
- scipy
Expand Down
2 changes: 2 additions & 0 deletions package/CHANGELOG
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,8 @@ Enhancements
`n_initial_contacts` attribute, with documentation. (Issue #2604, PR #4415)

Changes
* As per SPEC0 the minimum supported Python version has been raised
to 3.10 (PR #4502)
* MDAnalysis.analysis.hole2 is now directly imported from the mdakit
mdahole2. This module is deprecated and will be fully removed in
MDAnalysis version 3.0 (PR #4464)
Expand Down
3 changes: 1 addition & 2 deletions package/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ authors = [
maintainers = [
{name = 'MDAnalysis Core Developers', email = 'mdanalysis@numfocus.org'}
]
requires-python = ">=3.9"
requires-python = ">=3.10"
dependencies = [
'numpy>=1.23.2',
'GridDataFormats>=0.4.0',
Expand Down Expand Up @@ -60,7 +60,6 @@ classifiers = [
'Operating System :: MacOS :: MacOS X',
'Operating System :: Microsoft :: Windows',
'Programming Language :: Python',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
'Programming Language :: Python :: 3.11',
'Programming Language :: Python :: 3.12',
Expand Down
3 changes: 1 addition & 2 deletions testsuite/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ classifiers = [
"Operating System :: Microsoft :: Windows ",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
Expand All @@ -35,7 +34,7 @@ classifiers = [
"Topic :: Software Development :: Libraries :: Python Modules",
]
readme = {file = "README", content-type = "text/x-rst"}
requires-python = ">=3.9"
requires-python = ">=3.10"
dynamic = ["version", "dependencies"]

[project.urls]
Expand Down
Loading