Skip to content

Commit

Permalink
Package.platform is unused
Browse files Browse the repository at this point in the history
  • Loading branch information
dimbleby committed Jan 21, 2023
1 parent 128c2cf commit b3bdb6a
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
3 changes: 0 additions & 3 deletions src/poetry/core/factory.py
Original file line number Diff line number Diff line change
Expand Up @@ -152,9 +152,6 @@ def configure_package(
else:
package.readmes = tuple(root / readme for readme in config["readme"])

if "platform" in config:
package.platform = config["platform"]

if "dependencies" in config:
cls._add_package_group_dependencies(
package=package, group=MAIN_GROUP, dependencies=config["dependencies"]
Expand Down
1 change: 0 additions & 1 deletion src/poetry/core/packages/package.py
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,6 @@ def __init__(
self._python_constraint = parse_constraint("*")
self._python_marker: BaseMarker = AnyMarker()

self.platform = None
self.marker: BaseMarker = AnyMarker()

self.root_dir: Path | None = None
Expand Down

0 comments on commit b3bdb6a

Please sign in to comment.