From ec8b135a030039b3dafa4d98f5d1dc7654f865fb Mon Sep 17 00:00:00 2001 From: Kim Ebert Date: Mon, 3 Jun 2024 14:05:35 -0600 Subject: [PATCH] fix: fix python version Signed-off-by: Kim Ebert --- build-scripts/ubuntu-2204/build-plenum.sh | 2 +- build-scripts/ubuntu-2204/postinst | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/build-scripts/ubuntu-2204/build-plenum.sh b/build-scripts/ubuntu-2204/build-plenum.sh index 8ec1c3dfb5..db0120614f 100755 --- a/build-scripts/ubuntu-2204/build-plenum.sh +++ b/build-scripts/ubuntu-2204/build-plenum.sh @@ -27,7 +27,7 @@ fpm --input-type "python" \ --verbose \ --python-package-name-prefix "python3"\ --python-bin "/usr/bin/python3" \ - --exclude "usr/local/lib/python3.8/dist-packages/data" \ + --exclude "usr/local/lib/python3.10/dist-packages/data" \ --exclude "usr/local/bin" \ --exclude "*.pyc" \ --exclude "*.pyo" \ diff --git a/build-scripts/ubuntu-2204/postinst b/build-scripts/ubuntu-2204/postinst index 31b5145050..bd8a31d2a8 100644 --- a/build-scripts/ubuntu-2204/postinst +++ b/build-scripts/ubuntu-2204/postinst @@ -2,7 +2,7 @@ # Automatically added from template: if which py3compile >/dev/null 2>&1; then - py3compile -O -p {package_name} /usr/local/lib/python3.8/dist-packages/ + py3compile -O -p {package_name} /usr/local/lib/python3.10/dist-packages/ fi # End automatically added section