Skip to content

Commit da30efb

Browse files
Update dependencies (#4422)
* update dependencies to latest version * Freeze all formatter versions; re-roll deps * ruff: update to handle latest enabled rules --------- Co-authored-by: Nicholas Paun <[email protected]>
1 parent 8acabe8 commit da30efb

18 files changed

+95
-82
lines changed

.ruff.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ ignore = [
2929
"TRY003", # Avoid specifying long messages outside the exception class
3030
"UP038", # Use X | Y in isinstance check instead of (X, Y)
3131
"PLR0911", # too many return statements
32+
"PLC0415", # `import` should be at the top-level of a file
3233
]
3334

3435
[lint.per-file-ignores]

build/deps/build_deps.jsonc

Lines changed: 0 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -94,34 +94,6 @@
9494
"repo": "rules_ts",
9595
"file_regex": "^rules_ts-.*\\.tar\\.gz$"
9696
},
97-
//clang-format
98-
{
99-
"name": "clang-format-linux-amd64",
100-
"type": "github_release",
101-
"owner": "cloudflare",
102-
"repo": "workerd-tools",
103-
"file_regex": "llvm-.*-linux-amd64-clang-format",
104-
"file_type": "executable",
105-
"freeze_version": "llvm-18.1.8"
106-
},
107-
{
108-
"name": "clang-format-linux-arm64",
109-
"type": "github_release",
110-
"owner": "cloudflare",
111-
"repo": "workerd-tools",
112-
"file_regex": "llvm-.*-linux-arm64-clang-format",
113-
"file_type": "executable",
114-
"freeze_version": "llvm-18.1.8"
115-
},
116-
{
117-
"name": "clang-format-darwin-arm64",
118-
"type": "github_release",
119-
"owner": "cloudflare",
120-
"repo": "workerd-tools",
121-
"file_regex": "llvm-.*-darwin-arm64-clang-format",
122-
"file_type": "executable",
123-
"freeze_version": "llvm-18.1.8"
124-
},
12597
// microbenchmark
12698
{
12799
"type": "github_release",

build/deps/gen/build_deps.bzl

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,6 @@ load("@//build/deps:gen/dep_cargo_bazel_linux_x64.bzl", "dep_cargo_bazel_linux_x
88
load("@//build/deps:gen/dep_cargo_bazel_macos_arm64.bzl", "dep_cargo_bazel_macos_arm64")
99
load("@//build/deps:gen/dep_cargo_bazel_macos_x64.bzl", "dep_cargo_bazel_macos_x64")
1010
load("@//build/deps:gen/dep_cargo_bazel_win_x64.bzl", "dep_cargo_bazel_win_x64")
11-
load("@//build/deps:gen/dep_clang_format_darwin_arm64.bzl", "dep_clang_format_darwin_arm64")
12-
load("@//build/deps:gen/dep_clang_format_linux_amd64.bzl", "dep_clang_format_linux_amd64")
13-
load("@//build/deps:gen/dep_clang_format_linux_arm64.bzl", "dep_clang_format_linux_arm64")
1411
load("@//build/deps:gen/dep_codspeed.bzl", "dep_codspeed")
1512
load("@//build/deps:gen/dep_rules_nodejs.bzl", "dep_rules_nodejs")
1613
load("@//build/deps:gen/dep_rules_python.bzl", "dep_rules_python")
@@ -30,7 +27,4 @@ def deps_gen():
3027
dep_rules_nodejs()
3128
dep_aspect_rules_js()
3229
dep_aspect_rules_ts()
33-
dep_clang_format_linux_amd64()
34-
dep_clang_format_linux_arm64()
35-
dep_clang_format_darwin_arm64()
3630
dep_codspeed()

build/deps/gen/dep_ada_url.bzl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@
22

33
load("@//:build/http.bzl", "http_archive")
44

5-
TAG_NAME = "v3.2.4"
6-
URL = "https://github.com/ada-url/ada/releases/download/v3.2.4/singleheader.zip"
5+
TAG_NAME = "v3.2.5"
6+
URL = "https://github.com/ada-url/ada/releases/download/v3.2.5/singleheader.zip"
77
STRIP_PREFIX = ""
8-
SHA256 = "bd89fcf57c93e965e6e2488448ab9d1cf8005311808c563b288f921d987e4924"
8+
SHA256 = "245d7cc7cee51c68542e3b251aa0608d875da679cd1c466e49e5e761149f9c00"
99
TYPE = "zip"
1010

1111
def dep_ada_url():

build/deps/gen/dep_cargo_bazel_linux_arm64.bzl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22

33
load("@//:build/http.bzl", "http_file")
44

5-
TAG_NAME = "0.61.0"
6-
URL = "https://github.com/bazelbuild/rules_rust/releases/download/0.61.0/cargo-bazel-aarch64-unknown-linux-gnu"
7-
SHA256 = "6558d9840d62fdb2ef8e9c8e1388f4f66cd25dceaa6348d1f8f3dd7869e3e903"
5+
TAG_NAME = "0.62.0"
6+
URL = "https://github.com/bazelbuild/rules_rust/releases/download/0.62.0/cargo-bazel-aarch64-unknown-linux-gnu"
7+
SHA256 = "a357e1d64e76c8972c87fb69e09baa107445607986b95c254dccccab1f184755"
88

99
def dep_cargo_bazel_linux_arm64():
1010
http_file(

build/deps/gen/dep_cargo_bazel_linux_x64.bzl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22

33
load("@//:build/http.bzl", "http_file")
44

5-
TAG_NAME = "0.61.0"
6-
URL = "https://github.com/bazelbuild/rules_rust/releases/download/0.61.0/cargo-bazel-x86_64-unknown-linux-gnu"
7-
SHA256 = "90c4955085b1650e94e8ef220c0a536ec00b6564e28cb2665e4eab555eda19c9"
5+
TAG_NAME = "0.62.0"
6+
URL = "https://github.com/bazelbuild/rules_rust/releases/download/0.62.0/cargo-bazel-x86_64-unknown-linux-gnu"
7+
SHA256 = "97867786255ad5e20b7b4e8741e7cde2e1fce4760147683f2088e38af4ed693b"
88

99
def dep_cargo_bazel_linux_x64():
1010
http_file(

build/deps/gen/dep_cargo_bazel_macos_arm64.bzl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22

33
load("@//:build/http.bzl", "http_file")
44

5-
TAG_NAME = "0.61.0"
6-
URL = "https://github.com/bazelbuild/rules_rust/releases/download/0.61.0/cargo-bazel-aarch64-apple-darwin"
7-
SHA256 = "a04d79154fabd906d816324314cb71c959458265eef90af18fbfe465b096a1db"
5+
TAG_NAME = "0.62.0"
6+
URL = "https://github.com/bazelbuild/rules_rust/releases/download/0.62.0/cargo-bazel-aarch64-apple-darwin"
7+
SHA256 = "acd1c0729a27a6c64e1f1cb56d247c011fc7bfd790cdf9262020d9ad4ce63474"
88

99
def dep_cargo_bazel_macos_arm64():
1010
http_file(

build/deps/gen/dep_cargo_bazel_macos_x64.bzl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22

33
load("@//:build/http.bzl", "http_file")
44

5-
TAG_NAME = "0.61.0"
6-
URL = "https://github.com/bazelbuild/rules_rust/releases/download/0.61.0/cargo-bazel-x86_64-apple-darwin"
7-
SHA256 = "fb6895866f0c0510878a3477061434552010b08447d86c61beca3dce9721f791"
5+
TAG_NAME = "0.62.0"
6+
URL = "https://github.com/bazelbuild/rules_rust/releases/download/0.62.0/cargo-bazel-x86_64-apple-darwin"
7+
SHA256 = "5e4c2dd403bb9b80481b8e512853c3da1906621495105b0cb624cc52b4e35b40"
88

99
def dep_cargo_bazel_macos_x64():
1010
http_file(

build/deps/gen/dep_cargo_bazel_win_x64.bzl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22

33
load("@//:build/http.bzl", "http_file")
44

5-
TAG_NAME = "0.61.0"
6-
URL = "https://github.com/bazelbuild/rules_rust/releases/download/0.61.0/cargo-bazel-x86_64-pc-windows-msvc.exe"
7-
SHA256 = "50863a5d18d289161cebd639c6a0486a4c89828379481c91323fa69ecd23464a"
5+
TAG_NAME = "0.62.0"
6+
URL = "https://github.com/bazelbuild/rules_rust/releases/download/0.62.0/cargo-bazel-x86_64-pc-windows-msvc.exe"
7+
SHA256 = "917bbbb79bafd0fd91057ab088cc83ecd678e8eadd2af77f4af2198949edec15"
88

99
def dep_cargo_bazel_win_x64():
1010
http_file(

build/deps/gen/dep_ruff_darwin_arm64.bzl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@
22

33
load("@//:build/http.bzl", "http_archive")
44

5-
TAG_NAME = "0.11.13"
6-
URL = "https://github.com/astral-sh/ruff/releases/download/0.11.13/ruff-aarch64-apple-darwin.tar.gz"
5+
TAG_NAME = "0.12.1"
6+
URL = "https://github.com/astral-sh/ruff/releases/download/0.12.1/ruff-aarch64-apple-darwin.tar.gz"
77
STRIP_PREFIX = "ruff-aarch64-apple-darwin"
8-
SHA256 = "7d5e8feea7ee5c3962807996cad557e8a0c4d676c1cba6223bfb0e8b2ca07723"
8+
SHA256 = "f33ec69d83f713e0ff2cb720969325bb1553e43978e2f1c21498bd31e11fc643"
99
TYPE = "tgz"
1010

1111
def dep_ruff_darwin_arm64():

0 commit comments

Comments
 (0)