Skip to content

Commit

Permalink
Python: Rename tsg_python_crate_index to py_deps
Browse files Browse the repository at this point in the history
This aligns us a bit more with Ruby.
  • Loading branch information
tausbn committed Mar 8, 2024
1 parent 36202ae commit f3d953d
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion python/extractor/tsg-python/BUILD.bazel
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
load("@tsg_python_crate_index//:defs.bzl", "aliases", "all_crate_deps")
load("@py_deps//:defs.bzl", "aliases", "all_crate_deps")
load("@semmle_code//:common.bzl", "codeql_rust_binary")

codeql_rust_binary(
Expand Down
2 changes: 1 addition & 1 deletion python/extractor/tsg-python/Cargo.Bazel.lock
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"checksum": "5ea5454a42d65412a64a48233e83f21d17461b20f8c283260a3de1d964645868",
"checksum": "1bc1ce89845efff4ebef4861d3b9e4e8efeb1ba5b27565db4c6fd18175e1ee59",
"crates": {
"ahash 0.4.7": {
"name": "ahash",
Expand Down
2 changes: 1 addition & 1 deletion python/extractor/tsg-python/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ edition = "2018"

# When changing/updating these, the `Cargo.Bazel.lock` file has to be regenerated.
# Check out the documentation at https://bazelbuild.github.io/rules_rust/crate_universe.html#repinning--updating-dependencies
# for how to do so. The bazel repository for the tsg-python project is called `tsg_python_crate_index`,
# for how to do so. The bazel repository for the tsg-python project is called `py_deps`,
# and instead of calling `bazel sync`, `./build --bazel sync` should be used instead, to always use the correct bazel version.
[dependencies]
anyhow = "1.0"
Expand Down
2 changes: 1 addition & 1 deletion python/extractor/tsg-python/tree-sitter-python/BUILD.bazel
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
load("@rules_rust//cargo:defs.bzl", "cargo_build_script")
load("@rules_rust//rust:defs.bzl", "rust_library")
load("@tsg_python_crate_index//:defs.bzl", "aliases", "all_crate_deps")
load("@py_deps//:defs.bzl", "aliases", "all_crate_deps")

package(default_visibility = ["//visibility:public"])

Expand Down

0 comments on commit f3d953d

Please sign in to comment.