Skip to content

Commit

Permalink
Raise Python version to 3.10
Browse files Browse the repository at this point in the history
  • Loading branch information
IAlibay committed Mar 10, 2024
1 parent d366921 commit a2f02c4
Show file tree
Hide file tree
Showing 8 changed files with 19 additions and 19 deletions.
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"

- 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 = '[email protected]'}
]
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

0 comments on commit a2f02c4

Please sign in to comment.