diff --git a/go.mod b/go.mod index 09827f6..d36ace1 100644 --- a/go.mod +++ b/go.mod @@ -1,5 +1,5 @@ module github.com/MikeMoore63/pybuildInfo -go 1.21 +go 1.22 -require golang.org/x/mod v0.20.0 +require golang.org/x/mod v0.21.0 diff --git a/installGo.ps1 b/installGo.ps1 index e32b384..f13a272 100644 --- a/installGo.ps1 +++ b/installGo.ps1 @@ -1,7 +1,7 @@ # Install the current Go release param( [string]$w='c:\go', - [string]$v='1.21.1' + [string]$v='1.22.7' ) Set-ExecutionPolicy -ExecutionPolicy Bypass -Scope CurrentUser $OutputVariable = (go version) | Out-String diff --git a/pyproject.toml b/pyproject.toml index 2472ecb..731531b 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -29,12 +29,13 @@ switch_eol_centos_repos() switch_eol_centos_repos if [ "${AUDITWHEEL_POLICY}" == "manylinux2014" ] && [ "${AUDITWHEEL_ARCH}" == "x86_64" ] then - yum install -y golang + mkdir -p /usr/local + curl https://dl.google.com/go/go1.22.7.linux-amd64.tar.gz | tar -C /usr/local -xzf - fi if [ "${AUDITWHEEL_POLICY}" == "manylinux2014" ] && [ "${AUDITWHEEL_ARCH}" == "aarch64" ] then mkdir -p /usr/local - curl https://dl.google.com/go/go1.21.12.linux-arm64.tar.gz | tar -C /usr/local -xzf - + curl https://dl.google.com/go/go1.22.7.linux-arm64.tar.gz | tar -C /usr/local -xzf - fi ''' environment = """ @@ -43,20 +44,20 @@ PATH=$PATH:/usr/local/go/bin [tool.cibuildwheel.macos] before-all = ''' -brew install go@1.21 +brew install go@1.22 ''' -environment = "PATH=/usr/local/opt/go@1.21/bin:/opt/homebrew/opt/go@1.21/bin:$PATH" +environment = "PATH=/usr/local/opt/go@1.22/bin:/opt/homebrew/opt/go@1.22/bin:$PATH" [[tool.cibuildwheel.overrides]] select = "*-musllinux*" before-all = ''' if [ "${AUDITWHEEL_ARCH}" == "x86_64" ] then - wget https://golang.org/dl/go1.21.12.linux-amd64.tar.gz;tar -C /usr/local -xzf go1.21.12.linux-amd64.tar.gz + wget https://golang.org/dl/go1.22.7.linux-amd64.tar.gz;tar -C /usr/local -xzf go1.22.7.linux-amd64.tar.gz fi if [ "${AUDITWHEEL_ARCH}" == "aarch64" ] then - wget https://golang.org/dl/go1.21.12.linux-arm64.tar.gz;tar -C /usr/local -xzf go1.21.12.linux-arm64.tar.gz + wget https://golang.org/dl/go1.22.7.linux-arm64.tar.gz;tar -C /usr/local -xzf go1.22.7.linux-arm64.tar.gz fi '''