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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy