feat: Install python3-pygit2 version 1.6.1 from Ubuntu repositories

This commit is contained in:
Carlos Álvaro
2022-06-22 08:01:35 +02:00
parent 0f5fcbf36d
commit 5ad70b8449
2 changed files with 4 additions and 7 deletions

View File

@@ -8,6 +8,7 @@ for the list of changes in SaltStack.
- Change Docker base image to `ubuntu:jammy-20220531`
- Upgrade Python to version `3.10`
- Install `python3-pygit2` version `1.6.1` from Ubuntu repositories
**3004.2**

View File

@@ -10,7 +10,7 @@ source "${FUNCTIONS_FILE}"
log_info "Installing required packages and build dependencies ..."
REQUIRED_PACKAGES=(
libssl1.1 zlib1g libffi7 libpcre3 libgssapi3-heimdal
libssl3 zlib1g libffi7 libpcre3 libgssapi3-heimdal
)
BUILD_DEPENDENCIES=(
@@ -35,15 +35,11 @@ log_info "Installing python3 packages ..."
install_pkgs --quiet \
python3-mako python3-pycryptodome python3-cherrypy3 \
python3-git python3-requests python3-redis python3-gnupg \
python3-mysqldb python3-dateutil python3-libnacl python3-openssl
python3-mysqldb python3-dateutil python3-libnacl python3-openssl \
python3-pygit2
pip3 install timelib==0.2.5
# Install pygit2 package
install_libssh2
install_libgit2
pip3 install cached-property cffi==1.14.6 pygit2==1.9.1
# Downloading bootstrap-salt.sh script
BOOTSTRAP_VERSION='2022.03.15'
BOOTSTRAP_URL="https://raw.githubusercontent.com/saltstack/salt-bootstrap/v${BOOTSTRAP_VERSION}/bootstrap-salt.sh"