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

Prepare next release #131

Merged
merged 5 commits into from
Jul 2, 2024
Merged

Conversation

martis42
Copy link
Contributor

@martis42 martis42 commented Jun 1, 2024

Some of the changes are opinionated. Most are independent from each other and can be dropped if demanded.

Full details are in the commit messages.

This is superfluous noise as we don't deploy the examples
The default value is 0. While the next release will be a breaking change,
imho the compatibility_level is counted starting with the first bzlmod
release, which is still pending.
The compatibility_level is remove completely, as the bazel-central-registry
maintainers don't want modules to explicitly mention the default value.
We should be aware of incompatibilities to upcoming Bazel versions as early
as possible.
We reorder the arguments as increasing version from left to right seems to
be the dominant style in the bcr.
The tests in the examples directory ensure the bazelized mypy understands
a lot of Python code examples. This is great, but is missing testing for
expected failures. The test script in the root module does perform such
tests.
Ideally, there would be a directory with all relevant integration tests
which uses the root module as external dependency. For now this largish
refactoring is out of scope and thus we test both the root module itself
and the examples.
- Advertise bzlmod as preferred option due to WORKSPACE being legacy
- Do not explain how to use bzlmod. The information is not sufficient to
  understand properly what bzlmod is about for somebody new to bzlmod.
  The information is superfluous for everybody who has read the bzlmod doc.
- Fix WORKSPACE template to work with current HEAD
- "//..."
shell_commands:
- ./test.sh
test_examples:

Choose a reason for hiding this comment

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

+1 to this as part of CI.

@martis42
Copy link
Contributor Author

@adzenith
Friendly ping for review

Copy link
Collaborator

@adzenith adzenith left a comment

Choose a reason for hiding this comment

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

Thank you!

@adzenith adzenith merged commit 9312347 into bazel-contrib:main Jul 2, 2024
4 checks passed
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.

None yet

3 participants