Skip to content

Commit ee29aa3

Browse files
authored
fix: Use the older version of urllib3 (#815)
1 parent c1c096f commit ee29aa3

File tree

2 files changed

+12
-5
lines changed

2 files changed

+12
-5
lines changed

.github/workflows/integration-tests.yml

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,17 +11,23 @@ jobs:
1111
tests:
1212
name: Integration tests
1313
runs-on: ubuntu-20.04
14+
strategy:
15+
max-parallel: 1
16+
matrix:
17+
python-version:
18+
- '3.6'
19+
- '3.8'
1420
steps:
1521
- name: Checkout
1622
uses: actions/checkout@v2
17-
- name: Set up Python 3.6
23+
- name: Set up Python ${{ matrix.python-version }}
1824
uses: actions/setup-python@v2
1925
with:
20-
python-version: '3.6'
26+
python-version: ${{ matrix.python-version }}
2127
- name: Install dependencies
2228
run: |
2329
python -m pip install --upgrade pip
24-
python -m pip install tox
30+
python -m pip install -e ".[dev]"
2531
- name: Run integration tests
2632
run: |
2733
tox -e integration-tests

setup.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,14 +53,15 @@ def main():
5353
base_dir = dirname(__file__)
5454
install_requires = [
5555
'attrs>=17.3.0',
56-
'requests>=2.4.3',
56+
'urllib3<2',
57+
'requests>=2.4.3,<3',
5758
'requests-toolbelt>=0.4.0',
5859
'python-dateutil', # To be removed after dropping Python 3.6
5960
]
6061
redis_requires = ['redis>=2.10.3']
6162
jwt_requires = ['pyjwt>=1.7.0', 'cryptography>=3']
6263
coveralls_requires = ['coveralls']
63-
dev_requires = ['tox']
64+
dev_requires = ['tox<=3.28.0']
6465
gh_requires = ['tox-gh-actions']
6566
test_requires = [
6667
'bottle',

0 commit comments

Comments
 (0)