Skip to content

Commit 5f95198

Browse files
authored
Merge pull request #29 from MikeMoore63/feat/go1.23
feat: upgrade golang to 1.23
2 parents 0d5be9c + fe544c5 commit 5f95198

File tree

4 files changed

+10
-10
lines changed

4 files changed

+10
-10
lines changed

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
module github.com/MikeMoore63/pybuildInfo
22

3-
go 1.22
3+
go 1.23
44

55
require golang.org/x/mod v0.22.0

installGo.ps1

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Install the current Go release
22
param(
33
[string]$w='c:\go',
4-
[string]$v='1.22.7'
4+
[string]$v='1.23.2'
55
)
66
Set-ExecutionPolicy -ExecutionPolicy Bypass -Scope CurrentUser
77
$OutputVariable = (go version) | Out-String
@@ -16,7 +16,7 @@ $env:GOPATH= 'C:\go'
1616
$newPath = ('{0}\bin;C:\Program Files\Go\bin;{1}' -f $env:GOPATH, $env:PATH);
1717
Write-Host ('Updating PATH: {0}' -f $newPath);
1818
[Environment]::SetEnvironmentVariable('PATH', $newPath, [EnvironmentVariableTarget]::User);
19-
$url = 'https://dl.google.com/go/go1.21.1.windows-amd64.zip';
19+
$url = 'https://dl.google.com/go/go1.23.2.windows-amd64.zip';
2020
Write-Host ('Downloading {0} ...' -f $url);
2121
[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12;
2222
Invoke-WebRequest -Uri $url -OutFile 'go.zip';

pyproject.toml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -30,12 +30,12 @@ switch_eol_centos_repos
3030
if [ "${AUDITWHEEL_POLICY}" == "manylinux2014" ] && [ "${AUDITWHEEL_ARCH}" == "x86_64" ]
3131
then
3232
mkdir -p /usr/local
33-
curl https://dl.google.com/go/go1.22.7.linux-amd64.tar.gz | tar -C /usr/local -xzf -
33+
curl https://dl.google.com/go/go1.23.2.linux-amd64.tar.gz | tar -C /usr/local -xzf -
3434
fi
3535
if [ "${AUDITWHEEL_POLICY}" == "manylinux2014" ] && [ "${AUDITWHEEL_ARCH}" == "aarch64" ]
3636
then
3737
mkdir -p /usr/local
38-
curl https://dl.google.com/go/go1.22.7.linux-arm64.tar.gz | tar -C /usr/local -xzf -
38+
curl https://dl.google.com/go/go1.23.2.linux-arm64.tar.gz | tar -C /usr/local -xzf -
3939
fi
4040
'''
4141
environment = """
@@ -44,20 +44,20 @@ PATH=$PATH:/usr/local/go/bin
4444

4545
[tool.cibuildwheel.macos]
4646
before-all = '''
47-
brew install go@1.22
47+
brew install go@1.23
4848
'''
49-
environment = "PATH=/usr/local/opt/go@1.22/bin:/opt/homebrew/opt/go@1.22/bin:$PATH"
49+
environment = "PATH=/usr/local/opt/go@1.23/bin:/opt/homebrew/opt/go@1.23/bin:$PATH"
5050

5151
[[tool.cibuildwheel.overrides]]
5252
select = "*-musllinux*"
5353
before-all = '''
5454
if [ "${AUDITWHEEL_ARCH}" == "x86_64" ]
5555
then
56-
wget https://golang.org/dl/go1.22.7.linux-amd64.tar.gz;tar -C /usr/local -xzf go1.22.7.linux-amd64.tar.gz
56+
wget https://golang.org/dl/go1.23.2.linux-amd64.tar.gz;tar -C /usr/local -xzf go1.23.2.linux-amd64.tar.gz
5757
fi
5858
if [ "${AUDITWHEEL_ARCH}" == "aarch64" ]
5959
then
60-
wget https://golang.org/dl/go1.22.7.linux-arm64.tar.gz;tar -C /usr/local -xzf go1.22.7.linux-arm64.tar.gz
60+
wget https://golang.org/dl/go1.23.2.linux-arm64.tar.gz;tar -C /usr/local -xzf go1.23.2.linux-arm64.tar.gz
6161
fi
6262
'''
6363

setup.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[metadata]
22
name = pygobuildinfo
3-
version = 0.1.21
3+
version = 0.1.22
44
author = Mike Moore
55
author_email = z_z_zebra@yahoo.com
66
license = MIT

0 commit comments

Comments
 (0)