Skip to content

Commit e0d56f9

Browse files
niksirbisfmig
andauthored
Update supported Python versions to 3.11 - 3.13 (#120)
* update supported Python version to 3.11 - 3.13 * Use default python version for docs build * Bring back Python version for build docs action --------- Co-authored-by: sfmig <[email protected]>
1 parent 446dde4 commit e0d56f9

File tree

8 files changed

+13
-15
lines changed

8 files changed

+13
-15
lines changed

.github/workflows/docs_build_and_deploy.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,11 +37,12 @@ jobs:
3737
steps:
3838
- uses: neuroinformatics-unit/actions/build_sphinx_docs@main
3939
with:
40-
python-version: 3.12
40+
python-version: 3.13 # default for the action is 3.x
4141
use-make: true
4242
fetch-tags: true
4343
use-artifactci: lazy
4444

45+
4546
deploy_sphinx_docs:
4647
name: Deploy Sphinx Docs
4748
needs: build_sphinx_docs

.github/workflows/test_and_deploy.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,14 +32,14 @@ jobs:
3232
strategy:
3333
matrix:
3434
# Run all supported Python versions on linux
35-
python-version: ["3.10", "3.11", "3.12"]
35+
python-version: ["3.11", "3.12", "3.13"]
3636
os: [ubuntu-latest]
3737
# Include one windows and macos run
3838
include:
3939
- os: macos-latest
40-
python-version: "3.11"
40+
python-version: "3.13"
4141
- os: windows-latest
42-
python-version: "3.11"
42+
python-version: "3.13"
4343

4444
steps:
4545
# Run tests

.pre-commit-config.yaml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,3 @@ repos:
5555
rev: v2.4.1
5656
hooks:
5757
- id: codespell
58-
additional_dependencies:
59-
# tomli dependency can be removed when we drop support for Python 3.10
60-
- tomli

CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ development environment. In the following, we assume you have
1111
To install `ethology` for development, first create and activate a `conda` environment:
1212

1313
```sh
14-
conda create -n ethology-dev python=3.12
14+
conda create -n ethology-dev python=3.13
1515
conda activate ethology-dev
1616
```
1717

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ Mix-and-match computer vision tools for your animal behaviour analysis.
1515

1616
Create a conda environment and install the package
1717
```sh
18-
conda create -n ethology-env python=3.12 -y
18+
conda create -n ethology-env python=3.13 -y
1919
conda activate ethology-env
2020
pip install ethology
2121
```

docs/source/environment.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
channels:
44
- conda-forge
55
dependencies:
6-
- python=3.12
6+
- python=3.13
77
- pytables
88
# - pip:
99
# - ethology

docs/source/installation.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ git clone https://github.com/neuroinformatics-unit/ethology.git
2121

2222
Then create a conda environment and install the package from source
2323
```sh
24-
conda create -n ethology-env python=3.12 -y
24+
conda create -n ethology-env python=3.13 -y
2525
conda activate ethology-env
2626
cd ethology
2727
pip install .

pyproject.toml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name = "ethology"
33
authors = [{ name = "Adam Tyson", email = "[email protected]" }]
44
description = "Data processing tools for animal behavioural analysis"
55
readme = "README.md"
6-
requires-python = ">=3.10.0"
6+
requires-python = ">=3.11.0"
77
dynamic = ["version"]
88

99
license = { text = "BSD-3-Clause" }
@@ -12,9 +12,9 @@ classifiers = [
1212
"Development Status :: 2 - Pre-Alpha",
1313
"Programming Language :: Python",
1414
"Programming Language :: Python :: 3",
15-
"Programming Language :: Python :: 3.10",
1615
"Programming Language :: Python :: 3.11",
1716
"Programming Language :: Python :: 3.12",
17+
"Programming Language :: Python :: 3.13",
1818
"Operating System :: OS Independent",
1919
"License :: OSI Approved :: BSD License",
2020
]
@@ -127,14 +127,14 @@ check-hidden = true
127127
[tool.tox]
128128
legacy_tox_ini = """
129129
[tox]
130-
envlist = py{310,311,312}
130+
envlist = py{311,312,313}
131131
isolated_build = True
132132
133133
[gh-actions]
134134
python =
135-
3.10: py310
136135
3.11: py311
137136
3.12: py312
137+
3.13: py313
138138
139139
[testenv]
140140
extras =

0 commit comments

Comments
 (0)