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 915f21b

Browse filesBrowse files
martis42Jonathon Belotti
and
Jonathon Belotti
authored
Make lazily fetching dependencies compatible to disallow_empty_glob (bazel-contrib#477)
Some python packages are provided as ".tar.gz" instead of ".whl". In such cases globbing for ".whl" files returns an empty result. Co-authored-by: Jonathon Belotti <jonathon@canva.com>
1 parent ce19337 commit 915f21b
Copy full SHA for 915f21b

File tree

Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed
Filter options
  • python/pip_install/extract_wheels/lib
Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed

‎python/pip_install/extract_wheels/lib/bazel.py

Copy file name to clipboardExpand all lines: python/pip_install/extract_wheels/lib/bazel.py
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ def generate_build_file_contents(
3939
4040
filegroup(
4141
name="{whl_file_label}",
42-
srcs=glob(["*.whl"]),
42+
srcs=glob(["*.whl"], allow_empty = True),
4343
data=[{whl_file_deps}]
4444
)
4545

0 commit comments

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