Skip to content
Open
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/pytest-workflow-macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
strategy:
matrix:
os: [macos-latest]
python-version: ["3.10", "3.11", "3.12", "3.13"]
python-version: ["3.10", "3.11", "3.12", "3.13", "3.14"]

steps:
- uses: actions/checkout@v4
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pytest-workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest, windows-latest]
python-version: ["3.10", "3.11", "3.12","3.13"]
python-version: ["3.10", "3.11", "3.12","3.13","3.14"]

steps:
- uses: actions/checkout@v4
Expand Down
2 changes: 1 addition & 1 deletion envs/environment-detector-m1.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ dependencies:

# PyTorch is not yet supported in Python 3.12 as of the time I'm writing this
# environment file.
- python>=3.8,<3.12
- python>=3.8,<3.15
- pip

# Not imported directly, but we force this version to avoid this issue:
Expand Down
4 changes: 1 addition & 3 deletions envs/environment-detector.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,7 @@ dependencies:
# Only install the nomkl package in the M1 environment file
# - nomkl

# PyTorch is not yet supported in Python 3.12 as of the time I'm writing this
# environment file.
- python>=3.8,<3.12
- python>=3.8,<3.15
- pip

# Not imported directly, but we force this version to avoid this issue:
Expand Down
4 changes: 1 addition & 3 deletions envs/environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,7 @@ channels:
- nvidia

dependencies:
# PyTorch is not yet supported in Python 3.12 as of the time I'm writing this
# environment file.
- python>=3.8,<3.12
- python>=3.8,<3.15

# Not imported directly, but we force this version to avoid this issue:
#
Expand Down
2 changes: 1 addition & 1 deletion pyproject-utils.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ name = "megadetector-utils"
version = "10.0.17"
description = "Utility code associated with the MegaDetector project."
readme = "README-package-utils.md"
requires-python = ">=3.9,<3.14"
requires-python = ">=3.9,<3.15"
license = "MIT"
keywords = ["camera traps", "conservation", "wildlife", "ai", "megadetector"]
authors = [
Expand Down
5 changes: 3 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ name = "megadetector"
version = "10.0.17"
description = "MegaDetector is an AI model that helps conservation folks spend less time doing boring things with camera trap images."
readme = "README-package.md"
requires-python = ">=3.9,<3.14"
requires-python = ">=3.9,<3.15"
license = "MIT"
keywords = ["camera traps", "conservation", "wildlife", "ai", "megadetector"]
authors = [
Expand Down Expand Up @@ -36,7 +36,8 @@ dependencies = [
# numpy >= 1.26.4 is required for python >= 3.12
#
# "numpy >= 1.26.4, < 2.0",
"numpy >= 1.26.4",
"numpy>=1.26.4; python_version < '3.14'",
"numpy>=1.26.4,<2.0; python_version >= '3.14'",
# ultralytics-yolov5 has a dependency on FreeTypeFont.getsize(), which was
# removed in Pillow 10. Restrict to <10.0 if you want to use val.py from
# ultralytics-yolov5.
Expand Down
Loading