From bbba4625bee33b1dee43dc2bb776261ded22e2b5 Mon Sep 17 00:00:00 2001 From: Santiago Martinez Date: Tue, 30 Jan 2024 12:34:47 +0000 Subject: [PATCH 1/2] 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/2] 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",