Skip to content

Commit

Permalink
Rename pip_deps to au_pip_deps (#214)
Browse files Browse the repository at this point in the history
I was experimenting with importing au, but ran into a conflict with
rules_docker's `pip_deps` repository. This patch fixes the conflict by
switching to a more unique name.

Another solution is to switch to bzlmod completely, but that's more
work.
  • Loading branch information
philsc authored Dec 21, 2023
1 parent ea08978 commit 4ab84ce
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.

load("@pip_deps//:requirements.bzl", "requirement")
load("@au_pip_deps//:requirements.bzl", "requirement")
load("@rules_cc//cc:defs.bzl", "cc_library")
load("@rules_python//python:defs.bzl", "py_binary")
load("@rules_python//python:pip.bzl", "compile_pip_requirements")
Expand Down
4 changes: 2 additions & 2 deletions WORKSPACE
Original file line number Diff line number Diff line change
Expand Up @@ -144,12 +144,12 @@ load("@python3_10//:defs.bzl", "interpreter")
load("@rules_python//python:pip.bzl", "pip_parse")

pip_parse(
name = "pip_deps",
name = "au_pip_deps",
python_interpreter_target = interpreter,
requirements_lock = "@//:requirements_lock.txt",
)

load("@pip_deps//:requirements.bzl", "install_deps")
load("@au_pip_deps//:requirements.bzl", "install_deps")

install_deps()

Expand Down

0 comments on commit 4ab84ce

Please sign in to comment.