From 5a0e43195d599969d055111d71cc2d094fbf8349 Mon Sep 17 00:00:00 2001 From: yalh76 Date: Mon, 7 Mar 2022 12:45:29 +0100 Subject: [PATCH] Fix cffi it seems that the version of the libffi library seen at runtime is different from the 'ffi.h' file seen at compile-time --- scripts/install | 2 +- scripts/upgrade | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/install b/scripts/install index 1d6aa9f..247b2da 100755 --- a/scripts/install +++ b/scripts/install @@ -127,7 +127,7 @@ chown -R "$app": "$final_path" sudo --user=$app $final_path/venv/bin/pip install --upgrade pip setuptools wheel # Tmp fix - sudo --user=$app $final_path/venv/bin/pip install --upgrade cffi xcffib + sudo --user=$app $final_path/venv/bin/pip install --upgrade cffi==1.14 xcffib # Still needed with latest version of weblate? sudo --user=$app $final_path/venv/bin/pip install Weblate=="$weblate_version" sudo --user=$app $final_path/venv/bin/pip install psycopg2-binary ruamel.yaml aeidon phply diff --git a/scripts/upgrade b/scripts/upgrade index 12df674..aa51035 100755 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -172,7 +172,7 @@ upgrade() { sudo --user=$app $final_path/venv/bin/pip install --upgrade pip setuptools wheel # Tmp fix - sudo --user=$app $final_path/venv/bin/pip install --upgrade cffi xcffib + sudo --user=$app $final_path/venv/bin/pip install --upgrade cffi==1.14 xcffib # Still needed with latest version of weblate? sudo --user=$app $final_path/venv/bin/pip install --upgrade Weblate=="$new_version" sudo --user=$app $final_path/venv/bin/pip install psycopg2-binary ruamel.yaml aeidon phply