Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

export: replace in-tree implementation with poetry-plugin-export #5413

Merged
merged 8 commits into from
Apr 16, 2022
Prev Previous commit
Next Next commit
locker: fix project marker type hinting
  • Loading branch information
abn committed Apr 12, 2022
commit 2216fc11751add00b50b25a95c02a4cfe633e27a
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 @@ -316,7 +315,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