From 5ad70b84494593e8aaf51bfc59323cdd2bbf1325 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Carlos=20A=CC=81lvaro?= Date: Wed, 22 Jun 2022 08:01:35 +0200 Subject: [PATCH] feat: Install python3-pygit2 version 1.6.1 from Ubuntu repositories --- CHANGELOG.md | 1 + assets/build/install.sh | 10 +++------- 2 files changed, 4 insertions(+), 7 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 4559824..6f0c348 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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** diff --git a/assets/build/install.sh b/assets/build/install.sh index ab952c8..b7cb0cb 100755 --- a/assets/build/install.sh +++ b/assets/build/install.sh @@ -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"