Skip to content

Drop Python 3.9 support as it was already broken #67

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Dec 3, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:

strategy:
matrix:
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"]
python-version: ["3.10", "3.11", "3.12", "3.13"]

steps:
- uses: actions/checkout@v4
Expand Down
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ repos:
rev: v3.19.0
hooks:
- id: pyupgrade
args: [--py39-plus]
args: [--py310-plus]
# - repo: https://github.com/pre-commit/mirrors-mypy
# rev: v1.11.2
# hooks:
Expand Down
3 changes: 2 additions & 1 deletion onvif/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@
import datetime as dt
import logging
import os.path
from typing import Any, Callable
from typing import Any
from collections.abc import Callable

import httpx
from httpx import AsyncClient, BasicAuth, DigestAuth
Expand Down
3 changes: 2 additions & 1 deletion onvif/managers.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@
import asyncio
import datetime as dt
import logging
from typing import TYPE_CHECKING, Any, Callable
from typing import TYPE_CHECKING, Any
from collections.abc import Callable

import httpx
from httpx import TransportError
Expand Down
3 changes: 2 additions & 1 deletion onvif/wrappers.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@
import asyncio
from collections.abc import Awaitable
import logging
from typing import Callable, ParamSpec, TypeVar
from typing import ParamSpec, TypeVar
from collections.abc import Callable

import httpx

Expand Down
3 changes: 1 addition & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@
"Topic :: Utilities",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
Expand All @@ -45,7 +44,7 @@
keywords=["ONVIF", "Camera", "IPC"],
url="http://github.com/hunterjm/python-onvif-zeep-async",
zip_safe=False,
python_requires=">=3.9",
python_requires=">=3.10",
packages=find_packages(exclude=["docs", "examples", "tests"]),
install_requires=requires,
package_data={
Expand Down
Loading