diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 5699e9c..1419198 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -7,7 +7,7 @@ jobs: strategy: matrix: os: [ubuntu-20.04, macos-11, windows-2019] - python-version: ["3.7", "3.8", "3.9"] + python-version: ["3.7", "3.8", "3.9", "3.10", "3.11"] # There are issues with Tkinter & Python in the GH Actions environment # So we control which exact minor versions are used, which are known to # work, but unfortunately don't have a release for the Windows runner @@ -23,6 +23,10 @@ jobs: python-version: "3.8.15" - os: macos-11 python-version: "3.9.15" + - os: macos-11 + python-version: "3.10.10" + - os: macos-11 + python-version: "3.11" fail-fast: false name: Py ${{ matrix.python-version }} - ${{ matrix.os }} runs-on: ${{ matrix.os }} diff --git a/pyproject.toml b/pyproject.toml index 3b1e6d5..b77ccaa 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -31,7 +31,9 @@ classifiers = [ ] [tool.poetry.dependencies] -python = "^3.7,<3.13" +# Currently libusb-package is incompatible to newer Python versions +# https://github.com/pyocd/libusb-package/issues/16 +python = "^3.7,<3.12" IntelHex = "^2.2.1" uflash = ">=1.1.0,<1.2.1" # This version of PyOCD fails in Python 3.10+