From bbba4625bee33b1dee43dc2bb776261ded22e2b5 Mon Sep 17 00:00:00 2001 From: Santiago Martinez Date: Tue, 30 Jan 2024 12:34:47 +0000 Subject: [PATCH 1/3] Add support for python 3.11. Update dependencies requirements --- .github/workflows/python-package.yml | 2 +- pyproject.toml | 18 +++++++++--------- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/.github/workflows/python-package.yml b/.github/workflows/python-package.yml index 1ca6ce0..63a2abd 100644 --- a/.github/workflows/python-package.yml +++ b/.github/workflows/python-package.yml @@ -16,7 +16,7 @@ jobs: strategy: fail-fast: false matrix: - python-version: ["3.8", "3.9", "3.10"] + python-version: ["3.8", "3.9", "3.10", "3.11"] steps: - uses: actions/checkout@v3 diff --git a/pyproject.toml b/pyproject.toml index 42cdebe..08e1aee 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -13,18 +13,18 @@ authors = [ { "name" = "Santiago Martinez Balvanera", "email" = "santiago.balvanera.20@ucl.ac.uk" } ] dependencies = [ - "librosa", - "matplotlib", - "numpy", - "pandas", - "scikit-learn", - "scipy", - "torch>=1.13.1,<2", + "librosa>=0.10.1", + "matplotlib>=3.7.1", + "numpy>=1.23.5", + "pandas>=1.5.3", + "scikit-learn>=1.2.2", + "scipy>=1.11.4", + "torch>=1.13.1", "torchaudio", "torchvision", - "click", + "click>=8.1.7", ] -requires-python = ">=3.8,<3.11" +requires-python = ">=3.8,<3.12" readme = "README.md" license = { text = "CC-by-nc-4" } classifiers = [ From c40197bf1c49bf233289d1404b96f9ebc1ddd064 Mon Sep 17 00:00:00 2001 From: Santiago Martinez Date: Tue, 30 Jan 2024 12:36:25 +0000 Subject: [PATCH 2/3] Lower scipy version to support python 3.8 --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 08e1aee..f0973a6 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -18,7 +18,7 @@ dependencies = [ "numpy>=1.23.5", "pandas>=1.5.3", "scikit-learn>=1.2.2", - "scipy>=1.11.4", + "scipy>=1.10.1", "torch>=1.13.1", "torchaudio", "torchvision", From 3744709c977c5ee014f3fcea8f9e5ee956f65c88 Mon Sep 17 00:00:00 2001 From: Santiago Martinez Date: Tue, 30 Jan 2024 12:41:32 +0000 Subject: [PATCH 3/3] =?UTF-8?q?Bump=20version:=201.0.7=20=E2=86=92=201.0.8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- batdetect2/__init__.py | 2 +- pyproject.toml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/batdetect2/__init__.py b/batdetect2/__init__.py index 887a342..52e9a85 100644 --- a/batdetect2/__init__.py +++ b/batdetect2/__init__.py @@ -1 +1 @@ -__version__ = '1.0.7' +__version__ = '1.0.8' diff --git a/pyproject.toml b/pyproject.toml index f0973a6..9497d08 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -6,7 +6,7 @@ dev = [ [project] name = "batdetect2" -version = "1.0.7" +version = "1.0.8" 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" },