Skip to content

Navigation Menu

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 f414af5

Browse filesBrowse files
author
Douglas Greiman
authored
Merge pull request bazel-contrib#79 from calder/master
Support "+" in package versions.
2 parents 115e3a0 + 1b2621a commit f414af5
Copy full SHA for f414af5

File tree

3 files changed

+1
-1
lines changed
Filter options

3 files changed

+1
-1
lines changed

‎rules_python/whl.py

Copy file name to clipboardExpand all lines: rules_python/whl.py
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ def repository_name(self):
4646
# Returns the canonical name of the Bazel repository for this package.
4747
canonical = 'pypi__{}_{}'.format(self.distribution(), self.version())
4848
# Escape any illegal characters with underscore.
49-
return re.sub('[-.]', '_', canonical)
49+
return re.sub('[-.+]', '_', canonical)
5050

5151
def _dist_info(self):
5252
# Return the name of the dist-info directory within the .whl file.

‎tools/piptool.par

Copy file name to clipboard
1 Byte
Binary file not shown.

‎tools/whltool.par

Copy file name to clipboard
2 Bytes
Binary file not shown.

0 commit comments

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