From d6cf363c694f82d14671c8f54cb1eadfbf5db4da Mon Sep 17 00:00:00 2001 From: Tiger Kaovilai Date: Tue, 10 Dec 2024 13:17:11 -0500 Subject: [PATCH] Remove Go patch version from go.mod Fixes #4292 --- go.mod | 4 ++-- go.sum | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/go.mod b/go.mod index 35217e20790..ac82b780c28 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module github.com/kopia/kopia -go 1.22.7 +go 1.22 require ( cloud.google.com/go/storage v1.48.0 @@ -59,7 +59,7 @@ require ( go.uber.org/zap v1.27.0 golang.org/x/crypto v0.30.0 golang.org/x/exp v0.0.0-20230522175609-2e198f4a06a1 - golang.org/x/mod v0.22.0 + golang.org/x/mod v0.20.1-0.20240815161730-b1d336cfca97 // this version is equivalent to 0.22.0 except it excludes a commit that enforces go directive patch version be used https://github.com/golang/mod/commit/3afcd4e90a74c23515a9543f1e8fb68f05ecc8e0 We would want to remove this when 0.23.0 is released golang.org/x/net v0.32.0 golang.org/x/oauth2 v0.24.0 golang.org/x/sync v0.10.0 diff --git a/go.sum b/go.sum index ea841681ef8..b44264d6935 100644 --- a/go.sum +++ b/go.sum @@ -363,8 +363,8 @@ golang.org/x/lint v0.0.0-20190227174305-5b3e6a55c961/go.mod h1:wehouNa3lNwaWXcvx golang.org/x/lint v0.0.0-20190313153728-d0100b6bd8b3/go.mod h1:6SW0HCj/g11FgYtHlgUYUwCkIfeOF89ocIRzGO/8vkc= golang.org/x/mod v0.6.0-dev.0.20220419223038-86c51ed26bb4/go.mod h1:jJ57K6gSWd91VN4djpZkiMVwK6gcyfeH4XE8wZrZaV4= golang.org/x/mod v0.8.0/go.mod h1:iBbtSCu2XBx23ZKBPSOrRkjjQPZFPuis4dIYUhu/chs= -golang.org/x/mod v0.22.0 h1:D4nJWe9zXqHOmWqj4VMOJhvzj7bEZg4wEYa759z1pH4= -golang.org/x/mod v0.22.0/go.mod h1:6SkKJ3Xj0I0BrPOZoBy3bdMptDDU9oJrpohJ3eWZ1fY= +golang.org/x/mod v0.20.1-0.20240815161730-b1d336cfca97 h1:8Z3V2X8JJfcyHZuE+us6KMS0lNpK+dp9p632Zqg6VVc= +golang.org/x/mod v0.20.1-0.20240815161730-b1d336cfca97/go.mod h1:+4J3eapgkQq6NpxFXlIOuJ27j9YWEKPcjqj6NWnTRcU= golang.org/x/net v0.0.0-20180724234803-3673e40ba225/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= golang.org/x/net v0.0.0-20180826012351-8a410e7b638d/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= golang.org/x/net v0.0.0-20190213061140-3a22650c66bd/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4=