Skip to content

Commit f8fe4ca

Browse files
committed
feat(pypi) Handle local version in requirement parsing
1 parent 155efce commit f8fe4ca

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

python/private/pypi/parse_requirements.bzl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ def parse_requirements(
9292
# are returned as just the base package name. e.g., `foo[bar]` results
9393
# in an entry like `("foo", "foo[bar] == 1.0 ...")`.
9494
requirements_dict = {
95-
normalize_name(entry[0]): entry
95+
entry[1]: entry
9696
for entry in sorted(
9797
parse_result.requirements,
9898
# Get the longest match and fallback to original WORKSPACE sorting,

0 commit comments

Comments
 (0)