Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BazelDeps] glob() compatible with bazel 8.x #17444

Merged
merged 3 commits into from
Dec 11, 2024
Merged

Conversation

franramirez688
Copy link
Contributor

Changelog: Fix: Added explicitly allow_empty = True to glob() function in BazelDeps (bazel 8.x compatible).
Docs: omit
Closes: #17438

Note: Updated the installed versions of Bazel to the latest ones too.

Comment on lines +23 to +25
BAZEL_6_5_0=6.5.0 \
BAZEL_7_4_1=7.4.1 \
BAZEL_8_0_0=8.0.0
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Minor suggestion, name this with the major so we just need to change this part for future updates:

Suggested change
BAZEL_6_5_0=6.5.0 \
BAZEL_7_4_1=7.4.1 \
BAZEL_8_0_0=8.0.0
BAZEL_6=6.5.0 \
BAZEL_7=7.4.1 \
BAZEL_8=8.0.0

Comment on lines +149 to +158
"default": "7",
"6.5.0": {"path": {'Linux': '/usr/share/bazel-6.5.0/bin',
'Windows': 'C:/tools/bazel/6.5.0',
'Darwin': '/Users/runner/Applications/bazel/6.5.0'}},
"7.4.1": {"path": {'Linux': '/usr/share/bazel-7.4.1/bin',
'Windows': 'C:/tools/bazel/7.4.1',
'Darwin': '/Users/runner/Applications/bazel/7.4.1'}},
"8.0.0": {"path": {'Linux': '/usr/share/bazel-8.0.0/bin',
'Windows': 'C:/tools/bazel/8.0.0',
'Darwin': '/Users/runner/Applications/bazel/8.0.0'}},
Copy link
Contributor

@czoido czoido Dec 11, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If we put just the major we don't have to update the tests marks in case we change versions

Suggested change
"default": "7",
"6.5.0": {"path": {'Linux': '/usr/share/bazel-6.5.0/bin',
'Windows': 'C:/tools/bazel/6.5.0',
'Darwin': '/Users/runner/Applications/bazel/6.5.0'}},
"7.4.1": {"path": {'Linux': '/usr/share/bazel-7.4.1/bin',
'Windows': 'C:/tools/bazel/7.4.1',
'Darwin': '/Users/runner/Applications/bazel/7.4.1'}},
"8.0.0": {"path": {'Linux': '/usr/share/bazel-8.0.0/bin',
'Windows': 'C:/tools/bazel/8.0.0',
'Darwin': '/Users/runner/Applications/bazel/8.0.0'}},
"default": "7",
"6": {"path": {'Linux': '/usr/share/bazel-6.5.0/bin',
'Windows': 'C:/tools/bazel/6.5.0',
'Darwin': '/Users/runner/Applications/bazel/6.5.0'}},
"7": {"path": {'Linux': '/usr/share/bazel-7.4.1/bin',
'Windows': 'C:/tools/bazel/7.4.1',
'Darwin': '/Users/runner/Applications/bazel/7.4.1'}},
"8": {"path": {'Linux': '/usr/share/bazel-8.0.0/bin',
'Windows': 'C:/tools/bazel/8.0.0',
'Darwin': '/Users/runner/Applications/bazel/8.0.0'}},

@czoido czoido merged commit cc2bff1 into develop2 Dec 11, 2024
53 of 54 checks passed
@czoido czoido deleted the frm/bazel_8x_compatible branch December 11, 2024 13:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[bug] Bazel builds fail when the package provides no binaries
2 participants