Coder Social home page Coder Social logo

Comments (5)

jwnimmer-tri avatar jwnimmer-tri commented on June 2, 2024

We should switch to bzlmod at some point in the future -- it's intended to be the forward-looking workspace mechanism for Bazel.

However, at the moment it is a very new feature of Bazel, and we don't yet want to force a very-new minimum Bazel version upon our users. (We currently support down to Bazel 5.1, and Bazel 7.x is barely a month old currently.)

I imagine sometime in the next six(?) months we'll switch to require Bazel >= 7.0 as our minimum (after we drop Ubuntu 20.04 support), and that would be a good time to start poking at bzlmod.

from drake.

aminya avatar aminya commented on June 2, 2024

Note that Bazel 5 supports Bazel modules too. Bazel 7 just enforces the use of modules unless --noenable-bzlmod is passed.

https://docs.bazel.build/versions/5.0.0/bzlmod.html

from drake.

jwnimmer-tri avatar jwnimmer-tri commented on June 2, 2024

My impression is that there are a non-trivial number of important fixes and features related to bzlmod that have not been backported to 5.x nor 6.x, such that trying to use bzlmod in <7.x would be a headache. If you have experience to the contrary, I'd be happy to be corrected.

from drake.

aminya avatar aminya commented on June 2, 2024

No, I haven't used those versions as I don't see a point in sticking to old deprecated versions of technology while it is so easy to upgrade Bazel.

from drake.

jwnimmer-tri avatar jwnimmer-tri commented on June 2, 2024

... it is so easy to upgrade Bazel.

We'd welcome a PR with the Bazel 7 upgrade. I did not find it to be easy to get it to pass CI, so if it's easy for you, please go ahead!

from drake.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.