Skip to content

Commit

Permalink
Test/CI: Update to current requests package.
Browse files Browse the repository at this point in the history
  • Loading branch information
bjones1 committed Aug 21, 2018
1 parent 80b32b0 commit 45bb27b
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 61 deletions.
13 changes: 0 additions & 13 deletions PyInstaller/hooks/hook-requests.py

This file was deleted.

This file was deleted.

15 changes: 0 additions & 15 deletions tests/functional/test_libraries.py
Original file line number Diff line number Diff line change
Expand Up @@ -516,21 +516,6 @@ def test_requests(tmpdir, pyi_builder, data_dir, monkeypatch):
pyi_args=['--add-data', datas])


@importorskip('requests.packages.urllib3.packages.six')
def test_requests_urllib3_six(pyi_builder):
# Test for pre-safe-import requests.packages.urllib3.packages.six.moves.
pyi_builder.test_source(
"""
import requests.packages.urllib3.connectionpool
import types
assert isinstance(requests.packages.urllib3.connectionpool.queue,
types.ModuleType)
""",
# Need to exclude urllib3, otherwise requests.packages would
# fall back to this
pyi_args=['--exclude-module', 'urllib3'])


@importorskip('urllib3.packages.six')
def test_urllib3_six(pyi_builder):
# Test for pre-safe-import urllib3.packages.six.moves.
Expand Down
4 changes: 3 additions & 1 deletion tests/requirements-libraries.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@
# ----------
# These packages, if updated, produce test failures. Work needs to be done on
# these hooks.
requests==2.15.1 # pyup: ignore
#
# None at this time.


# Working
Expand Down Expand Up @@ -46,6 +47,7 @@ matplotlib==2.2.2
python-dateutil==2.7.3
phonenumbers==8.9.10
gevent==1.3.6
requests==2.19.1


# Special cases
Expand Down

0 comments on commit 45bb27b

Please sign in to comment.