mirror of
https://github.com/YunoHost-Apps/weblate_ynh.git
synced 2024-10-01 13:35:04 +02:00
fix ffi
SystemError: ffi_prep_closure(): bad user_data (it seems that the version of the libffi library seen at runtime is different from the 'ffi.h' file seen at compile-time)
This commit is contained in:
parent
e54773af2a
commit
b5bda8fcef
2 changed files with 2 additions and 2 deletions
|
@ -127,7 +127,7 @@ chown -R "$app": "$final_path"
|
||||||
|
|
||||||
sudo --user=$app $final_path/venv/bin/pip install --upgrade pip setuptools wheel
|
sudo --user=$app $final_path/venv/bin/pip install --upgrade pip setuptools wheel
|
||||||
# Tmp fix
|
# Tmp fix
|
||||||
sudo --user=$app $final_path/venv/bin/pip install --upgrade cffi==1.14
|
sudo --user=$app $final_path/venv/bin/pip install --upgrade cffi xcffib
|
||||||
# Still needed with latest version of weblate?
|
# 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 Weblate=="$weblate_version"
|
||||||
sudo --user=$app $final_path/venv/bin/pip install psycopg2-binary ruamel.yaml aeidon phply
|
sudo --user=$app $final_path/venv/bin/pip install psycopg2-binary ruamel.yaml aeidon phply
|
||||||
|
|
|
@ -172,7 +172,7 @@ upgrade() {
|
||||||
|
|
||||||
sudo --user=$app $final_path/venv/bin/pip install --upgrade pip setuptools wheel
|
sudo --user=$app $final_path/venv/bin/pip install --upgrade pip setuptools wheel
|
||||||
# Tmp fix
|
# Tmp fix
|
||||||
sudo --user=$app $final_path/venv/bin/pip install --upgrade cffi==1.14
|
sudo --user=$app $final_path/venv/bin/pip install --upgrade cffi xcffib
|
||||||
# Still needed with latest version of weblate?
|
# 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 --upgrade Weblate=="$new_version"
|
||||||
sudo --user=$app $final_path/venv/bin/pip install psycopg2-binary ruamel.yaml aeidon phply
|
sudo --user=$app $final_path/venv/bin/pip install psycopg2-binary ruamel.yaml aeidon phply
|
||||||
|
|
Loading…
Reference in a new issue