From 34659e755ee1552342f6fb0384e6f739a6f26d05 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 9 Apr 2024 06:20:27 +0000 Subject: [PATCH] fix GHA pipx & build(deps): bump github.com/golang/glog from 1.2.0 to 1.2.1 (#55) * build(deps): bump github.com/golang/glog from 1.2.0 to 1.2.1 Bumps [github.com/golang/glog](https://github.com/golang/glog) from 1.2.0 to 1.2.1. - [Release notes](https://github.com/golang/glog/releases) - [Commits](https://github.com/golang/glog/compare/v1.2.0...v1.2.1) --- updated-dependencies: - dependency-name: github.com/golang/glog dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] * force using pipx==1.4.3 to avoid error: Some possibly relevant errors from pip install: ERROR: Could not open requirements file: [Errno 2] No such file or directory: '.github/workflows/constraints.txt' from GHA runner onboarding with 1.5.0 Signed-off-by: Matteo Mortari * use absolute path for GitHub runners coming with pipx>=1.5.0 see also: https://github.com/pypa/pipx/issues/1331 Signed-off-by: Matteo Mortari --------- Signed-off-by: dependabot[bot] Signed-off-by: Matteo Mortari Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Matteo Mortari --- .github/workflows/python-release.yml | 2 +- .github/workflows/python-tests.yml | 7 ++++--- go.mod | 2 +- go.sum | 4 ++-- 4 files changed, 8 insertions(+), 7 deletions(-) diff --git a/.github/workflows/python-release.yml b/.github/workflows/python-release.yml index 6f4da8d7b..63977ee4a 100644 --- a/.github/workflows/python-release.yml +++ b/.github/workflows/python-release.yml @@ -27,7 +27,7 @@ jobs: pip --version - name: Install Poetry run: | - pipx install --pip-args=--constraint=.github/workflows/constraints.txt poetry + pipx install --pip-args=--constraint=${{ github.workspace }}/.github/workflows/constraints.txt poetry poetry --version - name: Check version working-directory: clients/python diff --git a/.github/workflows/python-tests.yml b/.github/workflows/python-tests.yml index 08ffd056f..a653cde37 100644 --- a/.github/workflows/python-tests.yml +++ b/.github/workflows/python-tests.yml @@ -40,13 +40,14 @@ jobs: with open(os.environ["GITHUB_ENV"], mode="a") as io: print(f"VIRTUALENV_PIP={pip.__version__}", file=io) - name: Install Poetry + # use absolute path as recommended with: https://github.com/pypa/pipx/issues/1331 run: | - pipx install --pip-args=--constraint=.github/workflows/constraints.txt poetry + pipx install --pip-args=--constraint=${{ github.workspace }}/.github/workflows/constraints.txt poetry poetry --version - name: Install Nox run: | - pipx install --pip-args=--constraint=.github/workflows/constraints.txt nox - pipx inject --pip-args=--constraint=.github/workflows/constraints.txt nox nox-poetry + pipx install --pip-args=--constraint=${{ github.workspace }}/.github/workflows/constraints.txt nox + pipx inject --pip-args=--constraint=${{ github.workspace }}/.github/workflows/constraints.txt nox nox-poetry nox --version - name: Run Nox working-directory: clients/python diff --git a/go.mod b/go.mod index 62910805a..14aa3c36a 100644 --- a/go.mod +++ b/go.mod @@ -5,7 +5,7 @@ go 1.19 require ( github.com/go-chi/chi/v5 v5.0.12 github.com/go-chi/cors v1.2.1 - github.com/golang/glog v1.2.0 + github.com/golang/glog v1.2.1 github.com/spf13/cobra v1.8.0 github.com/spf13/pflag v1.0.5 github.com/spf13/viper v1.18.2 diff --git a/go.sum b/go.sum index c7bed18f4..35ab9d69a 100644 --- a/go.sum +++ b/go.sum @@ -40,8 +40,8 @@ github.com/go-ole/go-ole v1.2.6 h1:/Fpf6oFPoeFik9ty7siob0G6Ke8QvQEuVcuChpwXzpY= github.com/go-ole/go-ole v1.2.6/go.mod h1:pprOEPIfldk/42T2oK7lQ4v4JSDwmV0As9GaiUsvbm0= github.com/gogo/protobuf v1.3.2 h1:Ov1cvc58UF3b5XjBnZv7+opcTcQFZebYjWzi34vdm4Q= github.com/gogo/protobuf v1.3.2/go.mod h1:P1XiOD3dCwIKUDQYPy72D8LYyHL2YPYrpS2s69NZV8Q= -github.com/golang/glog v1.2.0 h1:uCdmnmatrKCgMBlM4rMuJZWOkPDqdbZPnrMXDY4gI68= -github.com/golang/glog v1.2.0/go.mod h1:6AhwSGph0fcJtXVM/PEHPqZlFeoLxhs7/t5UDAwmO+w= +github.com/golang/glog v1.2.1 h1:OptwRhECazUx5ix5TTWC3EZhsZEHWcYWY4FQHTIubm4= +github.com/golang/glog v1.2.1/go.mod h1:6AhwSGph0fcJtXVM/PEHPqZlFeoLxhs7/t5UDAwmO+w= github.com/golang/protobuf v1.5.0/go.mod h1:FsONVRAS9T7sI+LIUmWTfcYkHO4aIWwzhcaSAoJOfIk= github.com/golang/protobuf v1.5.3 h1:KhyjKVUg7Usr/dYsdSqoFveMYd5ko72D+zANwlG1mmg= github.com/golang/protobuf v1.5.3/go.mod h1:XVQd3VNwM+JqD3oG2Ue2ip4fOMUkwXdXDdiuN0vRsmY=