Skip to content

Commit

Permalink
Rename packaging._compat -> packaging._typing
Browse files Browse the repository at this point in the history
  • Loading branch information
edgarrmondragon committed Jan 20, 2024
1 parent 08fc194 commit c78d3d8
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
File renamed without changes.
2 changes: 1 addition & 1 deletion src/packaging/markers.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
import sys
from typing import Any, Callable, Dict, List, Optional, Tuple, Union, cast

from ._compat import TypedDict
from ._parser import (
MarkerAtom,
MarkerList,
Expand All @@ -18,6 +17,7 @@
parse_marker as _parse_marker,
)
from ._tokenizer import ParserSyntaxError
from ._typing import TypedDict
from .specifiers import InvalidSpecifier, Specifier
from .utils import canonicalize_name

Expand Down
2 changes: 1 addition & 1 deletion src/packaging/metadata.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
)

from . import requirements, specifiers, utils, version as version_module
from ._compat import Literal, TypedDict
from ._typing import Literal, TypedDict

T = typing.TypeVar("T")

Expand Down

0 comments on commit c78d3d8

Please sign in to comment.