From 112e5a020214ece95aab7ccddad7cafd8196d7ea Mon Sep 17 00:00:00 2001 From: Matt Riedemann Date: Wed, 16 Oct 2019 16:25:15 -0400 Subject: [PATCH] Cap irc package requirement for = 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 --- requirements.txt | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index dbbb97b2..8a695130 100644 --- a/requirements.txt +++ b/requirements.txt @@ -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