Skip to content

Commit ee076f0

Browse files
feat: drop support for Python 3.8 (#1171)
* feat: drop support for Python 3.8 Committed via https://github.com/asottile/all-repos * chore(pre-commit.ci): auto fixes --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
1 parent 7024f14 commit ee076f0

6 files changed

Lines changed: 10 additions & 9 deletions

File tree

.github/workflows/ci.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@ jobs:
1818
fail-fast: false
1919
matrix:
2020
python-version:
21-
- "3.8"
2221
- "3.9"
2322
- "3.10"
2423
- "3.11"

poetry.lock

Lines changed: 2 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ packages = [
3131
"Mastodon" = "https://fosstodon.org/@browniebroke"
3232

3333
[tool.poetry.dependencies]
34-
python = "^3.8"
34+
python = "^3.9"
3535
httpx = ">=0.23.0"
3636

3737
[tool.poetry.group.docs]
@@ -54,7 +54,7 @@ vcrpy = "^6.0.0"
5454
deezer-oauth-cli = "^1.0.0"
5555

5656
[tool.ruff]
57-
target-version = "py38"
57+
target-version = "py39"
5858
line-length = 120
5959

6060
lint.select = [

src/deezer/pagination.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
from __future__ import annotations
22

3-
from typing import Generator, Generic, TypeVar, overload
3+
from collections.abc import Generator
4+
from typing import Generic, TypeVar, overload
45
from urllib.parse import parse_qs, urlparse
56

67
import deezer

src/deezer/resources/playlist.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
from __future__ import annotations
22

3-
from typing import TYPE_CHECKING, Iterable
3+
from collections.abc import Iterable
4+
from typing import TYPE_CHECKING
45

56
from ..utils import gen_ids
67
from .resource import Resource

src/deezer/utils.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
from __future__ import annotations
22

3-
from typing import TYPE_CHECKING, Generator, Iterable
3+
from collections.abc import Generator, Iterable
4+
from typing import TYPE_CHECKING
45

56
if TYPE_CHECKING:
67
from deezer import Resource

0 commit comments

Comments
 (0)