fix: pin a barman compatible google-api-core release (#31)

This will be reverted once barman removes the 'protobuf<3.18' requirement

Signed-off-by: Niccolò Fei <niccolo.fei@enterprisedb.com>
This commit is contained in:
Niccolò Fei
2022-09-06 08:17:48 +02:00
committed by GitHub
parent 36c7023e8a
commit a5a525a3ff
2 changed files with 5 additions and 2 deletions

View File

@@ -23,7 +23,7 @@ jobs:
max_attempts: 3
command: |
# pip-tools provides pip-compile used by update.sh
pip3 install --upgrade pip-tools
pip3 install --upgrade pip-tools pip
export PATH=$HOME/.local/bin:$PATH
echo "Updating Debian images"
./Debian/update.sh
@@ -51,4 +51,4 @@ jobs:
with:
access_token: ${{ secrets.REPO_GHA_PAT }}
branch: main
enforce_admins: ${{ steps.disable_include_admins.outputs.initial_status }}
enforce_admins: ${{ steps.disable_include_admins.outputs.initial_status }}

View File

@@ -150,6 +150,9 @@ update_requirements() {
# If there's a new version we need to recreate the requirements files
echo "barman[cloud,azure,snappy,google] == $barmanVersion" > requirements.in
# TODO: Remove once barman removes the `protobuf<3.18` requirement
echo "google-api-core <= 2.8.2" >> requirements.in
# This will take the requirements.in file and generate a file
# requirements.txt with the hashes for the required packages
pip-compile --generate-hashes 2> /dev/null