Skip to content
This repository has been archived by the owner on Dec 20, 2024. It is now read-only.

Commit

Permalink
ENH: Drop support for Python 3.8 and 3.9
Browse files Browse the repository at this point in the history
Drop support for Python 3.8 and 3.9: require Python 3.10 or greater in
line with Scientific Python SPEC 0:
https://scientific-python.org/specs/spec-0000/

Remove them from the CI matrices.
  • Loading branch information
jhlegarreta committed Apr 15, 2024
1 parent 9a68a5c commit 0e46c3b
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 8 deletions.
4 changes: 2 additions & 2 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ jobs:
paths:
- /tmp/ants

- run:
- run:
name: Configure git (pacify datalad)
command: |
git config --global user.name "First Last"
Expand All @@ -55,7 +55,7 @@ jobs:
- data-v1-{{ .Branch }}-
- data-v1-main-
- data-v1-
- run:
- run:
name: Pull down test data
command: |
if [[ ! -d "${TEST_DATA_HOME}" ]]; then
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/pythonpackage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
python-version: ["3.10", "3.11", "3.12"]

steps:
- uses: actions/checkout@v4
Expand All @@ -39,7 +39,7 @@ jobs:
python -m venv /tmp/buildenv
source /tmp/buildenv/bin/activate
pip install -U build hatch pip twine
python -m build -s -w
python -m twine check dist/eddymotion-*
Expand Down
6 changes: 2 additions & 4 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,12 @@ classifiers = [
"Intended Audience :: Science/Research",
"Topic :: Scientific/Engineering :: Image Recognition",
"License :: OSI Approved :: Apache Software License",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
]
license = "Apache-2.0"
requires-python = ">=3.8"
requires-python = ">=3.10"
dependencies = [
"dipy>=1.3.0",
"joblib",
Expand Down Expand Up @@ -112,7 +110,7 @@ version-file = "src/eddymotion/_version.py"

[tool.ruff]
line-length = 99
target-version = "py39"
target-version = "py310"
exclude = [
".eggs",
".git",
Expand Down

0 comments on commit 0e46c3b

Please sign in to comment.