This repository was archived by the owner on Apr 26, 2024. It is now read-only.
File tree 3 files changed +11
-8
lines changed
3 files changed +11
-8
lines changed Original file line number Diff line number Diff line change @@ -10,4 +10,7 @@ apt-get install -y python3.5 python3.5-dev python3-pip libxml2-dev libxslt-dev x
10
10
11
11
export LANG=" C.UTF-8"
12
12
13
+ # Prevent virtualenv from auto-updating pip to an incompatible version
14
+ export VIRTUALENV_NO_DOWNLOAD=1
15
+
13
16
exec tox -e py35-old,combine
Original file line number Diff line number Diff line change
1
+ Fix the Python 3.5 old dependencies build.
Original file line number Diff line number Diff line change @@ -18,11 +18,13 @@ deps =
18
18
# installed on that).
19
19
#
20
20
# anyway, make sure that we have a recent enough setuptools.
21
- setuptools>=18.5
21
+ setuptools>=18.5 ; python_version >= '3.6'
22
+ setuptools>=18.5,<51.0.0 ; python_version < '3.6'
22
23
23
24
# we also need a semi-recent version of pip, because old ones fail to
24
25
# install the "enum34" dependency of cryptography.
25
- pip>=10
26
+ pip>=10 ; python_version >= '3.6'
27
+ pip>=10,<21.0 ; python_version < '3.6'
26
28
27
29
# directories/files we run the linters on
28
30
lint_targets =
@@ -103,15 +105,10 @@ usedevelop=true
103
105
[testenv:py35-old]
104
106
skip_install =True
105
107
deps =
106
- # Ensure a version of setuptools that supports Python 3.5 is installed.
107
- setuptools < 51.0.0
108
-
109
108
# Old automat version for Twisted
110
109
Automat == 0.3.0
111
-
112
110
lxml
113
- coverage
114
- coverage-enable-subprocess ==1.0
111
+ {[base]deps}
115
112
116
113
commands =
117
114
# Make all greater-thans equals so we test the oldest version of our direct
@@ -168,6 +165,8 @@ commands = {toxinidir}/scripts-dev/generate_sample_config --check
168
165
skip_install = True
169
166
deps =
170
167
coverage
168
+ pip>=10 ; python_version >= '3.6'
169
+ pip>=10,<21.0 ; python_version < '3.6'
171
170
commands =
172
171
coverage combine
173
172
coverage report
You can’t perform that action at this time.
0 commit comments