Skip to content

Commit

Permalink
locker: fix project marker type hinting
Browse files Browse the repository at this point in the history
  • Loading branch information
abn authored and radoering committed Apr 16, 2022
1 parent bd64610 commit 6b53a1e
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/poetry/packages/locker.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@


if TYPE_CHECKING:
from poetry.core.semver.version_constraint import VersionConstraint
from poetry.core.version.markers import BaseMarker
from tomlkit.items import InlineTable
from tomlkit.toml_document import TOMLDocument
Expand Down Expand Up @@ -317,7 +316,7 @@ def get_project_dependencies(
def get_project_dependency_packages(
self,
project_requires: list[Dependency],
project_python_marker: VersionConstraint | None = None,
project_python_marker: BaseMarker | None = None,
dev: bool = False,
extras: bool | Sequence[str] | None = None,
) -> Iterator[DependencyPackage]:
Expand Down

0 comments on commit 6b53a1e

Please sign in to comment.