diff --git a/.github/workflows/python-package.yml b/.github/workflows/python-package.yml index f99e0da..cfc70d3 100644 --- a/.github/workflows/python-package.yml +++ b/.github/workflows/python-package.yml @@ -20,7 +20,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - python-version: ["3.8", "3.9", "3.10"] + python-version: ["3.9", "3.10", "3.11"] steps: - uses: actions/checkout@v2 diff --git a/requirements.txt b/requirements.txt index 137192a..459d3c9 100644 --- a/requirements.txt +++ b/requirements.txt @@ -15,20 +15,20 @@ imageio==2.23.0 iniconfig==2.0.0 joblib==1.2.0 kiwisolver==1.4.4 -librosa==0.9.2 -llvmlite==0.39.1 +librosa==0.10.1 +llvmlite==0.41.1 matplotlib==3.6.2 networkx==3.0 noisereduce==2.0.1 -numba==0.56.4 -numpy==1.23.5 +numba==0.58.1 +numpy==1.26.2 packaging==23.0 Pillow==9.4.0 pluggy==1.0.0 pooch==1.6.0 pycparser==2.21 pydub==0.25.1 -pyparsing==3.0.9 +pyparsing==3.1.1 pytest==7.2.0 pytest-xdist==3.1.0 python-dateutil==2.8.2 @@ -36,10 +36,10 @@ PyWavelets==1.4.1 requests==2.28.1 resampy==0.4.2 scikit-image==0.19.3 -scikit-learn==1.2.0 -scipy==1.10.0 +scikit-learn==1.3.2 +scipy==1.11.4 six==1.16.0 -soundfile==0.11.0 +soundfile==0.12.1 threadpoolctl==3.1.0 tifffile==2022.10.10 tomli==2.0.1 diff --git a/tests_dockerfiles/Dockerfile-3-10 b/tests_dockerfiles/Dockerfile-3-10 index 67ef08c..cba1e7c 100644 --- a/tests_dockerfiles/Dockerfile-3-10 +++ b/tests_dockerfiles/Dockerfile-3-10 @@ -5,6 +5,8 @@ RUN apt-get update && apt-get install ffmpeg -y WORKDIR /tests_dir/ +RUN pip install --upgrade pip + COPY requirements.txt /tests_dir RUN pip install -r requirements.txt diff --git a/tests_dockerfiles/Dockerfile-3-11 b/tests_dockerfiles/Dockerfile-3-11 new file mode 100644 index 0000000..468da8b --- /dev/null +++ b/tests_dockerfiles/Dockerfile-3-11 @@ -0,0 +1,20 @@ +# docker build -f tests_dockerfiles/Dockerfile-3-11 . +FROM python:3.11 + +RUN apt-get update && apt-get install ffmpeg -y + +WORKDIR /tests_dir/ + +RUN pip install --upgrade pip + +COPY requirements.txt /tests_dir + +RUN pip install -r requirements.txt +# RUN pip install noisereduce numpy pytest scipy pydub pytest-xdist scikit-image + +COPY audalign /tests_dir/audalign +COPY test_audio /tests_dir/test_audio +COPY tests /tests_dir/tests +COPY pytest.ini /tests_dir + +RUN pytest diff --git a/tests_dockerfiles/Dockerfile-3-12 b/tests_dockerfiles/Dockerfile-3-12 new file mode 100644 index 0000000..2d802e3 --- /dev/null +++ b/tests_dockerfiles/Dockerfile-3-12 @@ -0,0 +1,20 @@ +# docker build -f tests_dockerfiles/Dockerfile-3-12 . +FROM python:3.12 + +RUN apt-get update && apt-get install ffmpeg -y + +WORKDIR /tests_dir/ + +RUN pip install --upgrade pip + +COPY requirements.txt /tests_dir + +RUN pip install -r requirements.txt +# RUN pip install noisereduce numpy pytest scipy pydub pytest-xdist scikit-image + +COPY audalign /tests_dir/audalign +COPY test_audio /tests_dir/test_audio +COPY tests /tests_dir/tests +COPY pytest.ini /tests_dir + +RUN pytest diff --git a/tests_dockerfiles/Dockerfile-3-8 b/tests_dockerfiles/Dockerfile-3-8 index d868f8c..c85fb6e 100644 --- a/tests_dockerfiles/Dockerfile-3-8 +++ b/tests_dockerfiles/Dockerfile-3-8 @@ -5,6 +5,8 @@ RUN apt-get update && apt-get install ffmpeg -y WORKDIR /tests_dir/ +RUN pip install --upgrade pip + COPY requirements.txt /tests_dir RUN pip install -r requirements.txt diff --git a/tests_dockerfiles/Dockerfile-3-9 b/tests_dockerfiles/Dockerfile-3-9 index cbad0f3..9176fa8 100644 --- a/tests_dockerfiles/Dockerfile-3-9 +++ b/tests_dockerfiles/Dockerfile-3-9 @@ -5,6 +5,8 @@ RUN apt-get update && apt-get install ffmpeg -y WORKDIR /tests_dir/ +RUN pip install --upgrade pip + COPY requirements.txt /tests_dir RUN pip install -r requirements.txt