Cap irc package requirement for <py34

irc 17.0 requires python >= 3.4 [1] which breaks
our py27 tox job. This caps the package at <17.0
if python<3.4 and requires irc=>17.0 if python>=3.4.

[1] https://pypi.org/project/irc/17.0/

Change-Id: I85f79c7e28dc2d6e8dfbfe96372c192c3d43b3be
Story: 2006736
Task: 37196
This commit is contained in:
Matt Riedemann 2019-10-16 16:25:15 -04:00
parent 076f49d2aa
commit 112e5a0202
1 changed files with 4 additions and 1 deletions

View File

@ -5,7 +5,10 @@ pytz
pyelasticsearch<1.0
gerritlib
python-daemon>=2.2.0
irc>=15.0.1
# NOTE(mriedem): irc 17.0 dropped support for py2 so use a capped version in
# that case.
irc>=15.0.1,<17.0;python_version<'3.4'
irc>=17.0;python_version>='3.4'
pyyaml
lockfile
Babel>=0.9.6