Skip to content

Commit eb7c306

Browse files
committed
remove python 3.7 which is end of life
1 parent c3081ed commit eb7c306

File tree

7 files changed

+10
-10
lines changed

7 files changed

+10
-10
lines changed

.github/workflows/branch-checks.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ jobs:
7777
strategy:
7878
matrix:
7979
os: [ubuntu-latest, windows-latest, macos-latest]
80-
python-version: ["3.7", "3.9"]
80+
python-version: ["3.8", "3.9"]
8181
steps:
8282
- uses: actions/checkout@v4
8383

.github/workflows/ci-conda.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
strategy:
1313
matrix:
1414
os: [ubuntu-latest, windows-latest, macos-latest]
15-
python-version: ["3.7", "3.8", "3.9"]
15+
python-version: ["3.8", "3.9"]
1616

1717
steps:
1818
- uses: actions/checkout@v4
@@ -82,7 +82,7 @@ jobs:
8282
runs-on: ubuntu-latest
8383
strategy:
8484
matrix:
85-
python-version: ["3.7", "3.8", "3.9"]
85+
python-version: ["3.8", "3.9"]
8686

8787
steps:
8888
- uses: actions/checkout@v4

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
runs-on: ubuntu-latest
1212
strategy:
1313
matrix:
14-
python-version: ["3.7", "3.8", "3.9"]
14+
python-version: ["3.8", "3.9"]
1515

1616
steps:
1717
- uses: actions/checkout@v4
@@ -92,7 +92,7 @@ jobs:
9292
runs-on: ubuntu-latest
9393
strategy:
9494
matrix:
95-
python-version: ["3.7", "3.8", "3.9"]
95+
python-version: ["3.8", "3.9"]
9696

9797
steps:
9898
- uses: actions/checkout@v4

.github/workflows/test-imports.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
strategy:
1616
matrix:
1717
os: [ubuntu-latest, windows-latest, macos-latest]
18-
python-version: ["3.7", "3.8", "3.9"]
18+
python-version: ["3.8", "3.9"]
1919

2020
steps:
2121
- uses: actions/checkout@v4

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ A Python package for training and evaluating SLEAP models for root tracking, wit
2121

2222
### Prerequisites
2323

24-
1. **Python 3.7-3.9**: SLEAP requires Python 3.7, 3.8, or 3.9 (not 3.10+)
24+
1. **Python 3.8-3.9**: SLEAP requires Python 3.8 or 3.9 (not 3.10+)
2525
2. **SLEAP Environment**: Install SLEAP following the [official guide](https://sleap.ai/installation.html)
2626
3. **Weights & Biases**: Sign up for a [W&B account](https://wandb.ai)
2727

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ authors = [
77
description = "Wrapper around SLEAP and WandB for training."
88
readme = "README.md"
99
license = { file = "LICENSE" }
10-
requires-python = ">=3.7,<3.10"
10+
requires-python = ">=3.8,<3.10"
1111
dependencies = [
1212
"sleap",
1313
"wandb",

verify_installation.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,11 @@ def check_python_version():
1313
"""Check if Python version is compatible."""
1414
print(f"Python version: {sys.version}")
1515
major, minor = sys.version_info[:2]
16-
if major == 3 and 7 <= minor <= 9:
16+
if major == 3 and 8 <= minor <= 9:
1717
print("[OK] Python version compatible")
1818
return True
1919
else:
20-
print("[ERROR] Python version not compatible (requires 3.7-3.9 for SLEAP)")
20+
print("[ERROR] Python version not compatible (requires 3.8-3.9 for SLEAP)")
2121
return False
2222

2323
def check_sleap_installation():

0 commit comments

Comments
 (0)