Compare commits

...

9 Commits

Author SHA1 Message Date
mbsantiago
4ae567bc1d Bump version: 1.3.0 → 1.3.1
Some checks failed
Python package / build (3.10) (push) Has been cancelled
Python package / build (3.11) (push) Has been cancelled
Python package / build (3.12) (push) Has been cancelled
Python package / build (3.13) (push) Has been cancelled
Python package / build (3.14) (push) Has been cancelled
Python package / build (3.9) (push) Has been cancelled
2026-03-25 13:57:34 +00:00
Santiago Martinez Balvanera
04af8cdcea
Merge pull request #61 from macaodha/feat/loosen-dependencies
Remove version cap for torch and torchaudio, add Python 3.13/3.14 support
2026-03-25 13:53:39 +00:00
mbsantiago
13acd18050 Add correct index markers and newer setuptools 2026-03-25 13:50:48 +00:00
mbsantiago
20295d0457 Add cu118 for python 3.9 2026-03-25 13:42:09 +00:00
mbsantiago
e602bb2495 Update lockfile 2026-03-25 13:36:01 +00:00
mbsantiago
853c8c6e67 Update classifier tags 2026-03-25 13:28:54 +00:00
mbsantiago
85667ca676 Add cu126 sources 2026-03-25 13:22:24 +00:00
mbsantiago
6bad018045 Change dev-dependencies to dependency-groups.dev 2026-03-25 12:52:08 +00:00
mbsantiago
a8c5bff67b Remove version cap for torch and torchaudio, add support for python 3.13 and 3.14 2026-03-25 12:45:11 +00:00
5 changed files with 3216 additions and 1000 deletions

View File

@ -1,5 +1,5 @@
[bumpversion]
current_version = 1.3.0
current_version = 1.3.1
commit = True
tag = True

View File

@ -12,7 +12,7 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: ["3.9", "3.10", "3.11", "3.12"]
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13", "3.14"]
steps:
- uses: actions/checkout@v4

View File

@ -3,4 +3,4 @@ import logging
numba_logger = logging.getLogger("numba")
numba_logger.setLevel(logging.WARNING)
__version__ = "1.3.0"
__version__ = "1.3.1"

View File

@ -1,24 +1,25 @@
[project]
name = "batdetect2"
version = "1.3.0"
version = "1.3.1"
description = "Deep learning model for detecting and classifying bat echolocation calls in high frequency audio recordings."
authors = [
{ "name" = "Oisin Mac Aodha", "email" = "oisin.macaodha@ed.ac.uk" },
{ "name" = "Santiago Martinez Balvanera", "email" = "santiago.balvanera.20@ucl.ac.uk" },
]
dependencies = [
"click>=8.1.7",
"librosa>=0.10.1",
"matplotlib>=3.7.1",
"numpy>=1.23.5",
"pandas>=1.5.3",
"scikit-learn>=1.2.2",
"scipy>=1.10.1",
"torch>=1.13.1,<2.5.0",
"torchaudio>=1.13.1,<2.5.0",
"torchvision>=0.14.0",
"click>=8.1.7",
"librosa>=0.10.1",
"matplotlib>=3.7.1",
"numpy>=1.23.5",
"pandas>=1.5.3",
"scikit-learn>=1.2.2",
"scipy>=1.10.1",
"torch>=1.13.1",
"torchaudio>=1.13.1",
"torchvision>=0.14.0",
"setuptools>=70.1.0; python_version == '3.14'",
]
requires-python = ">=3.9,<3.13"
requires-python = ">=3.9,<3.15"
readme = "README.md"
license = { text = "CC-by-nc-4" }
classifiers = [
@ -30,6 +31,8 @@ classifiers = [
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3.14",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
"Topic :: Software Development :: Libraries :: Python Modules",
"Topic :: Multimedia :: Sound/Audio :: Analysis",
@ -51,13 +54,37 @@ build-backend = "hatchling.build"
[project.scripts]
batdetect2 = "batdetect2.cli:cli"
[tool.uv]
dev-dependencies = [
"debugpy>=1.8.8",
"hypothesis>=6.118.7",
"pyright>=1.1.388",
"pytest>=7.2.2",
"ruff>=0.7.3",
[dependency-groups]
dev = [
"debugpy>=1.8.8",
"hypothesis>=6.118.7",
"pyright>=1.1.388",
"pytest>=7.2.2",
"ruff>=0.7.3",
]
[[tool.uv.index]]
name = "pytorch-cu126"
url = "https://download.pytorch.org/whl/cu126"
explicit = true
[[tool.uv.index]]
name = "pytorch-cu118"
url = "https://download.pytorch.org/whl/cu118"
explicit = true
[tool.uv.sources]
torch = [
{ index = "pytorch-cu118", marker = "python_version == '3.9' and (sys_platform == 'linux' or sys_platform == 'win32')" },
{ index = "pytorch-cu126", marker = "python_version != '3.9' and (sys_platform == 'linux' or sys_platform == 'win32')" },
]
torchvision = [
{ index = "pytorch-cu118", marker = "python_version == '3.9' and (sys_platform == 'linux' or sys_platform == 'win32')" },
{ index = "pytorch-cu126", marker = "python_version != '3.9' and (sys_platform == 'linux' or sys_platform == 'win32')" },
]
torchaudio = [
{ index = "pytorch-cu118", marker = "python_version == '3.9' and (sys_platform == 'linux' or sys_platform == 'win32')" },
{ index = "pytorch-cu126", marker = "python_version != '3.9' and (sys_platform == 'linux' or sys_platform == 'win32')" },
]
[tool.ruff]

4145
uv.lock generated

File diff suppressed because it is too large Load Diff