Skip to content

Commit

Permalink
project: Increase Python support up to 3.11
Browse files Browse the repository at this point in the history
  • Loading branch information
carlosperate committed Nov 26, 2023
1 parent 031e8d3 commit eee277a
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
6 changes: 5 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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 }}
Expand Down
4 changes: 3 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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+
Expand Down

0 comments on commit eee277a

Please sign in to comment.