Pin grpcio and revert googleapis-common-protos pin

A recent rc release [0] of grpcio, used as a dependency of
opentelemetry-exporter-otlp-proto-grpc, breaks pip. Pin to a
supported version until issue is resolved upstream.

Also revert the googleapis-common-protos pin since this seems to no
longer be necessary.

Finally, we move the nodepool-functional-k8s job to ubuntu-noble to
address this error with microk8s:

  error: cannot perform the following tasks:
  - Ensure prerequisites for "microk8s" are available (cannot install snap base "core20": snap "core20" assumes unsupported features: snapd2.61 (try to refresh snapd))

[0]: https://pypi.org/project/grpcio/1.71.0rc2/

Change-Id: Ic821c04b22e59c6a0238a927da7e407a2da79dc3
Co-Authored-By: Matthieu Huin <mhuin@redhat.com>
This commit is contained in:
Jeremy Stanley 2025-02-27 20:20:20 +00:00 committed by Clark Boylan
parent ffe8ad4229
commit 4a9e7b4642
2 changed files with 3 additions and 3 deletions

View File

@ -7,7 +7,7 @@
post-run: playbooks/nodepool-functional-k8s/post.yaml
required-projects:
- zuul/nodepool
nodeset: debian-bookworm
nodeset: ubuntu-noble
- secret:
name: nodepool-registry-credentials

View File

@ -20,8 +20,8 @@ Paste
WebOb>=1.8.1
openshift>=0.13.1,<0.14.0
boto3>=1.34.141
# TODO: remove googleapis-common-protos; rc1 pre-release is messing up depsolver
googleapis-common-protos<1.67.0
# TODO: remove grpcio pinning below; 1.71.0rc2 is messing with pip installing opentelemetry-exporter-otlp-proto-grpc
grpcio==1.69.0
google-api-python-client
# botocore 1.23.0 (via boto3 1.20.0) requires urllib 1.26.0 or newer:
# https://github.com/boto/botocore/issues/2562