Skip to content

Commit 60e58fa

Browse files
Drop Python 3.9 support as it was already broken (#67)
* Drop Python 3.9 support as it was already broken * chore(pre-commit.ci): auto fixes * remove ci job as well --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
1 parent d8a9178 commit 60e58fa

File tree

6 files changed

+9
-7
lines changed

6 files changed

+9
-7
lines changed

.github/workflows/ci.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111

1212
strategy:
1313
matrix:
14-
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"]
14+
python-version: ["3.10", "3.11", "3.12", "3.13"]
1515

1616
steps:
1717
- uses: actions/checkout@v4

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ repos:
3535
rev: v3.19.0
3636
hooks:
3737
- id: pyupgrade
38-
args: [--py39-plus]
38+
args: [--py310-plus]
3939
# - repo: https://github.com/pre-commit/mirrors-mypy
4040
# rev: v1.11.2
4141
# hooks:

onvif/client.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,8 @@
66
import datetime as dt
77
import logging
88
import os.path
9-
from typing import Any, Callable
9+
from typing import Any
10+
from collections.abc import Callable
1011

1112
import httpx
1213
from httpx import AsyncClient, BasicAuth, DigestAuth

onvif/managers.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,8 @@
66
import asyncio
77
import datetime as dt
88
import logging
9-
from typing import TYPE_CHECKING, Any, Callable
9+
from typing import TYPE_CHECKING, Any
10+
from collections.abc import Callable
1011

1112
import httpx
1213
from httpx import TransportError

onvif/wrappers.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,8 @@
55
import asyncio
66
from collections.abc import Awaitable
77
import logging
8-
from typing import Callable, ParamSpec, TypeVar
8+
from typing import ParamSpec, TypeVar
9+
from collections.abc import Callable
910

1011
import httpx
1112

setup.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@
2525
"Topic :: Utilities",
2626
"Programming Language :: Python",
2727
"Programming Language :: Python :: 3",
28-
"Programming Language :: Python :: 3.9",
2928
"Programming Language :: Python :: 3.10",
3029
"Programming Language :: Python :: 3.11",
3130
"Programming Language :: Python :: 3.12",
@@ -45,7 +44,7 @@
4544
keywords=["ONVIF", "Camera", "IPC"],
4645
url="http://github.com/hunterjm/python-onvif-zeep-async",
4746
zip_safe=False,
48-
python_requires=">=3.9",
47+
python_requires=">=3.10",
4948
packages=find_packages(exclude=["docs", "examples", "tests"]),
5049
install_requires=requires,
5150
package_data={

0 commit comments

Comments
 (0)