Added urllib3 < 2.X compatibility for the Retry object #182
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Tests | |
on: push | |
jobs: | |
tests: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
python-version: [ | |
'3.8', | |
'3.9', | |
'3.10', | |
'3.11', | |
'3.12', | |
] | |
include: | |
- python-version: '3.9' | |
post-venv: 'venv/bin/pip install "urllib3<2" "requests<=2.30" "types-requests<=2.30"' | |
name: Python ${{ matrix.python-version }} ${{ matrix.post-venv }} | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-python@v5 | |
with: | |
python-version: ${{ matrix.python-version }} | |
architecture: x64 | |
- run: make venv | |
- if: ${{ matrix.post-venv }} | |
run: ${{ matrix.post-venv }} | |
- run: make test | |
- run: make lint |