Skip to content

Update Python versions to adhere to SPEC 0 #442

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

Merged
merged 2 commits into from
Feb 26, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
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/docs_build_and_deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
steps:
- uses: neuroinformatics-unit/actions/build_sphinx_docs@main
with:
python-version: 3.11
python-version: 3.12
use-make: true

deploy_sphinx_docs:
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/test_and_deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,16 +28,16 @@ jobs:
strategy:
matrix:
# Run all supported Python versions on linux
python-version: ["3.10", "3.11", "3.12"]
python-version: ["3.11", "3.12", "3.13"]
os: [ubuntu-latest]
# Include 1 Intel macos (13) and 1 M1 macos (latest) and 1 Windows run
include:
- os: macos-13
python-version: "3.11"
python-version: "3.13"
- os: macos-latest
python-version: "3.11"
python-version: "3.13"
- os: windows-latest
python-version: "3.11"
python-version: "3.13"

steps:
- name: Cache Test Data
Expand Down
3 changes: 0 additions & 3 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,3 @@ repos:
rev: v2.4.1
hooks:
- id: codespell
additional_dependencies:
# tomli dependency can be removed when we drop support for Python 3.10
- tomli
2 changes: 1 addition & 1 deletion docs/source/environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
channels:
- conda-forge
dependencies:
- python=3.11
- python=3.12
- pytables
- pip:
- movement
2 changes: 1 addition & 1 deletion docs/source/user_guide/installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ conda activate movement-env
:::{tab-item} Pip
Create and activate an environment with some prerequisites:
```sh
conda create -n movement-env -c conda-forge python=3.11 pytables
conda create -n movement-env -c conda-forge python=3.12 pytables
conda activate movement-env
```
Install the latest movement release from PyPI:
Expand Down
8 changes: 4 additions & 4 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ authors = [
]
description = "Analysis of body movement"
readme = "README.md"
requires-python = ">=3.10.0"
requires-python = ">=3.11.0"
dynamic = ["version"]

license = { text = "BSD-3-Clause" }
Expand All @@ -29,9 +29,9 @@ classifiers = [
"Development Status :: 3 - Alpha",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Operating System :: OS Independent",
"License :: OSI Approved :: BSD License",
]
Expand Down Expand Up @@ -143,14 +143,14 @@ legacy_tox_ini = """
requires =
tox-conda
tox-gh-actions
envlist = py{310,311,312}
envlist = py{311,312,313}
isolated_build = True

[gh-actions]
python =
3.10: py310
3.11: py311
3.12: py312
3.13: py313

[testenv]
conda_deps =
Expand Down
Loading