Skip to content

Commit

Permalink
plugin: fix type error setting requirement.marker.
Browse files Browse the repository at this point in the history
  • Loading branch information
whitequark committed Oct 4, 2023
1 parent 613cdc1 commit 69d23bf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion software/glasgow/support/plugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ def _requirements_for_optional_dependencies(distribution, depencencies):
for requirement in requirements:
if requirement.marker and requirement.marker.evaluate({"extra": dependency}):
requirement = packaging.requirements.Requirement(str(requirement))
requirement.marker = ""
requirement.marker = None
selected_requirements.add(requirement)
return selected_requirements

Expand Down

0 comments on commit 69d23bf

Please sign in to comment.