-
Notifications
You must be signed in to change notification settings - Fork 451
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update requirements.txt #6839
Update requirements.txt #6839
Conversation
ImportError while loading conftest 'E:\jenkins\workspace\GH_Tribler_PR_Tests\PR_win64_pytest\tribler\src\tribler\core\conftest.py'.
src\tribler\core\conftest.py:17: in <module>
from tribler.core.components.libtorrent.download_manager.download_manager import DownloadManager
src\tribler\core\components\libtorrent\download_manager\download_manager.py:53: in <module>
lt.create_ut_metadata_plugin,
src\tribler\core\components\libtorrent\utils\libtorrent_helper.py:17: in __getattr__
raise ImportError('libtorrent library is not installed')
E ImportError: libtorrent library is not installed UPD: we have tested Ref: https://github.com/arvidn/libtorrent/blob/RC_2_0/.github/workflows/windows.yml |
28e38f0
to
0d0dc6f
Compare
I'm testing hidden peer discovery by executing the following commands: export LD_PRELOAD="/usr/lib/x86_64-linux-gnu/libtcmalloc_minimal.so.4"
export PYTHONPATH=$PWD/tribler/src:${PYTHONPATH}
export EXPERIMENT_RUN_TIME=${duration}
cd $PWD/tribler
echo ---------------------------------------------------------------create venv
python3 -m venv ./venv
. ./venv/bin/activate
echo ------------------------------------------------------install requirements
python3 -m pip install --upgrade setuptools pip
python3 -m pip install --upgrade -r ./requirements-core.txt
python3 -m pip list
echo ------------------------------------------------------start the experiment
python3 ./scripts/experiments/tunnel_community/hidden_peer_discovery.py
export R_LIBS_USER=$R_LIBS_USER${R_LIBS_USER:+:}$HOME/R
R --no-save < ./scripts/experiments/tunnel_community/hidden_peer_discovery.r
echo -----------------------------------------------------------deactivate venv
deactivate https://jenkins-ci.tribler.org/job/tunnel_experiments/job/hidden_peer_discovery/239/ UPD: it works |
fbfdc87
to
bd4ade5
Compare
Kudos, SonarCloud Quality Gate passed! |
libgcrypt20 has been installed on the Linux machine: sudo apt install libgcrypt20-dev Ref: https://github.com/arvidn/libtorrent/blob/RC_2_0/.github/workflows/linux.yml |
Related to #6352 #6512 #6840
This PR adds
libtorrent==1.2.15
to requirements.txt.This version of libtorrent has been tested on macOS, Linux, and Windows.