Pier Angelo Vendrame pushed to branch main at The Tor Project / Applications / 
tor-browser-build


Commits:
80f16f97 by Pier Angelo Vendrame at 2025-03-04T15:44:22+01:00
Bug 41386: Upgrade Go to 1.23.x (except on macOS).

We have been using Go 1.22.x for a while, since 1.23 raised the minimum
required version of macOS to 11, and we still support macOS 10.15.
However, 1.22.x is now EOL, so we need to update to a supported series.

1.24.0 would require an additional version on our go bootstrapping
toolchain, so I decided to stick to 1.23.x for now.

This commit also updates the relprep.py script to update only the hash
of the main version (which is referred to indirectly with variables).

- - - - -


2 changed files:

- projects/go/config
- tools/relprep.py


Changes:

=====================================
projects/go/config
=====================================
@@ -1,10 +1,11 @@
 # vim: filetype=yaml sw=2
-version: '1.22.12'
+version: '1.23.6'
 filename: '[% project %]-[% c("version") %]-[% c("var/osname") %]-[% 
c("var/build_id") %].tar.[% c("compress_tar") %]'
 container:
   use_container: 1
 
 var:
+  source_sha256: 
039c5b04e65279daceee8a6f71e70bd05cf5b801782b6f77c6e19e2ed0511222
   no_crosscompile: 1
   setup: |
     mkdir -p /var/tmp/dist
@@ -86,7 +87,9 @@ targets:
     var:
       GOARCH: arm64
   macos:
+    version: 1.22.12
     var:
+      source_sha256: 
012a7e1f37f362c0918c1dfa3334458ac2da1628c4b9cf4d9ca02db986e17d71
       GOOS: darwin
   linux:
     var:
@@ -126,7 +129,7 @@ input_files:
     enable: '[% ! c("var/linux") %]'
   - URL: 'https://go.dev/dl/go[% c("version") %].src.tar.gz'
     name: go
-    sha256sum: 012a7e1f37f362c0918c1dfa3334458ac2da1628c4b9cf4d9ca02db986e17d71
+    sha256sum: '[% c("var/source_sha256") %]'
   - project: go-bootstrap
     name: go-bootstrap
     target_replace:


=====================================
tools/relprep.py
=====================================
@@ -459,7 +459,7 @@ class ReleasePreparation:
                 break
         if not sha256sum:
             raise KeyError("Go source package not found.")
-        self.find_input(config, "go")["sha256sum"] = sha256sum
+        config["var"]["source_sha256"] = sha256sum
         self.save_config("go", config)
 
     def update_manual(self):



View it on GitLab: 
https://gitlab.torproject.org/tpo/applications/tor-browser-build/-/commit/80f16f97e7c2973e9aa4458606c9afd2c63c2d60

-- 
View it on GitLab: 
https://gitlab.torproject.org/tpo/applications/tor-browser-build/-/commit/80f16f97e7c2973e9aa4458606c9afd2c63c2d60
You're receiving this email because of your account on gitlab.torproject.org.


_______________________________________________
tbb-commits mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to