Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
dimbleby committed Sep 22, 2024
1 parent 9be05b4 commit f684cb6
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/poetry/puzzle/solver.py
Original file line number Diff line number Diff line change
Expand Up @@ -186,9 +186,7 @@ def _solve(self) -> tuple[list[Package], list[int]]:
else:
_dep = _package.requires[index]
if _dep.marker != dep.marker:
# marker of feature package is more accurate
# because it includes relevant extras
_dep.marker = dep.marker
_package.add_dependency(dep)
else:
final_packages.append(package)
depths.append(results[package])
Expand Down

0 comments on commit f684cb6

Please sign in to comment.