From 3ca012ee631473da449157bf81b75664f3307924 Mon Sep 17 00:00:00 2001 From: Calum Lind Date: Thu, 1 Dec 2016 19:27:07 +0000 Subject: [PATCH] Change libtorrent minimum dependency to 1.1.1 * Change PPA to develop for Travis to use libtorrent 1.1 --- .travis.yml | 2 +- DEPENDS | 2 +- deluge/_libtorrent.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.travis.yml b/.travis.yml index d4816a2c5..5fdbce141 100644 --- a/.travis.yml +++ b/.travis.yml @@ -7,7 +7,7 @@ cache: pip before_install: - lsb_release -a - - sudo add-apt-repository ppa:deluge-team/ppa -y + - sudo add-apt-repository ppa:deluge-team/develop -y - sudo apt-get update # command to install dependencies diff --git a/DEPENDS b/DEPENDS index 553109564..43a955d68 100644 --- a/DEPENDS +++ b/DEPENDS @@ -1,5 +1,5 @@ === Core === - * libtorrent (rasterbar) >= 1.0.7 + * libtorrent (rasterbar) >= 1.1.1 * python >= 2.6 * setuptools * twisted >= 11.1 diff --git a/deluge/_libtorrent.py b/deluge/_libtorrent.py index f2aed8962..66dab0f0e 100644 --- a/deluge/_libtorrent.py +++ b/deluge/_libtorrent.py @@ -23,7 +23,7 @@ try: except ImportError: import libtorrent as lt -REQUIRED_VERSION = '1.0.7.0' +REQUIRED_VERSION = '1.1.1.0' if VersionSplit(lt.__version__) < VersionSplit(REQUIRED_VERSION): raise ImportError('Deluge %s requires libtorrent >= %s' % (get_version(), REQUIRED_VERSION))