Skip to content

Commit

Permalink
Remove typing-extensions dependency
Browse files Browse the repository at this point in the history
It is no longer required because the minimum required Python version is
3.8 which does provide the necessary types in `typing`.
  • Loading branch information
jgosmann committed Aug 1, 2023
1 parent 15c05b3 commit 8c4d170
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 4 deletions.
3 changes: 1 addition & 2 deletions dmarc_metrics_exporter/imap_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,9 @@
)
from dataclasses import dataclass
from enum import Enum
from typing import Callable, Coroutine, Dict, FrozenSet, Optional, Union
from typing import Callable, Coroutine, Dict, FrozenSet, Literal, Optional, Union

from bite import parse_incremental
from typing_extensions import Literal

from .imap_parser import response as response_grammar

Expand Down
2 changes: 1 addition & 1 deletion poetry.lock

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

1 change: 0 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@ bite-parser = "^0.2.3"
dataclasses-serialization = "^1.3.1"
prometheus_client = "^0.17.1"
python = "^3.8"
typing-extensions = "^4.0.1"
uvicorn = {extras = ["standard"], version = "^0.23.2"}
xsdata = ">=21.9"

Expand Down

0 comments on commit 8c4d170

Please sign in to comment.