Skip to content

Commit 6471107

Browse files
chore(deps): bump github.com/cloudflare/circl from 1.6.1 to 1.6.3 (#2085)
* chore(deps): bump github.com/cloudflare/circl from 1.6.1 to 1.6.3 Bumps [github.com/cloudflare/circl](https://github.com/cloudflare/circl) from 1.6.1 to 1.6.3. - [Release notes](https://github.com/cloudflare/circl/releases) - [Commits](cloudflare/circl@v1.6.1...v1.6.3) --- updated-dependencies: - dependency-name: github.com/cloudflare/circl dependency-version: 1.6.3 dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com> * fix: golangci-lint err Signed-off-by: Keming <kemingyang@tensorchord.ai> --------- Signed-off-by: dependabot[bot] <support@github.com> Signed-off-by: Keming <kemingyang@tensorchord.ai> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Keming <kemingyang@tensorchord.ai>
1 parent e825432 commit 6471107

File tree

6 files changed

+18
-18
lines changed

6 files changed

+18
-18
lines changed

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ require (
9797
github.com/charmbracelet/x/cellbuf v0.0.13 // indirect
9898
github.com/charmbracelet/x/term v0.2.1 // indirect
9999
github.com/clipperhouse/uax29/v2 v2.2.0 // indirect
100-
github.com/cloudflare/circl v1.6.1 // indirect
100+
github.com/cloudflare/circl v1.6.3 // indirect
101101
github.com/cncf/xds/go v0.0.0-20251031190108-5cf4b1949528 // indirect
102102
github.com/cockroachdb/logtags v0.0.0-20241215232642-bb51bb14a506 // indirect
103103
github.com/cockroachdb/redact v1.1.6 // indirect

go.sum

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -133,8 +133,8 @@ github.com/cilium/ebpf v0.6.2/go.mod h1:4tRaxcgiL706VnOzHOdBlY8IEAIdxINsQBcU4xJJ
133133
github.com/client9/misspell v0.3.4/go.mod h1:qj6jICC3Q7zFZvVWo7KLAzC3yx5G7kyvSDkc90ppPyw=
134134
github.com/clipperhouse/uax29/v2 v2.2.0 h1:ChwIKnQN3kcZteTXMgb1wztSgaU+ZemkgWdohwgs8tY=
135135
github.com/clipperhouse/uax29/v2 v2.2.0/go.mod h1:EFJ2TJMRUaplDxHKj1qAEhCtQPW2tJSwu5BF98AuoVM=
136-
github.com/cloudflare/circl v1.6.1 h1:zqIqSPIndyBh1bjLVVDHMPpVKqp8Su/V+6MeDzzQBQ0=
137-
github.com/cloudflare/circl v1.6.1/go.mod h1:uddAzsPgqdMAYatqJ0lsjX1oECcQLIlRpzZh3pJrofs=
136+
github.com/cloudflare/circl v1.6.3 h1:9GPOhQGF9MCYUeXyMYlqTR6a5gTrgR/fBLXvUgtVcg8=
137+
github.com/cloudflare/circl v1.6.3/go.mod h1:2eXP6Qfat4O/Yhh8BznvKnJ+uzEoTQ6jVKJRn81BiS4=
138138
github.com/cncf/xds/go v0.0.0-20251031190108-5cf4b1949528 h1:/LeN/a7nXz/nkJkihmSFToTx0L8fvolwdEjwv1GygXE=
139139
github.com/cncf/xds/go v0.0.0-20251031190108-5cf4b1949528/go.mod h1:KdCmV+x/BuvyMxRnYBlmVaq4OLiKW6iRQfvC62cvdkI=
140140
github.com/cockroachdb/errors v1.12.0 h1:d7oCs6vuIMUQRVbi6jWWWEJZahLCfJpnJSVobd1/sUo=

pkg/app/formatter/data.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,10 +50,10 @@ func formatterValidator(clicontext *cli.Context, v string) error {
5050
func FormatEndpoint(env types.EnvdEnvironment) string {
5151
var res strings.Builder
5252
if env.Status.JupyterAddr != nil {
53-
res.WriteString(fmt.Sprintf("jupyter: %s", *env.Status.JupyterAddr))
53+
fmt.Fprintf(&res, "jupyter: %s", *env.Status.JupyterAddr)
5454
}
5555
if env.Status.RStudioServerAddr != nil {
56-
res.WriteString(fmt.Sprintf("rstudio: %s", *env.Status.RStudioServerAddr))
56+
fmt.Fprintf(&res, "rstudio: %s", *env.Status.RStudioServerAddr)
5757
}
5858
return res.String()
5959
}

pkg/app/interactive.go

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -226,28 +226,28 @@ func startQuestion(input input) {
226226
func generateFile(clicontext *cli.Context) error {
227227
var buf bytes.Buffer
228228
buf.WriteString("def build():\n")
229-
buf.WriteString(fmt.Sprintf("%sbase(image=\"ubuntu:22.04\", dev=True)\n", indentation))
229+
fmt.Fprintf(&buf, "%sbase(image=\"ubuntu:22.04\", dev=True)\n", indentation)
230230
for _, lang := range selectionMap[LabelLanguage] {
231231
if lang == "python" {
232-
buf.WriteString(fmt.Sprintf("%sinstall.conda()\n", indentation))
233-
buf.WriteString(fmt.Sprintf("%sinstall.python()\n", indentation))
232+
fmt.Fprintf(&buf, "%sinstall.conda()\n", indentation)
233+
fmt.Fprintf(&buf, "%sinstall.python()\n", indentation)
234234
} else {
235-
buf.WriteString(fmt.Sprintf("%sinstall.%s()\n", indentation, lang))
235+
fmt.Fprintf(&buf, "%sinstall.%s()\n", indentation, lang)
236236
}
237237
}
238238
buf.WriteString(generatePackagesStr("python", selectionMap[LabelPythonPackage]))
239239
buf.WriteString(generatePackagesStr("r", selectionMap[LabelRPackage]))
240240
if len(selectionMap[LabelPythonRequirement]) > 0 {
241-
buf.WriteString(fmt.Sprintf("%sinstall.python_packages(requirements=\"%s\")\n", indentation, selectionMap[LabelPythonRequirement][0]))
241+
fmt.Fprintf(&buf, "%sinstall.python_packages(requirements=\"%s\")\n", indentation, selectionMap[LabelPythonRequirement][0])
242242
}
243243
if len(selectionMap[LabelCondaEnv]) > 0 {
244-
buf.WriteString(fmt.Sprintf("%sinstall.conda_packages(env_file=\"%s\")\n", indentation, selectionMap[LabelCondaEnv][0]))
244+
fmt.Fprintf(&buf, "%sinstall.conda_packages(env_file=\"%s\")\n", indentation, selectionMap[LabelCondaEnv][0])
245245
}
246246
if len(selectionMap[LabelCudaChoice]) > 0 && selectionMap[LabelCudaChoice][0] == "Yes" {
247-
buf.WriteString(fmt.Sprintf("%scuda(version=\"%s\", cudann=\"8\")\n", indentation, selectionMap[LabelCuda][0]))
247+
fmt.Fprintf(&buf, "%scuda(version=\"%s\", cudann=\"8\")\n", indentation, selectionMap[LabelCuda][0])
248248
}
249249
if len(selectionMap[LabelJupyterChoice]) > 0 && selectionMap[LabelJupyterChoice][0] == "Yes" {
250-
buf.WriteString(fmt.Sprintf("%sconfig.jupyter()\n", indentation))
250+
fmt.Fprintf(&buf, "%sconfig.jupyter()\n", indentation)
251251
}
252252

253253
buildEnvdContent := buf.Bytes()

pkg/lang/ir/v1/conda.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -127,15 +127,15 @@ func (g *generalGraph) compileCondaPackages(root llb.State) llb.State {
127127
sb.WriteString(g.condaUpdateFromFile())
128128
} else {
129129
if len(g.CondaConfig.AdditionalChannels) == 0 {
130-
sb.WriteString(fmt.Sprintf("%s install -n envd", g.condaCommandPath()))
130+
fmt.Fprintf(&sb, "%s install -n envd", g.condaCommandPath())
131131
} else {
132-
sb.WriteString(fmt.Sprintf("%s install -n envd", g.condaCommandPath()))
132+
fmt.Fprintf(&sb, "%s install -n envd", g.condaCommandPath())
133133
for _, channel := range g.CondaConfig.AdditionalChannels {
134-
sb.WriteString(fmt.Sprintf(" -c %s", channel))
134+
fmt.Fprintf(&sb, " -c %s", channel)
135135
}
136136
}
137137
for _, pkg := range g.CondaConfig.CondaPackages {
138-
sb.WriteString(fmt.Sprintf(" %s", pkg))
138+
fmt.Fprintf(&sb, " %s", pkg)
139139
}
140140
}
141141

pkg/lang/ir/v1/system.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ func (g generalGraph) compileSystemPackages(root llb.State) llb.State {
104104
sb.WriteString("apt-get update && apt-get install -y --no-install-recommends")
105105

106106
for _, pkg := range g.SystemPackages {
107-
sb.WriteString(fmt.Sprintf(" %s", pkg))
107+
fmt.Fprintf(&sb, " %s", pkg)
108108
}
109109

110110
cacheDir := "/var/cache/apt"

0 commit comments

Comments
 (0)