YunoHost-Apps / borg_ynh

An experimental Borg implementation for YunoHost
https://www.borgbackup.org/
GNU Affero General Public License v3.0
19 stars 22 forks source link

Try to upgrade pip as an attempt to fix borgbackup install error #98

Closed alexAubin closed 2 years ago

alexAubin commented 2 years ago

Problem

Install spontenously broke because pip wtf

https://ci-apps.yunohost.org/ci/job/2833

Solution

PR Status

Automatic tests

Automatic tests can be triggered on https://ci-apps-dev.yunohost.org/ after creating the PR, by commenting "!testme", "!gogogadgetoci" or "By the power of systemd, I invoke The Great App CI to test this Pull Request!". (N.B. : for this to work you need to be a member of the Yunohost-Apps organization)

alexAubin commented 2 years ago

!testme

yunohost-bot commented 2 years ago

:rocket: Test Badge

fflorent commented 2 years ago

For what it's worth, I also had to run this command to manually setup the borg venv:

/opt/borg-env/bin/python /opt/borg-env/bin/pip install --upgrade setuptools

I did it before the upgrade of pip, but not sure whether it does anything.

Using this source: https://appuals.com/command-python-setup-py-egg_info/ (I had a message Command “python setup.py egg_info” failed with error code 1 with this error: AttributeError: 'Version' object has no attribute 'release')

alexAubin commented 2 years ago

Uggh sorry i did not realize you made another PR on the side :/