Skip to content

A lightweight yet powerful audio-to-MIDI converter with pitch bend detection

More specific python versions

David Rubinstein8ef7ebc0b1d6
diff --git a/.github/workflows/tox.yml b/.github/workflows/tox.yml
index 55860ab..2599dd8 100644
--- a/.github/workflows/tox.yml
+++ b/.github/workflows/tox.yml
@@ -15,10 +15,10 @@ jobs:
- windows-latest
- macos-latest-xlarge
py:
- - "3.11"
- - "3.10"
- - "3.9"
- - "3.8"
+ - "3.11.8"
+ - "3.10.11"
+ - "3.9.18"
+ - "3.8.8"
steps:
- name: Setup python for test ${{ matrix.py }}
uses: actions/setup-python@v4
@@ -41,7 +41,7 @@ jobs:
# We will only check this on the minimum python version
- name: Check formatting, lint and mypy
run: tox -c tox.ini -e check-formatting,lint,mypy
- if: matrix.py == '3.8'
+ if: matrix.py == '3.10.11'
- name: Run test suite
run: tox -c tox.ini -e py,manifest,full
- name: Check that basic-pitch can be run as a commandline
diff --git a/tox.ini b/tox.ini
index 5568774..24a1df5 100644
--- a/tox.ini
+++ b/tox.ini
@@ -33,27 +33,27 @@ skip_install = true
commands = check-manifest --ignore 'tests/*'
[testenv:check-formatting]
-basepython = python3.8
+basepython = python3.10
deps = black==23.1.0
skip_install = true
commands =
black {env:SOURCE} tests --line-length {env:LINE_LENGTH} --diff --check
[testenv:format]
-basepython = python3.8
+basepython = python3.10
deps = black
skip_install = true
commands =
black {env:SOURCE} tests --line-length {env:LINE_LENGTH}
[testenv:lint]
-basepython = python3.8
+basepython = python3.10
deps = flake8
skip_install = true
commands = flake8
[testenv:mypy]
-basepython = python3.8
+basepython = python3.10
deps =
mypy
commands = mypy basic_pitch tests --strict --ignore-missing-imports --allow-subclassing-any