Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
setuptools
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Jérome Perrin
setuptools
Commits
8e6b9933
Commit
8e6b9933
authored
Jan 12, 2020
by
Jason R. Coombs
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Restore testing on Python 2, bypassing the requires-python check when installing setuptools.
parent
33593778
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
12 additions
and
1 deletion
+12
-1
.travis.yml
.travis.yml
+4
-0
tools/tox_pip.py
tools/tox_pip.py
+5
-0
tox.ini
tox.ini
+3
-1
No files found.
.travis.yml
View file @
8e6b9933
...
...
@@ -4,6 +4,10 @@ language: python
jobs
:
fast_finish
:
true
include
:
-
&latest_py2
python
:
2.7
-
<<
:
*latest_py2
env
:
LANG=C
-
python
:
pypy3
env
:
DISABLE_COVERAGE=1
# Don't run coverage on pypy (too slow).
-
python
:
3.5
...
...
tools/tox_pip.py
View file @
8e6b9933
import
os
import
subprocess
import
sys
...
...
@@ -14,6 +15,10 @@ def remove_setuptools():
def
pip
(
args
):
# Honor requires-python when installing test suite dependencies
if
any
(
'-r'
in
arg
for
arg
in
args
):
os
.
environ
[
'PIP_IGNORE_REQUIRES_PYTHON'
]
=
'0'
# When installing '.', remove setuptools
'.'
in
args
and
remove_setuptools
()
...
...
tox.ini
View file @
8e6b9933
...
...
@@ -19,7 +19,9 @@ deps=-r{toxinidir}/tests/requirements.txt
pip_version
=
pip
install_command
=
{[helpers]pip} install {opts} {packages}
list_dependencies_command
=
{[helpers]pip} freeze --all
setenv
=
COVERAGE_FILE={toxworkdir}/.coverage.{envname}
setenv
=
COVERAGE_FILE
=
{toxworkdir}/.coverage.{envname}
py27:
PIP_IGNORE_REQUIRES_PYTHON
=
true
# TODO: The passed environment variables came from copying other tox.ini files
# These should probably be individually annotated to explain what needs them.
passenv
=
APPDATA HOMEDRIVE HOMEPATH windir APPVEYOR APPVEYOR_* CI CODECOV_* TRAVIS TRAVIS_* NETWORK_REQUIRED
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment