Skip to content

Commit

Permalink
feat: Add support of Python 3.12
Browse files Browse the repository at this point in the history
Fix typing_extensions dep
  • Loading branch information
akalex committed Dec 15, 2023
1 parent 8a40b6f commit 502b8e0
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 9 deletions.
7 changes: 5 additions & 2 deletions async_customerio/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,12 @@
Implements the client that interacts with Customer.io"s App API using app keys.
"""
import base64
from typing import Dict, Literal, Optional, Union

from typing_extensions import TypedDict

try:
from typing import Dict, Literal, Optional, TypedDict, Union
except ImportError:
from typing_extensions import Dict, Literal, Optional, TypedDict, Union # type: ignore

from async_customerio.client_base import AsyncClientBase
from async_customerio.errors import AsyncCustomerIOError
Expand Down
12 changes: 6 additions & 6 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ classifiers = [
python = ">=3.7.15,<3.13"

httpx = "<1.0.0"
typing_extensions = { version = "^4.9", python = ">=3.8,<3.13" }
typing_extensions = { version = "^4.7.1", python = "^3.7" }

[tool.poetry.dev-dependencies]
pre-commit = "~2.21"
Expand Down

0 comments on commit 502b8e0

Please sign in to comment.