8000 Merge pull request #79 from calder/master · renovate-bot/rules_python@f414af5 · GitHub
[go: up one dir, main page]

Skip to content

Commit f414af5

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

File tree

3 files changed

+1
-1
lines changed

3 files changed

+1
-1
lines changed

rules_python/whl.py

Lines 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

1 Byte
Binary file not shown.

tools/whltool.par

2 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)
0