Commit cd55272
Fix errors with incompatible_disallow_empty_glob (#315)
Allow py_library sources to be empty.
If --incompatible_disallow_empty_glob is set then generated py_library
targets will fail if there are no .py files.
Examples are pymssql==2.1.4 and cx-Oracle==7.2.3.
Set `allow_empty = True` for glob().
Bazel issue for incompatible_disallow_empty_glob:
bazelbuild/bazel#8195
Co-authored-by: Andy Scott <[email protected]>1 parent cfcc675 commit cd55272
1 file changed
+8
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
133 | 133 | | |
134 | 134 | | |
135 | 135 | | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
136 | 143 | | |
137 | 144 | | |
138 | 145 | | |
| |||
148 | 155 | | |
149 | 156 | | |
150 | 157 | | |
151 | | - | |
| 158 | + | |
152 | 159 | | |
153 | 160 | | |
154 | 161 | | |
| |||
0 commit comments