Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit cfcc675

Browse filesBrowse files
Co-authored-by: Andy Scott <andyscott@users.noreply.github.com>
1 parent 06672cd commit cfcc675
Copy full SHA for cfcc675

File tree

1 file changed

+2
-2
lines changed
Filter options

1 file changed

+2
-2
lines changed

‎packaging/whl.py

Copy file name to clipboardExpand all lines: packaging/whl.py
+2-2Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ def dependencies(self, extra=None):
8080
of the named "extra".
8181
8282
Yields:
83-
the names of requirements from the metadata.json
83+
the names of requirements from the metadata.json, in lexical order.
8484
"""
8585
# TODO(mattmoor): Is there a schema to follow for this?
8686
dependency_set = set()
@@ -101,7 +101,7 @@ def dependencies(self, extra=None):
101101
parts = re.split('[ ><=()]', entry)
102102
dependency_set.add(parts[0])
103103

104-
return dependency_set
104+
return sorted(dependency_set)
105105

106106
def extras(self):
107107
return self.metadata().get('extras', [])

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.