Skip to content

Commit

Permalink
Update Python versions
Browse files Browse the repository at this point in the history
  • Loading branch information
avylove committed Nov 23, 2024
1 parent a79641c commit c8c7900
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 10 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,25 +20,25 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: ['3.7', '3.8', '3.9', '3.10', '3.11', '3.12']
python-version: ['3.7', '3.8', '3.9', '3.10', '3.11', '3.12', '3.13']
test_quick: [1]

include:
- python-version: '3.12'
- python-version: '3.13'
label: Linting
toxenv: docformatter_check,flake8,flake8_tests,isort_check,mypy,sphinx,pydocstyle,pylint,pylint_tests

- python-version: '3.13-dev'
- python-version: '3.14-dev'
optional: true
toxenv: py313
toxpython: 3.13
toxenv: py314
toxpython: 3.14

- python-version: '3.12'
- python-version: '3.13'
test_keyboard: 1
test_raw: 1
test_quick: 0

- python-version: '3.12'
- python-version: '3.13'
os: windows-latest
test_quick: 0

Expand Down
2 changes: 2 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,8 @@ def _get_long_description(fname):
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
'Programming Language :: Python :: 3.11',
'Programming Language :: Python :: 3.12',
'Programming Language :: Python :: 3.13',
'Topic :: Software Development :: Libraries',
'Topic :: Software Development :: User Interfaces',
'Topic :: Terminals',
Expand Down
6 changes: 3 additions & 3 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,13 @@ envlist =
pydocstyle
mypy
sphinx
py{27,35,36,37,38,39,310,311,312}
py{27,35,36,37,38,39,310,311,312,313}


####### Python Test Environments #######

[testenv]
basepython = python3.12
basepython = python3.13
passenv =
TEST_QUICK
TEST_KEYBOARD
Expand All @@ -37,7 +37,7 @@ deps =
commands =
pytest {posargs: --strict-markers --verbose --durations=3} tests

[testenv:py312]
[testenv:py313]
setenv =
TEST_QUICK = {env:TEST_QUICK:0}
TEST_KEYBOARD = {env:TEST_KEYBOARD:1}
Expand Down

0 comments on commit c8c7900

Please sign in to comment.