Skip to content

Commit 83602cc

Browse files
authored
Bump required version of urllib3 to 2.0.2 (#79)
1 parent e124083 commit 83602cc

File tree

5 files changed

+71
-21
lines changed

5 files changed

+71
-21
lines changed

.github/workflows/ci.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,17 +15,17 @@ jobs:
1515
runs-on: ubuntu-latest
1616
steps:
1717
- name: Check out the repository
18-
uses: actions/checkout@v2
18+
uses: actions/checkout@v4
1919

2020
- name: Set up Python ${{ matrix.python-version }}
21-
uses: actions/setup-python@v2
21+
uses: actions/setup-python@v5
2222
with:
2323
python-version: ${{ matrix.python-version }}
2424

2525
- name: Install Poetry
26-
uses: abatilo/actions-poetry@v2.1.0
26+
uses: abatilo/actions-poetry@v3
2727
with:
28-
poetry-version: 1.5.1
28+
poetry-version: 2.0.1
2929

3030
- name: Install dependencies
3131
run: poetry install

gpsoauth/__init__.py

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,15 +7,14 @@
77
from typing import Any, Iterable
88

99
import requests
10-
11-
# Type annotations for urllib3 will be released with v2.
12-
from urllib3.poolmanager import PoolManager # type: ignore[import]
10+
from urllib3.poolmanager import PoolManager
1311

1412
from . import google
1513

1614
SSL_DEFAULT_CIPHERS = None
1715
if version("urllib3") < "2.0.0a1":
18-
from urllib3.util.ssl_ import DEFAULT_CIPHERS # type: ignore[import]
16+
# pylint: disable-next=no-name-in-module
17+
from urllib3.util.ssl_ import DEFAULT_CIPHERS
1918

2019
SSL_DEFAULT_CIPHERS = DEFAULT_CIPHERS
2120

0 commit comments

Comments
 (0)