From 019bade19cd20aaebb6dd1f423ab2dbb15cd12a1 Mon Sep 17 00:00:00 2001 From: Andreas Jaeger Date: Tue, 2 Jun 2020 21:42:05 +0200 Subject: [PATCH] Remove =py3.7 There's no good reason for our requirements.txt to be "unspported" by the openstack requirements check job. Since they only support >=py3.5 we can change our requirements.txt inline with that. This should be fine for everything we could hope to get out of both our requirements.txt and the check! Co-Authored-By: Clay Gerrard Change-Id: Ibf8000498528c401707be8b0b91b8355cd993786 --- doc/requirements.txt | 3 +-- requirements.txt | 11 +++++++++-- 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/doc/requirements.txt b/doc/requirements.txt index 88f49c6636..00197779f8 100644 --- a/doc/requirements.txt +++ b/doc/requirements.txt @@ -2,8 +2,7 @@ # of appearance. Changing the order has an impact on the overall integration # process, which may cause wedges in the gate later. # this is required for the docs build jobs -sphinx>=1.6.2,<2.0.0;python_version=='2.7' # BSD -sphinx>=1.6.2;python_version>='3.4' # BSD +sphinx>=1.6.2 # BSD openstackdocstheme>=1.30.0 # Apache-2.0 reno>=1.8.0 # Apache-2.0 os-api-ref>=1.0.0 # Apache-2.0 diff --git a/requirements.txt b/requirements.txt index d4c994af27..223fc617b2 100644 --- a/requirements.txt +++ b/requirements.txt @@ -2,7 +2,6 @@ # of appearance. Changing the order has an impact on the overall integration # process, which may cause wedges in the gate later. -dnspython>=1.15.0;python_version=='2.7' # http://www.dnspython.org/LICENSE eventlet>=0.25.0 # MIT greenlet>=0.3.2 netifaces>=0.8,!=0.10.0,!=0.10.1 @@ -13,4 +12,12 @@ six>=1.10.0 xattr>=0.4;sys_platform!='win32' # MIT PyECLib>=1.3.1 # BSD cryptography>=2.0.2 # BSD/Apache-2.0 -ipaddress>=1.0.16;python_version<'3.3' # PSF + +# For python 2.7, the following requirements are needed; they are not +# included since the requirments-check check will fail otherwise since +# global requirements do not support these anymore. +# Fortunately, these packages come in as dependencies from others and +# thus the py27 jobs still work. +# +# dnspython>=1.15.0;python_version=='2.7' # http://www.dnspython.org/LICENSE +# ipaddress>=1.0.16;python_version<'3.3' # PSF