Skip to content

Commit

Permalink
sort package name in extras to make it reproducible
Browse files Browse the repository at this point in the history
  • Loading branch information
ali5h committed Feb 3, 2022
1 parent 3bdd0cf commit 347bbeb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/poetry/core/packages/dependency.py
Original file line number Diff line number Diff line change
Expand Up @@ -253,7 +253,7 @@ def base_pep_508_name(self) -> str:
requirement = self.pretty_name

if self.extras:
extras = ",".join(self.extras)
extras = ",".join(sorted(self.extras))
requirement += f"[{extras}]"

if isinstance(self.constraint, VersionUnion):
Expand Down

0 comments on commit 347bbeb

Please sign in to comment.