Commit 1090b6c
authored
fix: allow pypi packages with empty data attribute (#3463)
An empty glob under site-packages (after excluding code and pyi files)
is a bit strange,
but not actually incorrect. If such a situation occurs, it would cause a
failure because
Bazel has since changed to disallow empty globs by default.
To fix, just set allow_empty=True on the data glob.1 parent b8d2e9b commit 1090b6c
File tree
2 files changed
+3
-1
lines changed- python/private/pypi
- tests/pypi/whl_library_targets
2 files changed
+3
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
356 | 356 | | |
357 | 357 | | |
358 | 358 | | |
| 359 | + | |
359 | 360 | | |
360 | 361 | | |
361 | 362 | | |
| |||
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
275 | 275 | | |
276 | 276 | | |
277 | 277 | | |
| 278 | + | |
278 | 279 | | |
279 | 280 | | |
280 | 281 | | |
| |||
457 | 458 | | |
458 | 459 | | |
459 | 460 | | |
460 | | - | |
| 461 | + | |
461 | 462 | | |
462 | 463 | | |
463 | 464 | | |
| |||
0 commit comments