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

Rename to rules_ophiuchus #74

Merged
merged 2 commits into from
Jul 2, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .bcr/metadata.template.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"homepage": "https://github.com/oxidase/rules_poetry",
"homepage": "https://github.com/oxidase/rules_ophiuchus",
"maintainers": [
{
"email": "michael.krasnyk@gmail.com",
Expand All @@ -8,7 +8,7 @@
}
],
"repository": [
"github:oxidase/rules_poetry"
"github:oxidase/rules_ophiuchus"
],
"versions": [],
"yanked_versions": {}
Expand Down
4 changes: 2 additions & 2 deletions .bcr/presubmit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ tasks:
platform: ${{ platform }}
bazel: ${{ bazel }}
build_targets:
- '@rules_poetry//python/...'
- '@rules_poetry//lib/...'
- '@rules_ophiuchus//python/...'
- '@rules_ophiuchus//lib/...'
bcr_test_module:
module_path: "examples/transitions"
matrix:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ on:

jobs:
test:
name: Test rules_poetry
name: Test rules_ophiuchus
runs-on: ${{ matrix.os }}
timeout-minutes: 40
strategy:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/create-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,6 @@ jobs:
cat .github/workflows/release-notes.md | envsubst > notes.md
gh release create "v$TAG" --title "$TAG" --target $sha --generate-notes --notes "$(cat notes.md)" $ARCHIVE
env:
NAME: "rules_poetry"
NAME: "rules_ophiuchus"
TAG: ${{ inputs.tag }}
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
17 changes: 11 additions & 6 deletions .github/workflows/release-notes.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,33 +2,38 @@

Add to your `MODULE.bazel` file:

* for packaging and dependency management with [Poetry](https://python-poetry.org/)

```starlark
bazel_dep(name = "rules_poetry", version = "${TAG}")
bazel_dep(name = "rules_ophiuchus", version = "${TAG}")

poetry = use_extension("@rules_poetry//python:extensions.bzl", "poetry")
poetry = use_extension("@rules_ophiuchus//python:extensions.bzl", "poetry")
poetry.parse(
name = "poetry",
lock = "//:poetry.lock",
)
use_repo(poetry, "poetry")
```


## Using WORKSPACE

Paste this snippet into your `WORKSPACE` file:

* for packaging and dependency management with [Poetry](https://python-poetry.org/)

```starlark
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")

http_archive(
name = "rules_poetry",
name = "rules_ophiuchus",
sha256 = "${SHA256}",
strip_prefix = "${PREFIX}",
url = "https://github.com/oxidase/rules_poetry/releases/download/v${TAG}/${ARCHIVE}",
url = "https://github.com/oxidase/rules_ophiuchus/releases/download/v${TAG}/${ARCHIVE}",
)

load("@rules_poetry//python:poetry_parse.bzl", "poetry_parse")
load("@rules_poetry//python:repositories.bzl", install_poetry_dependencies = "install_dependencies")
load("@rules_ophiuchus//python:poetry_parse.bzl", "poetry_parse")
load("@rules_ophiuchus//python:repositories.bzl", install_poetry_dependencies = "install_dependencies")

install_poetry_dependencies()

Expand Down
2 changes: 1 addition & 1 deletion AUTHORS
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# This the official list of rules_poetry authors for copyright purposes.
# This the official list of rules_ophiuchus authors for copyright purposes.
# This file is distinct from the CONTRIBUTORS files.
# See the latter for an explanation.

Expand Down
26 changes: 13 additions & 13 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,26 +13,26 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) a
### Fixed


## [v0.2.0](https://github.com/oxidase/rules_poetry/tree/v0.2.0) - 2023-05-18
## [v0.2.0](https://github.com/oxidase/rules_ophiuchus/tree/v0.2.0) - 2023-05-18

[Full Changelog](https://github.com/oxidase/rules_poetry/compare/v0.1.0...v0.2.0)
[Full Changelog](https://github.com/oxidase/rules_ophiuchus/compare/v0.1.0...v0.2.0)

### Added

- chore: add transitions example [#25](https://github.com/oxidase/rules_poetry/pull/25)
- feat: split download and install steps [#23](https://github.com/oxidase/rules_poetry/pull/23)
- feat: add interpreter_markers attribute [#22](https://github.com/oxidase/rules_poetry/pull/22)
- feat: add source_url argument [#21](https://github.com/oxidase/rules_poetry/pull/21)
- feat: remove awk dependency [#14](https://github.com/oxidase/rules_poetry/pull/14)
- feat: add py_zip rule [#13](https://github.com/oxidase/rules_poetry/pull/13)
- chore: add transitions example [#25](https://github.com/oxidase/rules_ophiuchus/pull/25)
- feat: split download and install steps [#23](https://github.com/oxidase/rules_ophiuchus/pull/23)
- feat: add interpreter_markers attribute [#22](https://github.com/oxidase/rules_ophiuchus/pull/22)
- feat: add source_url argument [#21](https://github.com/oxidase/rules_ophiuchus/pull/21)
- feat: remove awk dependency [#14](https://github.com/oxidase/rules_ophiuchus/pull/14)
- feat: add py_zip rule [#13](https://github.com/oxidase/rules_ophiuchus/pull/13)

### Fixed

- fix: add platform_machine to platform tags [#24](https://github.com/oxidase/rules_poetry/pull/24)
- fix: cleanup [#15](https://github.com/oxidase/rules_poetry/pull/15)
- fix: workflows naming [#11](https://github.com/oxidase/rules_poetry/pull/11)
- fix: add platform_machine to platform tags [#24](https://github.com/oxidase/rules_ophiuchus/pull/24)
- fix: cleanup [#15](https://github.com/oxidase/rules_ophiuchus/pull/15)
- fix: workflows naming [#11](https://github.com/oxidase/rules_ophiuchus/pull/11)


## [v0.1.0](https://github.com/oxidase/rules_poetry/tree/v0.1.0) - 2023-04-01
## [v0.1.0](https://github.com/oxidase/rules_ophiuchus/tree/v0.1.0) - 2023-04-01

[Full Changelog](https://github.com/oxidase/rules_poetry/compare/6f8ac8716f8ab65d115c678feed3a473f71ebcfb...v0.1.0)
[Full Changelog](https://github.com/oxidase/rules_ophiuchus/compare/6f8ac8716f8ab65d115c678feed3a473f71ebcfb...v0.1.0)
6 changes: 3 additions & 3 deletions MODULE.bazel
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
module(
name = "rules_poetry",
name = "rules_ophiuchus",
version = "0",
compatibility_level = 1,
)
Expand All @@ -8,5 +8,5 @@ bazel_dep(name = "bazel_skylib", version = "1.7.0")
bazel_dep(name = "platforms", version = "0.0.10")
bazel_dep(name = "rules_python", version = "0.32.2")

internal_deps = use_extension("@rules_poetry//python:extensions.bzl", "internal_deps")
use_repo(internal_deps, "rules_poetry_deps", "rules_poetry_pip")
internal_deps = use_extension("@rules_ophiuchus//python:extensions.bzl", "internal_deps")
use_repo(internal_deps, "rules_ophiuchus_pip", "rules_ophiuchus_poetry_deps")
14 changes: 7 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# Python Poetry Rules for Bazel
# ⛎ Ophiuchus Rules for Bazel

## Overview

The repository defines Bazel installation rules for [Poetry](https://github.com/python-poetry/poetry) lock files.
The repository defines Bazel installation rules for multi-platform Python lock files.
The major difference to pip rules in [rules_python](https://github.com/bazelbuild/rules_python) is that Python packages are installed as `py_library` targets and not as external repositories.
This allows to use platform information of resolved Python toolchains and build cross-platform Python artifacts.

Expand All @@ -12,9 +12,9 @@ Minimum requirements:

## Getting started

### Import `rules_poetry` as a module
### Import `rules_ophiuchus` as a module

To import `rules_poetry` in your project, you first need to add it to your `MODULE.bazel` file
To import `rules_ophiuchus` in your project, you first need to add it to your `MODULE.bazel` file

```python
bazel_dep(name = "rules_python", version = "0.32.2")
Expand All @@ -23,9 +23,9 @@ python = use_extension("@rules_python//python/extensions:python.bzl", "python")
python.toolchain(python_version = "3.12")
use_repo(python, "python_3_12")

bazel_dep(name = "rules_poetry", version = "0.3.6")
bazel_dep(name = "rules_ophiuchus", version = "0.3.6")

poetry = use_extension("@rules_poetry//python:extensions.bzl", "poetry")
poetry = use_extension("@rules_ophiuchus//python:extensions.bzl", "poetry")
poetry.parse(
name = "poetry",
lock = "@//path/to:poetry.lock",
Expand Down Expand Up @@ -57,7 +57,7 @@ poetry update

or using a pre-defined target
```
load("@rules_poetry//python:poetry.bzl", "poetry_update")
load("@rules_ophiuchus//python:poetry.bzl", "poetry_update")

poetry_update(
name = "update_lock",
Expand Down
2 changes: 1 addition & 1 deletion WORKSPACE
Original file line number Diff line number Diff line change
@@ -1 +1 @@
workspace(name = "rules_poetry")
workspace(name = "rules_ophiuchus")
6 changes: 3 additions & 3 deletions examples/aspect_rules_py/MODULE.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,13 @@ python.toolchain(
)
use_repo(python, "python_3_11")

bazel_dep(name = "rules_poetry", version = "0.0.0")
bazel_dep(name = "rules_ophiuchus", version = "0.0.0")
local_path_override(
module_name = "rules_poetry",
module_name = "rules_ophiuchus",
path = "../..",
)

poetry = use_extension("@rules_poetry//python:extensions.bzl", "poetry")
poetry = use_extension("@rules_ophiuchus//python:extensions.bzl", "poetry")
poetry.parse(
name = "poetry",
lock = "//:poetry.lock",
Expand Down
6 changes: 3 additions & 3 deletions examples/cc_toolchain/MODULE.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@ python = use_extension("@rules_python//python/extensions:python.bzl", "python")
python.toolchain(python_version = "3.12")
use_repo(python, "python_3_12")

bazel_dep(name = "rules_poetry", version = "0.0.0")
bazel_dep(name = "rules_ophiuchus", version = "0.0.0")
local_path_override(
module_name = "rules_poetry",
module_name = "rules_ophiuchus",
path = "../..",
)

poetry = use_extension("@rules_poetry//python:extensions.bzl", "poetry")
poetry = use_extension("@rules_ophiuchus//python:extensions.bzl", "poetry")
poetry.parse(
name = "poetry",
lock = "//:poetry.lock",
Expand Down
4 changes: 2 additions & 2 deletions examples/integration_test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ export HOME=$TEST_TMPDIR
cd examples/$1

ARGS="--test_output=errors --spawn_strategy=local --verbose_failures"
ARGS="$ARGS --override_repository=rules_poetry=$BUILD_WORKSPACE_DIRECTORY"
[ -f MODULE.bazel ] && ARGS="$ARGS --override_module=rules_poetry=$BUILD_WORKSPACE_DIRECTORY"
ARGS="$ARGS --override_repository=rules_ophiuchus=$BUILD_WORKSPACE_DIRECTORY"
[ -f MODULE.bazel ] && ARGS="$ARGS --override_module=rules_ophiuchus=$BUILD_WORKSPACE_DIRECTORY"

echo "Using $(bazelisk version)"
bazelisk test ... $ARGS
Expand Down
2 changes: 1 addition & 1 deletion examples/markers/BUILD.bazel
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
load("@rules_poetry//python:poetry.bzl", "poetry_update")
load("@rules_ophiuchus//python:poetry.bzl", "poetry_update")

py_test(
name = "test",
Expand Down
6 changes: 3 additions & 3 deletions examples/markers/MODULE.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,13 @@ use_repo(
"python_" + python_version,
)

bazel_dep(name = "rules_poetry", version = "0.0.0")
bazel_dep(name = "rules_ophiuchus", version = "0.0.0")
local_path_override(
module_name = "rules_poetry",
module_name = "rules_ophiuchus",
path = "../..",
)

poetry = use_extension("@rules_poetry//python:extensions.bzl", "poetry")
poetry = use_extension("@rules_ophiuchus//python:extensions.bzl", "poetry")
poetry.parse(
name = "python",
lock = "//:poetry.lock",
Expand Down
2 changes: 1 addition & 1 deletion examples/simple/BUILD.bazel
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
load("@rules_poetry//python:poetry.bzl", "poetry_update")
load("@rules_ophiuchus//python:poetry.bzl", "poetry_update")

py_test(
name = "test",
Expand Down
6 changes: 3 additions & 3 deletions examples/simple/MODULE.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@ python = use_extension("@rules_python//python/extensions:python.bzl", "python")
python.toolchain(python_version = "3.12")
use_repo(python, "python_3_12")

bazel_dep(name = "rules_poetry", version = "0.0.0")
bazel_dep(name = "rules_ophiuchus", version = "0.0.0")
local_path_override(
module_name = "rules_poetry",
module_name = "rules_ophiuchus",
path = "../..",
)

poetry = use_extension("@rules_poetry//python:extensions.bzl", "poetry")
poetry = use_extension("@rules_ophiuchus//python:extensions.bzl", "poetry")
poetry.parse(
name = "poetry",
lock = "//:poetry.lock",
Expand Down
2 changes: 1 addition & 1 deletion examples/simple/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Simple example

This example shows how to use rules_poetry to fetch external dependencies from a pyproject.toml file
This example shows how to use rules_ophiuchus to fetch external dependencies from a pyproject.toml file
and than use in BUILD files as dependencies of Bazel targets.

The `poetry.lock` file can be updated with
Expand Down
4 changes: 2 additions & 2 deletions examples/torch/BUILD.bazel
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
load("@rules_poetry//python:poetry.bzl", "poetry_update")
load("@rules_poetry//python:py_venv.bzl", "py_venv")
load("@rules_ophiuchus//python:poetry.bzl", "poetry_update")
load("@rules_ophiuchus//python:py_venv.bzl", "py_venv")

py_venv(
name = "torch_venv",
Expand Down
6 changes: 3 additions & 3 deletions examples/torch/MODULE.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@ python = use_extension("@rules_python//python/extensions:python.bzl", "python")
python.toolchain(python_version = "3.12")
use_repo(python, "python_3_12")

bazel_dep(name = "rules_poetry", version = "0.0.0")
bazel_dep(name = "rules_ophiuchus", version = "0.0.0")
local_path_override(
module_name = "rules_poetry",
module_name = "rules_ophiuchus",
path = "../..",
)

poetry = use_extension("@rules_poetry//python:extensions.bzl", "poetry")
poetry = use_extension("@rules_ophiuchus//python:extensions.bzl", "poetry")
poetry.parse(
name = "poetry",
lock = "//:poetry.lock",
Expand Down
18 changes: 9 additions & 9 deletions examples/torch/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Torch example

This example shows how to use rules_poetry to fetch external dependencies from a pyproject.toml file
This example shows how to use rules_ophiuchus to fetch external dependencies from a pyproject.toml file
using PyPI repository and a direct URL as
```
torch = [
Expand All @@ -26,14 +26,14 @@ __init__.py cublas cuda_cupti cuda_nvrtc cuda_runtime cudnn cufft curand

ls -l bazel-bin/venv/torch_venv/nvidia/cudnn/lib/
total 32
lrwxrwxrwx 1 test test 128 Mar 25 10:31 __init__.py -> ../../../../../external/rules_poetry~~poetry~poetry/3.12/x86_64-unknown-linux-gnu/nvidia-cudnn-cu12/nvidia/cudnn/lib/__init__.py
lrwxrwxrwx 1 test test 130 Mar 25 10:31 libcudnn.so.8 -> ../../../../../external/rules_poetry~~poetry~poetry/3.12/x86_64-unknown-linux-gnu/nvidia-cudnn-cu12/nvidia/cudnn/lib/libcudnn.so.8
lrwxrwxrwx 1 test test 140 Mar 25 10:31 libcudnn_adv_infer.so.8 -> ../../../../../external/rules_poetry~~poetry~poetry/3.12/x86_64-unknown-linux-gnu/nvidia-cudnn-cu12/nvidia/cudnn/lib/libcudnn_adv_infer.so.8
lrwxrwxrwx 1 test test 140 Mar 25 10:31 libcudnn_adv_train.so.8 -> ../../../../../external/rules_poetry~~poetry~poetry/3.12/x86_64-unknown-linux-gnu/nvidia-cudnn-cu12/nvidia/cudnn/lib/libcudnn_adv_train.so.8
lrwxrwxrwx 1 test test 140 Mar 25 10:31 libcudnn_cnn_infer.so.8 -> ../../../../../external/rules_poetry~~poetry~poetry/3.12/x86_64-unknown-linux-gnu/nvidia-cudnn-cu12/nvidia/cudnn/lib/libcudnn_cnn_infer.so.8
lrwxrwxrwx 1 test test 140 Mar 25 10:31 libcudnn_cnn_train.so.8 -> ../../../../../external/rules_poetry~~poetry~poetry/3.12/x86_64-unknown-linux-gnu/nvidia-cudnn-cu12/nvidia/cudnn/lib/libcudnn_cnn_train.so.8
lrwxrwxrwx 1 test test 140 Mar 25 10:31 libcudnn_ops_infer.so.8 -> ../../../../../external/rules_poetry~~poetry~poetry/3.12/x86_64-unknown-linux-gnu/nvidia-cudnn-cu12/nvidia/cudnn/lib/libcudnn_ops_infer.so.8
lrwxrwxrwx 1 test test 140 Mar 25 10:31 libcudnn_ops_train.so.8 -> ../../../../../external/rules_poetry~~poetry~poetry/3.12/x86_64-unknown-linux-gnu/nvidia-cudnn-cu12/nvidia/cudnn/lib/libcudnn_ops_train.so.8
lrwxrwxrwx 1 test test 128 Mar 25 10:31 __init__.py -> ../../../../../external/rules_ophiuchus~~poetry~poetry/3.12/x86_64-unknown-linux-gnu/nvidia-cudnn-cu12/nvidia/cudnn/lib/__init__.py
lrwxrwxrwx 1 test test 130 Mar 25 10:31 libcudnn.so.8 -> ../../../../../external/rules_ophiuchus~~poetry~poetry/3.12/x86_64-unknown-linux-gnu/nvidia-cudnn-cu12/nvidia/cudnn/lib/libcudnn.so.8
lrwxrwxrwx 1 test test 140 Mar 25 10:31 libcudnn_adv_infer.so.8 -> ../../../../../external/rules_ophiuchus~~poetry~poetry/3.12/x86_64-unknown-linux-gnu/nvidia-cudnn-cu12/nvidia/cudnn/lib/libcudnn_adv_infer.so.8
lrwxrwxrwx 1 test test 140 Mar 25 10:31 libcudnn_adv_train.so.8 -> ../../../../../external/rules_ophiuchus~~poetry~poetry/3.12/x86_64-unknown-linux-gnu/nvidia-cudnn-cu12/nvidia/cudnn/lib/libcudnn_adv_train.so.8
lrwxrwxrwx 1 test test 140 Mar 25 10:31 libcudnn_cnn_infer.so.8 -> ../../../../../external/rules_ophiuchus~~poetry~poetry/3.12/x86_64-unknown-linux-gnu/nvidia-cudnn-cu12/nvidia/cudnn/lib/libcudnn_cnn_infer.so.8
lrwxrwxrwx 1 test test 140 Mar 25 10:31 libcudnn_cnn_train.so.8 -> ../../../../../external/rules_ophiuchus~~poetry~poetry/3.12/x86_64-unknown-linux-gnu/nvidia-cudnn-cu12/nvidia/cudnn/lib/libcudnn_cnn_train.so.8
lrwxrwxrwx 1 test test 140 Mar 25 10:31 libcudnn_ops_infer.so.8 -> ../../../../../external/rules_ophiuchus~~poetry~poetry/3.12/x86_64-unknown-linux-gnu/nvidia-cudnn-cu12/nvidia/cudnn/lib/libcudnn_ops_infer.so.8
lrwxrwxrwx 1 test test 140 Mar 25 10:31 libcudnn_ops_train.so.8 -> ../../../../../external/rules_ophiuchus~~poetry~poetry/3.12/x86_64-unknown-linux-gnu/nvidia-cudnn-cu12/nvidia/cudnn/lib/libcudnn_ops_train.so.8
```


Expand Down
2 changes: 1 addition & 1 deletion examples/transitions/BUILD.bazel
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
load("@bazel_tools//tools/cpp:empty_cc_toolchain_config.bzl", "cc_toolchain_config")
load("@rules_poetry//lib:py_zip.bzl", "py_zip")
load("@rules_ophiuchus//lib:py_zip.bzl", "py_zip")
load(":transitions.bzl", "py_binary_linux_x86_64")

platform(
Expand Down
6 changes: 3 additions & 3 deletions examples/transitions/MODULE.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,13 @@ python = use_extension("@rules_python//python/extensions:python.bzl", "python")
python.toolchain(python_version = "3.12")
use_repo(python, "python_3_12")

bazel_dep(name = "rules_poetry", version = "0.0.0")
bazel_dep(name = "rules_ophiuchus", version = "0.0.0")
local_path_override(
module_name = "rules_poetry",
module_name = "rules_ophiuchus",
path = "../..",
)

poetry = use_extension("@rules_poetry//python:extensions.bzl", "poetry")
poetry = use_extension("@rules_ophiuchus//python:extensions.bzl", "poetry")
poetry.parse(
name = "poetry",
lock = "//:poetry.lock",
Expand Down
2 changes: 1 addition & 1 deletion examples/transitions/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Transitions example

This example shows how to use rules_poetry to fetch external dependencies for different platforms and build Python artifacts.
This example shows how to use rules_ophiuchus to fetch external dependencies for different platforms and build Python artifacts.

The test asserts that `deploy_arm64.zip`,`deploy_win.zip`, and `deploy_x86_64.zip` contain dynamic libraries files that have corresponding to platform flags.
Some Windows packages are cross-platform and contain PE files for Intel 386 or later processors, x64_64, and ARM64 little endian processors.
6 changes: 3 additions & 3 deletions examples/workspace/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@

Explicitly set `--enable_bzlmod=false` to disable bzlmod.

Add rules_poetry to `WORKSPACE` file as
Add rules_ophiuchus to `WORKSPACE` file as
```
load("@rules_poetry//python:poetry_parse.bzl", "poetry_parse")
load("@rules_poetry//python:repositories.bzl", install_poetry_dependencies = "install_dependencies")
load("@rules_ophiuchus//python:poetry_parse.bzl", "poetry_parse")
load("@rules_ophiuchus//python:repositories.bzl", install_poetry_dependencies = "install_dependencies")

install_poetry_dependencies()
poetry_parse(
Expand Down
Loading
Loading