vaticle / bazel-distribution

Bazel rules for assembling and deploying software distributions (see @vaticle for usage example)
https://bazel.build
Apache License 2.0
155 stars 53 forks source link

Update rules_* bazel dependencies #378

Closed flyingsilverfin closed 10 months ago

flyingsilverfin commented 12 months ago

What is the goal of this PR?

We follow the upgrade of bazel to 6.3.0 to upgrade our dependencies to the latest versions, in particular of rules_python, rules_pkg, and rules_jvm_external. Following these upgrades, we can also remove some hacks around documentation generation.

What are the changes implemented in this PR?

We also have to allow assemble_maven to proceed when there is no pom or runtime_output_jar produced. This appears to produce no errors, but is related to discussions in https://github.com/vaticle/bazel-distribution/issues/335 . The requirement to relax assemble_maven comes from trying to build https://github.com/flyingsilverfin/typedb-protocol/commit/546028d9e26ba082204a5c19df83510e5d4f5abd for the //grpc/java:assemble-maven target, which fails without the relaxation of the assemble_maven rule.

vaticle-bot commented 12 months ago

PR Review Checklist

Do not edit the content of this comment. The PR reviewer should simply update this comment by ticking each review item below, as they get completed.


Trivial Change

Code

Architecture

flyingsilverfin commented 11 months ago

We are going to park this PR until we want to revisit upgrading the Bazel dependencies. This work can continue after the FFI-based clients are completed.

flyingsilverfin commented 10 months ago

Closing since incorporated in https://github.com/vaticle/bazel-distribution/pull/382