Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reduce QTrio version repetition #56

Draft
wants to merge 2 commits into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 2 additions & 8 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,6 @@ install_requires =
attrs ~=20.3.0
click ~=7.1
pymodbus @ https://github.com/altendky/pymodbus/archive/83bf25071bdf56ece257e2e113a63dccf6bd692a.zip
# TODO: Should not need to duplicate the QTrio version info down below.
# https://github.com/pypa/pip/issues/9437
# >=0.4.1 for https://github.com/altendky/qtrio/pull/211
qtrio ~=0.4.1
# TODO: Uncomment whenever we get to using sundog here.
Expand All @@ -37,14 +35,10 @@ pyqt5 =
# !=5.15.4 for https://github.com/altendky/ssst/issues/47
# it only really applies to macOS but i wasn't able to restrict to that
pyqt5 ~=5.15, !=5.15.4
# TODO: Should not need to duplicate the QTrio version info from above.
# https://github.com/pypa/pip/issues/9437
qtrio[pyqt5] ~=0.4.1
qtrio[pyqt5]
pyside2 =
pyside2 ~=5.15
# TODO: Should not need to duplicate the QTrio version info from above.
# https://github.com/pypa/pip/issues/9437
qtrio[pyside2] ~=0.4.1
qtrio[pyside2]
both =
%(pyqt5)s
%(pyside2)s
Expand Down
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ install_command =
# to describe the acceptable version range.
python -m pip install {opts} {packages} --constraint {toxinidir}/constraints/test.txt
setenv =
VIRTUALENV_PIP = 21.0.1
VIRTUALENV_PIP = 21.1.3
VIRTUALENV_DOWNLOAD = true

[testenv:test-py3{6,7,8,9}-{pyqt5,pyside2}]
Expand Down