2019-05-23 05:07:30 +00:00
|
|
|
[tox]
|
|
|
|
envlist =
|
2021-04-16 05:50:59 +00:00
|
|
|
; qt 5.15.x
|
|
|
|
py{37,38,39}-{pyqt5,pyside2}_515
|
2019-06-09 01:42:37 +00:00
|
|
|
|
2021-04-16 05:50:59 +00:00
|
|
|
; qt 5.12.x
|
|
|
|
py{37}-{pyqt5,pyside2}_512
|
|
|
|
; py38-pyside2_512 doesn't work due to PYSIDE-1140
|
|
|
|
py38-pyqt5_512
|
2019-06-09 01:42:37 +00:00
|
|
|
|
2021-04-16 05:50:59 +00:00
|
|
|
; qt 6
|
|
|
|
py{37,38,39}-{pyqt6,pyside6}
|
2019-06-09 01:42:37 +00:00
|
|
|
|
2019-05-23 05:07:30 +00:00
|
|
|
[base]
|
|
|
|
deps =
|
|
|
|
pytest
|
2021-04-16 05:50:59 +00:00
|
|
|
pytest-xdist
|
2019-05-23 05:07:30 +00:00
|
|
|
numpy
|
|
|
|
scipy
|
|
|
|
pyopengl
|
2021-04-16 05:50:59 +00:00
|
|
|
h5py
|
2019-05-23 05:07:30 +00:00
|
|
|
|
|
|
|
[testenv]
|
2021-04-16 05:50:59 +00:00
|
|
|
passenv = DISPLAY XAUTHORITY, PYTHON_VERSION
|
2020-02-28 22:29:16 +00:00
|
|
|
setenv = PYTHONWARNINGS=ignore:DEPRECATION::pip._internal.cli.base_command
|
2019-05-23 05:07:30 +00:00
|
|
|
deps=
|
|
|
|
{[base]deps}
|
2021-04-16 05:50:59 +00:00
|
|
|
pyside2_512: pyside2==5.12.6
|
|
|
|
pyqt5_512: pyqt5==5.12.3
|
|
|
|
pyside2_515: pyside2
|
|
|
|
pyqt5_515: pyqt5
|
|
|
|
pyqt6: pyqt6
|
|
|
|
pyside6: pyside6
|
2020-02-26 18:06:15 +00:00
|
|
|
|
2019-05-23 05:07:30 +00:00
|
|
|
commands=
|
|
|
|
python -c "import pyqtgraph as pg; pg.systemInfo()"
|
2021-04-16 05:50:59 +00:00
|
|
|
pytest -n auto {posargs:}
|