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

[tools] Fix some skylark deprecations #22187

Merged

Conversation

jwnimmer-tri
Copy link
Collaborator

@jwnimmer-tri jwnimmer-tri commented Nov 15, 2024

In Bazel 8, certain skylark API are deprecated:

  • Stop using the deprecated to_json method.
  • Fix gather_transitive_hdrs to use a provider; using a bare struct is deprecated.

Towards #22182.


This change is Reviewable

In Bazel 8, certain skylark API are deprecated:
- Stop using the deprecated to_json method.
- Fix gather_transitive_hdrs to use a provider; using a bare
  struct is deprecated.
@jwnimmer-tri jwnimmer-tri added priority: low status: single reviewer ok https://drake.mit.edu/reviewable.html release notes: none This pull request should not be mentioned in the release notes labels Nov 15, 2024
@jwnimmer-tri
Copy link
Collaborator Author

jwnimmer-tri commented Nov 15, 2024

+@xuchenhan-tri for feature both reviews, please.

Copy link
Contributor

@xuchenhan-tri xuchenhan-tri left a comment

Choose a reason for hiding this comment

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

:lgtm:x2

Reviewed 2 of 2 files at r1, all commit messages.
Reviewable status: :shipit: complete! all discussions resolved, LGTM from assignee xuchenhan-tri(platform)

@xuchenhan-tri xuchenhan-tri merged commit 94109b0 into RobotLocomotion:master Nov 15, 2024
9 checks passed
@jwnimmer-tri jwnimmer-tri deleted the skylark-deprecations-800 branch November 15, 2024 22:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
priority: low release notes: none This pull request should not be mentioned in the release notes status: single reviewer ok https://drake.mit.edu/reviewable.html
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants