Skip to content

Commit 5c3a38d

Browse files
authored
Merge pull request #200 from talmolab/divya/move-to-python312
Bump up to python 3.11
2 parents b20cf0e + 8cf4432 commit 5c3a38d

File tree

6 files changed

+8
-8
lines changed

6 files changed

+8
-8
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ jobs:
3737
- name: Set up Python
3838
uses: actions/setup-python@v4
3939
with:
40-
python-version: 3.9
40+
python-version: 3.11
4141

4242
- name: Install dependencies
4343
run: |
@@ -57,7 +57,7 @@ jobs:
5757
fail-fast: false
5858
matrix:
5959
os: ["ubuntu-latest", "windows-latest", "macos-14"]
60-
python: [3.9]
60+
python: [3.11]
6161
include:
6262
# Default values
6363
- env_file: environment_cpu.yml

environment.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ channels:
66
- conda-forge
77

88
dependencies:
9-
- python=3.9
9+
- python=3.11
1010
- pytorch-cuda=11.8
1111
- numpy
1212
- sleap-io>=0.2.0

environment_cpu.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ channels:
55
- conda-forge
66

77
dependencies:
8-
- python=3.9
8+
- python=3.11
99
- numpy
1010
- sleap-io>=0.2.0
1111
- pytorch

environment_mac.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ channels:
55
- conda-forge
66

77
dependencies:
8-
- python=3.9
8+
- python=3.11
99
- numpy
1010
- sleap-io>=0.2.0
1111
- pydantic

pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,11 @@ authors = [
1212
{name = "Talmo Pereira", email = "[email protected]"}
1313
]
1414
description = "Neural network backend for training and inference for animal pose estimation."
15-
requires-python = ">=3.9"
15+
requires-python = ">=3.11"
1616
keywords = ["sleap", "pose estimation", "deep learning", "neural networks", "computer vision", "animal behavior"]
1717
license = {text = "BSD-3-Clause"}
1818
classifiers = [
19-
"Programming Language :: Python :: 3.9"
19+
"Programming Language :: Python :: 3.11"
2020
]
2121
dependencies = [
2222
"torch",

tests/fixtures/datasets.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ def config(sleap_data_dir):
122122
"train_data_loader": {
123123
"batch_size": 1,
124124
"shuffle": True,
125-
"num_workers": 1,
125+
"num_workers": 0,
126126
},
127127
"val_data_loader": {
128128
"batch_size": 1,

0 commit comments

Comments
 (0)