Skip to content

Commit

Permalink
Update nanobind-bazel version in Bazel document
Browse files Browse the repository at this point in the history
The code comment above the bzlmod usage was updated to reflect the
change back to match nanobind SemVer exactly, starting from v2.2.0.
  • Loading branch information
nicholasjng committed Oct 22, 2024
1 parent fd22b8c commit 160968d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/bazel.rst
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,10 @@ in your MODULE.bazel file:
.. code-block:: python
# Place this in your MODULE.bazel file.
# The major version of nanobind-bazel is equal to the major version
# The major version of nanobind-bazel is equal to the version
# of the internally used nanobind.
# In this case, we are building bindings with nanobind@v2.
bazel_dep(name = "nanobind_bazel", version = "2.1.0")
# In this case, we are building bindings with nanobind v2.2.0.
bazel_dep(name = "nanobind_bazel", version = "2.2.0")
To instead use a development version from GitHub, you can declare the
dependency as a ``git_override()`` in your MODULE.bazel:
Expand Down

0 comments on commit 160968d

Please sign in to comment.