diff --git a/CHANGELOG.md b/CHANGELOG.md index b03420a..2ef61e2 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,7 @@ +v0.3.0 (in development) +----------------------- +- Remove unused `typing_extensions` dependency + v0.2.2 (2024-12-01) ------------------- - Support Python 3.10, 3.11, 3.12, and 3.13 diff --git a/pyproject.toml b/pyproject.toml index 2fec42f..90597a2 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -44,7 +44,6 @@ classifiers = [ dependencies = [ "attrs >= 18.1", - "typing_extensions; python_version < '3.8'", ] [project.urls] diff --git a/src/mailbits/__init__.py b/src/mailbits/__init__.py index d968a65..648a085 100644 --- a/src/mailbits/__init__.py +++ b/src/mailbits/__init__.py @@ -12,7 +12,7 @@ Visit for more information. """ -__version__ = "0.2.2" +__version__ = "0.3.0.dev1" __author__ = "John Thorvald Wodder II" __author_email__ = "mailbits@varonathe.org" __license__ = "MIT" diff --git a/src/mailbits/email2dict.py b/src/mailbits/email2dict.py index a9b5e04..f1e3f76 100644 --- a/src/mailbits/email2dict.py +++ b/src/mailbits/email2dict.py @@ -4,15 +4,9 @@ from email import headerregistry as hr from email.message import Message import inspect -import sys -from typing import Any, Optional +from typing import Any, Optional, TypedDict from .misc import message2email, parse_addresses -if sys.version_info[:2] >= (3, 8): - from typing import TypedDict -else: - from typing_extensions import TypedDict - class MessageDict(TypedDict): unixfrom: Optional[str]