typedb / bazel-distribution

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

Update bazel rule sets and allow python packaging to include generated files #382

Closed dmikhalin closed 1 year ago

dmikhalin commented 1 year ago

What is the goal of this PR?

We upgrade rule sets rules_python and rules_pkg, and remove unnecessary workarounds related to documentation generation with stardoc.

We also fix python packaging to allow including generated library files. Generated library files for python are automatically put into the bazel-out/.../bin directory and the module can't reach them. We move these files into the module directory.

What are the changes implemented in this PR?

typedb-bot commented 1 year 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 1 year ago

We have rolled in the changes from https://github.com/vaticle/bazel-distribution/pull/378 into this PR, except the nodejs permissioning error fix, which should be easy enough to re-create.

Comments in that PR describe some of the upgrades and changes, especially related to stardoc.