Skip to content

Commit

Permalink
Temporary work-around for setuptools 36.0.0 bug. (ansible#25243)
Browse files Browse the repository at this point in the history
* Temporary work-around for setuptools 36.0.0 bug.
* Use older setuptools for pip integration test.
* Limit isort version to avoid new test failures.
  • Loading branch information
mattclay authored Jun 1, 2017
1 parent 343b830 commit 9d8aa43
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 0 deletions.
3 changes: 3 additions & 0 deletions test/integration/targets/pip/tasks/pip.yml
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,9 @@
- name: make sure the test env doesn't exist
file: state=absent name={{ output_dir }}/pipenv

- name: install a working version of setuptools in the virtualenv
pip: name=setuptools virtualenv={{ output_dir }}/pipenv state=present version=33.1.1

- name: create a requirement file with an vcs url
copy: dest={{ output_dir }}/pipreq.txt
content="-e git+https://github.com/dvarrazzo/pyiso8601#egg=pyiso8601"
Expand Down
1 change: 1 addition & 0 deletions test/runner/requirements/constraints.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@ coverage >= 4.2, != 4.3.2 # features in 4.2+ required, avoid known bug in 4.3.2
pywinrm >= 0.2.1 # 0.1.1 required, but 0.2.1 provides better performance
pylint >= 1.5.3, < 1.7.0 # 1.4.1 adds JSON output, but 1.5.3 fixes bugs related to JSON output
sphinx < 1.6 ; python_version < '2.7' # sphinx 1.6 and later require python 2.7 or later
isort < 4.2.8 # 4.2.8 changes import sort order requirements which breaks previously passing pylint tests
1 change: 1 addition & 0 deletions test/runner/tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,4 @@ changedir = {toxinidir}/../../
commands = {posargs}
passenv = HOME SHIPPABLE*
args_are_paths = False
deps = setuptools == 35.0.2

0 comments on commit 9d8aa43

Please sign in to comment.