Skip to content

Depend on the rules_pkg_providers module for the providers - #1107

Merged
aiuto merged 5 commits into
bazelbuild:mainfrom
aiuto:finish996
Nov 25, 2026
Merged

aiuto merged 5 commits into
bazelbuild:mainfrom
aiuto:finish996

Conversation

@aiuto

@aiuto aiuto commented Nov 25, 2026

Copy link
Copy Markdown
Collaborator

Fixes #996.

  • Use the published rules_pkg_providers 0.0.1 module for provider declarations
  • use a local_path_override so development picks up the providers in this tree.
  • pkg/providers.bzl now only re-exports them, so some legacy code may continue to work
  • WORKSPACE deps.bzl are updated to include the provider module.
  • This is a likely a breaking change for anyone who has patched the module and it definitely changes the module graph, so we bump the version to 2.0.0.

Fixes bazelbuild#996.

- Use the published rules_pkg_providers 0.0.1 module for provider declarations
- use a local_path_override so development picks up the providers in this tree.
- pkg/providers.bzl now only re-exports them, so some legacy code may continue to work
- WORKSPACE deps.bzl are updated to include the provider module.
- This is a likely a breaking change for anyone who has patched the module and it definitely changes the module graph, so we bump the version to 2.0.0.
@aiuto
aiuto marked this pull request as ready for review November 25, 2026 05:41
@aiuto
aiuto merged commit baeba65 into bazelbuild:main Nov 25, 2026
7 checks passed
@aiuto
aiuto deleted the finish996 branch November 25, 2026 17:43
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.

Move providers out of rules_pkg

2 participants