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

Cope with missing version attribute on module #139

Merged
merged 5 commits into from
Jan 30, 2024

Conversation

lalten
Copy link
Contributor

@lalten lalten commented Jan 26, 2024

Fixes #95

The version attribute is technically required for non-root modules, but it should be ok for repos to not have it if they use the publish-to-bcr-bot to automatically patch it in when publishing to BCR.

@lalten lalten marked this pull request as draft January 26, 2024 12:51
@lalten lalten force-pushed the allow-missing-module-version branch from a430919 to c98cae5 Compare January 26, 2024 13:03
@lalten lalten marked this pull request as ready for review January 26, 2024 13:05
@kormide
Copy link
Collaborator

kormide commented Jan 26, 2024

Thanks for the fix! I'd like to get a new fixture/e2e in to test this, as well as unit tests for module-file.ts. Let me know if you want to do that, else I can take it over from here.

@lalten lalten requested review from fmeum and kormide January 30, 2024 20:04
@kormide kormide force-pushed the allow-missing-module-version branch from f245c8a to 037f706 Compare January 30, 2024 20:43
@kormide
Copy link
Collaborator

kormide commented Jan 30, 2024

Pushed some small fixes and additional tests.

@kormide kormide force-pushed the allow-missing-module-version branch from 037f706 to 0fc0c67 Compare January 30, 2024 20:45
@kormide
Copy link
Collaborator

kormide commented Jan 30, 2024

I want to add another test. I'll squash and merge when it's ready. Thanks!

@kormide kormide merged commit 4b72df8 into bazel-contrib:main Jan 30, 2024
2 checks passed
@lalten lalten deleted the allow-missing-module-version branch January 30, 2024 21:48
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.

Failed to publish entry for AndrewGuenther/rules_python_poetry@0.1 to the Bazel Central Registry.
3 participants