add support for python 3.10 (#42)

* add support for 3.10

* fix tox

* move

* ignore deprecation

* add timeout
This commit is contained in:
Talley Lambert
2021-11-21 19:24:46 -05:00
committed by GitHub
parent d7afa8824c
commit c355f8b06d
3 changed files with 16 additions and 1 deletions

View File

@@ -47,6 +47,16 @@ jobs:
- python-version: 3.9
platform: macos-11.0
backend: pyqt6
# py3.10
- python-version: "3.10"
platform: ubuntu-latest
backend: pyside6
- python-version: "3.10"
platform: ubuntu-latest
backend: pyqt5
- python-version: "3.10"
platform: ubuntu-latest
backend: pyqt6
# big sur, 3.9
- python-version: 3.9
@@ -81,6 +91,8 @@ jobs:
platform: ubuntu-latest
backend: pyqt514
steps:
- uses: actions/checkout@v2
@@ -102,6 +114,7 @@ jobs:
- name: Test with tox
uses: GabrielBB/xvfb-action@v1
timeout-minutes: 2
with:
run: tox
env:

View File

@@ -105,3 +105,4 @@ filterwarnings =
error
ignore:QPixmapCache.find:DeprecationWarning:
ignore:SelectableGroups dict interface:DeprecationWarning
ignore:The distutils package is deprecated:DeprecationWarning

View File

@@ -1,5 +1,5 @@
[tox]
envlist = py{37,38,39}-{linux,macos,windows}-{pyqt5,pyside2,pyqt6,pyside6},py37-linux-{pyqt511,pyside511,pyqt512,pyqt513,pyqt514}
envlist = py{37,38,39,310}-{linux,macos,windows}-{pyqt5,pyside2,pyqt6,pyside6},py37-linux-{pyqt511,pyside511,pyqt512,pyqt513,pyqt514}
toxworkdir=/tmp/.tox
isolated_build=True
@@ -21,6 +21,7 @@ python =
3.7: py37
3.8: py38
3.9: py39
3.10: py310
[gh-actions:env]
PLATFORM =