Package Details: flexget 2.10.48-1

Git Clone URL: (read-only)
Package Base: flexget
Description: Automate downloading or processing content (torrents, podcasts, etc.) from different sources like RSS-feeds, html-pages, various sites and more.
Upstream URL:
Licenses: MIT
Submitter: jonkristian
Maintainer: sleduc
Last Packager: sleduc
Votes: 65
Popularity: 0.001265
First Submitted: 2009-09-11 19:38
Last Updated: 2017-05-21 09:34

Latest Comments

sleduc commented on 2017-05-21 09:39

I updated the package to 2.10.48 and applied your fix for the dependency on guessit.
It seems to work, hoping that using this version of guessit will not create too many bugs... but I guess it will still be better than not being able to install it at all :)

jevv commented on 2017-05-15 01:40

Also, if porting to python (python3), then the patch for requirements.txt should be modified to remove dep on pahtlib:


% cat requirements.patch
diff -Naur Flexget-2.10.14-old/requirements.txt Flexget-2.10.14/requirements.txt
--- Flexget-2.10.14-old/requirements.txt 2017-05-14 19:27:31.385094023 -0600
+++ Flexget-2.10.14/requirements.txt 2017-05-14 19:28:29.416874195 -0600
@@ -11,12 +11,10 @@
# There is a bug in requests 2.4.0 where it leaks urllib3 exceptions
requests>=2.8.0, <3.0
-#Guessit requires python-dateutil<=2.5.2

jevv commented on 2017-05-15 00:54

Well, the owner could apply:

The guys from flexget have accepted and rejected it... People from gentoo indicates compiles and works. There's also a indication of 3 tests failing...

I suggest applying the changes so the flexget keeps working on Arch, but also keep track of:

I seen no reason either not to move to python, rather than keep using python2...

IamCarbonMan commented on 2017-03-29 15:35

Install fails with:

error: target not found: python2-guessit<=2.0.4

highway commented on 2016-09-01 02:28

@redbaron i just re-read the comment, maybe you can report that to them on their site? open a new issue and report that.

highway commented on 2016-09-01 02:24

@redbaron there is an issue open with guessit in their github. you can comment to show support/urgency if you like. the issue is with dateutil functionality breaking guessit tests that might get removed.

redbaron commented on 2016-08-18 06:34

Hello, reinstalled flexget from zero (deleted all dependencies and orphaned python packages), python2-guessit asked for python2-dateutil<2.5.2 which is not available in repository so I installed 2.5.1 from archive and then flexget fully installed.
Bu when running "flexget check" it gives error:

pkg_resources.DistributionNotFound: The 'guessit<=2.0.4' distribution was not found and is required by FlexGet

but in dependencies from PKGBUILD python2-guessit>=2.0.3 (python2-guessit-git) is required.

jevv commented on 2016-08-16 07:57

BTW, guppy (opt. dep.) no longer compiles, on python3:

Perhaps a patch can be useful, :-) See, it was reported on 2012-01, updated on 2014-05, and since then the bug hadn't been attended. Therefore a patch would be great... Meanwhile I'd guess it can be removed from the opt. deps. if using python3...

Tha of course if in the mood to migrate to python3, :-)

sleduc commented on 2016-08-16 07:52

Thanks for the comments.
For now I just updated it to the latest version still using python2, I will look into the migration to python3 and the creation of all dependency packages.

jevv commented on 2016-08-16 06:21

Just in case, a brief of what I did to upgrade to 2.2.20 and at the same time migrate to python3 (none of the new pkgs are in AUR):

flexget -> 2.2.20
-> CHANGE to python3
-> REMOVE all #AUR# on deps
-> REMOVE "prepare"
-> NEW DEPENDENCY python-pathlib
-> MOVED from OPT to DEP (really opt?)
python-transmissionrpc python-rarfile
sha256sums 42b49386fd5f0bb60e1e920d2a5eb5651c9ef0d0df12f464fe2d3a3d64dcef87
python-apscheduler -> 3.2.0
sha256sums 5baa1195ba711868fae257612cf80372ff1124014ca896884bf132f75636f638
python-flask-restful -> REMOVE python2
python-rpyc -> REMOVE python2
python-flask-compress -> new python3
python-flask-cors -> new python3
python-flask-restplus086 -> new python3
python-flask-restplus -> new python3 (required 086, only for completeness)
python-rednose -> new python3 (prior deps on this)
python-termstyle -> new python3 (prior deps on this)
python-safe -> new python3
python-pynzb -> new python3
python-pytvmaze -> new python3
python-pathlib -> new python3

jevv commented on 2016-08-16 03:15

2.2.20 out, on

kevku commented on 2016-06-20 10:50

requiers guessit<=2.0.4

adam900710 commented on 2016-04-29 01:55

Thanks, I asked in upstream IRC, and decided to use virtualenv + pip do install it for a given user.

sleduc commented on 2016-04-28 17:54

Unfortunately I do not think this is possible.
In fact I guess it would require some modification of the code of Flexget to be more "modular".
But I fear we can't do much on the "packaging" side since flexget will not even start if one dependency is missing.
Maybe you could ask this question "upstream" (in

adam900710 commented on 2016-04-28 02:50

Any idea to stripe off the so many python dependency?

Or is there any option to disable features which I won't need?

Personally speaking, I just need flexget to filter torrents and download to given dir.
Nothing more, the dependency makes me quite scared though.

sleduc commented on 2016-03-18 19:54

Thanks, I updated the dependency (and the package version), it should all work correctly now.

cgirard commented on 2016-03-18 09:44

OK, sorry about this. I've created python2-flask-restplus086 for Flexget and updated the SRCINFO of python2-flask-restplus.

mkaito commented on 2016-03-18 02:24

I installed restplus 0.8.6 manually, and it seems like things work again. I guess cgirard might have to revert the update, if he was specifically holding back for flexget.

sleduc commented on 2016-03-17 20:17

I think there is indeed an issue with the package python2-flask-restplus on this commit :

The PKGBUILD was updated to 0.9.0, but the .SRCINFO is not.
I think this is why the AUR (and yaourt when it tries to install it) says that it is "0.8.6". But in reality it installs the 0.9.0.

See the output of the yaourt command :
Line 4 reports the installation of 0.8.6, but starting with line 20 you see it in fact installs 0.9.0

mkaito commented on 2016-03-17 17:41

I used yaourt to install it from AUR. It reports version 0.8.6, but installs 0.9.0:

aur/python2-flask-restplus 0.8.6-1 [installed: 0.9.0-1]

cgirard commented on 2016-03-17 17:19

Where did you get your python2-flask-restplus package? I have kept it outdated at 0.8.6 in AUR especially for Flexget.

mkaito commented on 2016-03-17 17:04

Both of those commands returned an error for me, which was odd. I tried reinstalliing restplus, and now it seems the version is too new for flexget:

pkg_resources.DistributionNotFound: The 'flask-restplus==0.8.6' distribution was not found and is required by FlexGet

❯ pacman -Q python2-flask-restplus
python2-flask-restplus 0.9.0-1

sleduc commented on 2016-03-17 16:57

It is strange that you have this traceback if you have the files...
Can you try the import manually :
python2 -c "from flask_restplus import Api as RestPlusAPI"

And maybe to check the package of the files :
pacman -Qo /usr/lib/python2.7/site-packages/flask_restplus/__init__.pyc

mkaito commented on 2016-03-17 09:57

That was a typo on my part. python2-flask-restplus is correctly installed, and files exist under /usr/lib/python2.7/site-packages/flask_restplus.

sleduc commented on 2016-03-16 18:33

Indeed, the error on your pastebin seems to indicate an error on flask_restplus, not on flask_restful.

The package python2-flask-restplus is a dependency of flexget, and should provide the python package flask_restplus.
Do you have this package installed ?
Do you see files in /usr/lib/python2.7/site-packages/flask_restplus/ ?

mkaito commented on 2016-03-16 17:25

There seems to be an issue with flask-restful:

sleduc commented on 2016-01-27 12:05

python2-pathlib is a missing dependency of python2-pyscss, so it should be added there (a comment has already been posted on this package but it has not yet been updated).

I am not really sure about guessit : since the dependency states "python2-guessit>=2.0rc5" which is provided by python2-guessit-rc it should work, but maybe I am missing something...
I will have to try to do more tests to see what is going on.

bkuri commented on 2016-01-27 05:41

I think `python2-pathlib` should be added to the list of dependencies. Also `python2-guessit-rc` wasn't found at setup runtime for some reason, so I had to install it manually before retrying.

cgirard commented on 2015-11-04 08:53

See my comment there, the PKGBUILD misses deps indeed.

rvasilev commented on 2015-11-04 08:30

After 1.2.378-1 update I'm getting
The 'pathlib' distribution was not found and is required by pyScss.

After installing python2-pathlib everything is fine.

May be strange, but pathlib is not listed as dependancy for python2-pyscss 1.3.4-2 (

sleduc commented on 2015-09-16 11:14

I updated flexget to the latest version and added a small patch to bypass the "beautifulsoup4 < 4.4" dependency since it is still present upstream.
It seems to work fine on my side, let me know if you see a problem with this new version.

sleduc commented on 2015-09-13 10:29

Indeed there is an explicit dependency check for beautifulsoup.
But I did some quick tests and flexget seems to work fine with beautifulsoup4-4.4.0 (at least with my configuration, and TUs provided by Flexget work as well).

There is currently an open bug for this on their side :

For now the workaround would be to block the update of beautifulsoup, or simply apply on the source code...

ccoffey commented on 2015-09-12 18:33

Latest version [today's] works with Beautiful Soup 4.4+. Thanks for the quick update.

tomk commented on 2015-09-12 11:16

Here we go again :) - Arch now has python2-beautifulsoup4-4.4.0-1, flexget is not ready for it. So it's --ignore time again....

kuroneko commented on 2015-06-19 22:37

flexget works with the regular python2-dateutil, there's no need to make a special package just to use an out-of-date version of it.

rbellamy commented on 2015-06-06 22:49

Now running with SQL Alchemy 1.0

rbellamy commented on 2015-05-31 18:22

Nicely done, @sebleblanc.

For those who are still hoping for an "Arch" way of managing this package, take a look at the flexget-git package - I've updated it to point to a branch I'm currently synching that allows the Arch packaged SQL Alchemy.

cockatricehunter commented on 2015-05-31 17:07


Great guide, any idea how I'd get the deluge plugin working through the virtual environment or would I just have to change it to download to a folder instead.


sebleblanc commented on 2015-05-08 19:16

I wrote a quick guide on how to install the FlexGet package in a virtualenv, this will get around the package's dependencies on the Python system packages.

Unfortunately, this means not using this PKGBUILD, but it might do the trick for some people. This guide works for probably all Python packages that you can find on PyPI; just change "flexget" for "<package name>".

As the FlexGet site recommends, you *could* install it directly on the system using pip, but this has the risk of clashing with system packages. Using a virtualenv is the recommended route, in my opinion.

rbellamy commented on 2015-05-08 18:12

@highway - yeah, that's absolutely an option. One that many people do use. That does take flexget out of the Arch Package management system - so you're using a Framework-based Package Manager (pip) over the OS-based package manager.

Like @tomk says - until upstream validates that python2-sqlalchemy-1.0.x will work, an option is to ignore the python2-sqlalchemy upgrade.

Another option is to modify the PKGBUILD and REMOVE the python2-sqlalchemy dependency - this will cause the flexget build process to pull in the version of sqlalchemy it requires via pip. I don't recommend this, as now you're going to have two versions of sqlalchemy - one managed by pacman and one managed by pip.

This really is an example of the dichotomy and challenge of Package Management. We see this with ruby, python, haskell, node.js or any other framework with a (relatively) mature package management system where packages can be found in either the OS or the Framework repositories.

highway commented on 2015-05-08 03:03

just install the latest via pip as per the instructions on flexget's website. worked easily for me.

willemw commented on 2015-05-04 10:49

Correction on my comment below: downgrade python2-sqlalchemy (to 0.9.9-2), not flexget.

willemw commented on 2015-05-04 10:21

Correction on my comment below: there is no need to downgrade flexget in this case.

tomk commented on 2015-05-04 10:12

I've posted a request upstream asking them to update flexget for python-sqlalchemy 1.0.x. Until they do that, I'll be ignoring the python2-sqlalchemy upgrade, as suggested below

willemw commented on 2015-05-04 07:24

@highway: downgrade flexget and ignore python2-sqlalchemy during upgrades (
I use program 'downgrade' to downgrade and add command line option '--ignore python2-sqlalchemy' during upgrades.

rbellamy commented on 2015-04-29 00:53

Of course, over the weekend, my media server died, so wasn't able to get to this like I expected - instead I spent my time getting the machine back up and running so I can test. I appreciate every being patient - I'll have this sussed out shortly.

highway commented on 2015-04-29 00:17

is there a way to upgrade everything but flexget until this is fixed? i havent been able to find anything in the wiki or on google to help.

rbellamy commented on 2015-04-27 05:30

I'm testing whether or not sqlalchemy 1.0.0 will work with flexget. I'll push the aurball once I'm convinced it'll work. Otherwise I'll have to package an older version of sqlalchemy, which is less than ideal.

rbellamy commented on 2015-04-23 17:03

I'll be looking at this over the coming weekend.

willemw commented on 2015-04-23 06:53

error: failed to prepare transaction (could not satisfy dependencies)
:: flexget: requires python2-sqlalchemy<0.9.99

Available in the official repos:
community/python2-sqlalchemy 1.0.0-1

JohnRobson commented on 2015-04-12 14:55

2 Issues:

1) gpg --keyserver --recv-keys 78244A9E30051117

2) :: python2-dateutil1 and python2-dateutil are in conflict. Remove python2-dateutil? [y/N]
error: unresolvable package conflicts detected
error: failed to prepare transaction (conflicting dependencies)
:: python2-dateutil1 and python2-dateutil are in conflict

rbellamy commented on 2015-02-23 08:41

@Alfarr, this one is managed by the OS package manager (pacman, et al), rather than a framework package manager (pip, et al).

Aside from that, they're the same code... as a matter of fact, I grabulate the archive from the pypi package.

Alfarr commented on 2015-02-23 06:04

What is the difference between this package and the one I did install with python2-pip?

willemw commented on 2014-12-10 10:11

Thanks. Installing python2-beautifulsoup3 gets rid of the error messages.

However, I have python2-tvrage from the AUR installed, which is the version from PyPI. No other tvrage instances are installed. Maybe python2-tvrage is missing depends=('python2-beautifulsoup3')?

jarondl commented on 2014-12-09 19:34

Hi @willemw this is not a packaging problem, and it has nothing to do with this package. The error is caused by tvrage, but not in the version that's on aur, nor the version on PyPI, but on the bitbucket version. The bitbucket version needs python2-beautifulsoup3 which you did not install.

willemw commented on 2014-12-09 17:30

When running flexget:

CRITICAL plugin Plugin `flexget.plugins.search_newznab` failed to import dependencies
ERROR plugin No module named BeautifulSoup
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/flexget/", line 390, in _load_plugins_from_dirs
File "/usr/lib/python2.7/site-packages/flexget/plugins/", line 11, in <module>
from flexget.plugins.api_tvrage import lookup_series
File "/usr/lib/python2.7/site-packages/flexget/plugins/", line 9, in <module>
import tvrage.api
File "/usr/lib/python2.7/site-packages/tvrage/", line 28, in <module>
import feeds
File "/usr/lib/python2.7/site-packages/tvrage/", line 28, in <module>
from util import _fetch
File "/usr/lib/python2.7/site-packages/tvrage/", line 29, in <module>
from BeautifulSoup import BeautifulSoup
ImportError: No module named BeautifulSoup
CRITICAL plugin Plugin `flexget.plugins.api_tvrage` failed to import dependencies
ERROR plugin No module named BeautifulSoup

jarondl commented on 2014-12-07 19:14

Hi @rbellamy
python-dateutil 2.3 is out (in community), and it does not have the bug that caused upstream to disallow 2.2. So can you please switch the dependency from python2-dateutil1 to python2-dateutil ?

rbellamy commented on 2014-11-24 20:25

@jarondl - regarding the question on ChangeLogs:

rbellamy commented on 2014-11-18 08:24

@jarondl - paying the bills! Get slammed at work. (:

Thanks for the offer, but I just need to get through this week and I'll get it done this weekend.

jarondl commented on 2014-11-18 06:36

Hi @rbellamy, what causes the delay? Can I help?

jarondl commented on 2014-11-09 16:45

Hu @rbellamy,
python2-apscheduler was adopted by me and updated to a current version, so you can update flexget.

P.S. Why is the changelog included in the tar ball?

willemw commented on 2014-11-08 16:58

'python2' can be listed, however it is not really necessary. It's a bit of overkill. That's all I meant. Flexget already indirectly depends on 'python2': see the 'depends' list.

jarondl commented on 2014-11-08 16:36

Hi @willemw, python2-apscheduler was never in the AUR PKGBUILD version, but was added in the archlinuxarm version (by me actually), when updating to 1.2.214. Maybe I should have bumped the pkgrel there by ".1".

I hope that on the next version (1.2.215, which was already released) the packages will be in sync.

Why shouldn't python2 be listed? it is definitely depended upon.

willemw commented on 2014-11-08 14:06

I have flexget installed on two machines. Both are version 1.2.214-1. One has python2-apscheduler in 'depends' (on archlinuxarm), the other has not (on archlinux). Did you remove python2-apscheduler from 'depends' without increasing pkgrel? The archlinuxarm repo still has the old 1.2.214-1 PKGBUILD file it seems.

'pacaur -Si flexget' or 'yaourt -Si flexget' does not display all the properties or displays syntax errors. I think it's because of '#AUR#' in 'depends'.

Also, python2 does not need to be listed in 'depends'.

rbellamy commented on 2014-11-07 16:41

I'm going to wait until python2-apscheduler is updated before trying to fix this build.

@jarondl - what do you mean when you say "If you let flexget download the egg..."?

jarondl commented on 2014-11-07 08:33

@mkaito your problem is that the aur version of APScheduler is old. The sqlalchemy stuff was renamed some time in between 2.1.1 and 3.0.1.
Install the new apscheduler, you can use this: ( ) and check again.

jarondl commented on 2014-11-07 08:00

@mkaito I don't think flexget requires python2-tzlocal,
but that python2-apscheduler should require it. If you let flexget download the egg, it downloads the new APScheduler version, which requires python2-tzlocal

mkaito commented on 2014-11-07 02:30

This might be an upstream bug, but:

File "/usr/lib/python2.7/site-packages/flexget/plugins/daemon/", line 7, in <module>
from apscheduler.jobstores.sqlalchemy import SQLAlchemyJobStore
ImportError: No module named sqlalchemy

mkaito commented on 2014-11-07 02:27

Also requires `python2-tzlocal` now.

rbellamy commented on 2014-11-06 17:42

@jarondl - I see that now. I'll update the package later today or tomorrow.

jarondl commented on 2014-11-06 17:12

There is a new dependency - python2-apscheduler

tad commented on 2014-11-05 05:54

Upstream is no longer offering a versioned package for download. Recommend using pip2arch from pkgtools to generate the PKGBUILD.

lolilolicon commented on 2014-10-11 08:45

1. python2-paver is a build/packaging tool, akin to the use of waf in mpv. I do not have a strong opinion about this, but I'm sure it works without python2-paver. I don't know how well it will work with python2-paver in the long run, but from the looks of commit b6854cc it's not an entirely smooth change between different paver versions -- upstream requires a specific paver version because newer versions may break their setup; that's my opinion, but you may want to ping upstream to make sure.

2. python2-setuptools provides python2-distribute. Yes we're certain.

rbellamy commented on 2014-10-11 03:22

@lolilolicon - what do you mean by " python2-paver required? Upstream seems to perfer a particular version ('paver==1.2.3') and have it handled automatically at build time?" I was under the impression that if it's a dependency, regardless of whether or not flexget "deals with it at build time," it's still good stewardship to make sure the package call for it?

In other words - I believe that an AUR package should pull in it's dependencies via PKGBUILD, NOT via some framework-specific package management system.

Good to know about python2-distribute, though it's obsolete, are we certain it's not in use by flexget?

lolilolicon commented on 2014-10-07 06:23

As a matter of fact, /usr/bin/flexget requires at runtime python2-setuptools, so it should be a depend rather than just a makedepend. Note also python2-distribute is obsolete. Finally, is python2-paver required? Upstream seems to perfer a particular version ('paver==1.2.3') and have it handled automatically at build time.

rbellamy commented on 2014-10-06 20:59

Version bump to 1.2.199

* Removed python2-argparse as requirement per fix of
* Added makedep python2-setuptools

rbellamy commented on 2014-09-22 17:35

@lolilolicon, thanks for the information. I'm watching the bug, and will remove the python2-argparse dependency as soon as python2-stevedore is corrected.

lolilolicon commented on 2014-09-22 11:22

Turns out it's a bug in the package python2-stevedore,
Once it is fixed, you can safely update to 1.2.189.
In any event, python2-argparse should be removed from the depends.
There shouldn't be a reason for python2-argparse to exist, besides to support older versions of python, which is of no concern to this package.

lolilolicon commented on 2014-09-22 06:14

argparse is in the standard library, so it shouldn't be needed. It's definitely a bug upstream. I've opened an issue there.
For now, the right thing to do is to stick to an older version (e.g. 1.2.181) that's free of this bug.

rbellamy commented on 2014-09-21 23:37

@NygelLyndley, that seems a problem with the python2-argparse dependency tree. Maybe make a comment there?

NygelLyndley commented on 2014-09-21 23:17

Hmm ok.

I installed python2-argparse.

Then removed all the python3 related stuff that pulled in : `pacman -R python-argparse python python-setuptools` this left behind to python 2 arguparse

And flexget --version (at least) now works.

NygelLyndley commented on 2014-09-21 23:01

Hi, the same as rnd,

mispelt dependecy + the same errors on executing flexget.

The dependency can be fixed manually, the errors can be fixed by installing

But this installs python 3. I'm not a python dev, I don't know if this will have repercussions on your Arch install.

Or perhaps someone needs to create a python27-argparse package?

rbellamy commented on 2014-09-21 22:54

@rnd - thanks for that. Fixed the typo.

Added python2-argparse as a dependency.

rnd commented on 2014-09-21 22:23


I had 2 problems with 1.2.198-1.

First there seems to be a typo in the PKGBUILD:

"python2-guessiti" does not exist, it should be "python2-guessit".

After installation flexget failed to run even --version:

$ flexget --version
Traceback (most recent call last):
File "/usr/bin/flexget", line 5, in <module>
from pkg_resources import load_entry_point
File "/usr/lib/python2.7/site-packages/", line 2867, in <module>
working_set = WorkingSet._build_master()
File "/usr/lib/python2.7/site-packages/", line 432, in _build_master
File "/usr/lib/python2.7/site-packages/", line 728, in require
needed = self.resolve(parse_requirements(requirements))
File "/usr/lib/python2.7/site-packages/", line 622, in resolve
raise DistributionNotFound(req)
pkg_resources.DistributionNotFound: argparse

Given the final line I tried installed aur/python2-argparse 1.2.1-1 and now it seems to run fine...

rbellamy commented on 2014-09-21 21:21

Added python2-guessit runtime dependency.

Bump to 1.2.189.

kastor commented on 2014-09-17 16:04

I'm getting this error, any ideas?

Traceback (most recent call last):
File "/usr/bin/flexget", line 9, in <module>
load_entry_point('FlexGet==1.2', 'console_scripts', 'flexget')()
File "/usr/lib/python2.7/site-packages/", line 356, in load_entry_point
return get_distribution(dist).load_entry_point(group, name)
File "/usr/lib/python2.7/site-packages/", line 2472, in load_entry_point
return ep.load()
File "/usr/lib/python2.7/site-packages/", line 2186, in load
File "/usr/lib/python2.7/site-packages/flexget/", line 7, in <module>
from flexget.options import get_parser
File "/usr/lib/python2.7/site-packages/flexget/", line 13, in <module>
from flexget.utils import requests
File "/usr/lib/python2.7/site-packages/flexget/utils/", line 7, in <module>
import requests
File "/usr/lib/python2.7/site-packages/requests/", line 59, in <module>
from .models import Request, Response, PreparedRequest
File "/usr/lib/python2.7/site-packages/requests/", line 14, in <module>
from .hooks import default_hooks
EOFError: EOF read where object expected

shelbydz commented on 2014-09-13 18:09

Also was getting the "You do not have the service_identity module installed..." error. Adding python2-service-identity resolved the problem. Maybe add this as a dependency?

miffe commented on 2014-09-04 20:25

Really strange, yesterday i couldn't run it, it crashed and gave a stacktrace saying it couldnt find certifi, so I installed it and it worked. Today it seems to work without it. Oh well.

rbellamy commented on 2014-09-03 21:45

@miffe, I'm looking here:
and here:

Not seeing a requirement for python2-certifi?

miffe commented on 2014-09-03 21:26

You need a depends on python2-certifi

rbellamy commented on 2014-08-30 19:21

@BrainDamage - updated arch to more appropriately target 'any'.

Updated new runtime dep for python2-path>=5.1.

Bump to 1.2.171.

rbellamy commented on 2014-07-25 17:26

@BrainDamage, sorry for taking so long to reply. Yeah, according to you are correct. I'll fix it at the next release.

BrainDamage commented on 2014-07-18 23:26

being entirely a python script, shouldn't arch be set to 'any'?

rbellamy commented on 2014-06-09 14:42

Turns out python2-pynzb is not optional. Bump to 1.2.137 as well.

rbellamy commented on 2014-06-06 18:21

@highway: I think you've only included the final outcome of your pacman command.

The python2-sqlalchemy-0.7.9 should have satisfied the requirements. The only reason you're seeing an attempt to upgrade to python2-sqlalchemy in Community is because you haven't pinned that package to exclude it from automated upgrade.

In other words, while you probably only need python2-sqlalchemy because of flexget, the flexget package isn't the root of your problem.

Try running `pacman -S python2-sqlalchemy` alone and see what happens. If that succeeds, then try installing flexget again.

Finally, is orphaned, and no longer necessary.

You really should be using python2-sqlalchemy from Community.

rbellamy commented on 2014-06-06 18:20

I think you've only included the final outcome of your pacman command.

The python2-sqlalchema-0.7.9 should have satisfied the requirements. The only reason you're seeing an attempt to upgrade to python2-sqlalchemy in Community is because you haven't pinned that package to exclude it from automated upgrade.

In other words, while you probably only need python2-sqlalchemy because of flexget, the flexget package isn't the root of your problem.

Try running `pacman -S python2-sqlalchemy` alone and see what happens. If that succeeds, then try installing flexget again.

highway commented on 2014-06-06 01:30

:: python2-sqlalchemy and python2-sqlalchemy-0.7.9 are in conflict. Remove python2-sqlalchemy-0.7.9? [y/N] Y
error: failed to prepare transaction (could not satisfy dependencies)
:: flexget: requires python2-sqlalchemy-0.7.9
==> ERROR: 'pacman' failed to install missing dependencies.

rbellamy commented on 2014-06-04 01:54

To use the systemd user unit: systemctl --user enable flexget

rbellamy commented on 2014-06-02 20:44

Thanks @stevenhoneyman. This is my first foray into AUR management, so I'll do my best.

stevenhoneyman commented on 2014-06-02 20:28

*** re-orphaned for @rbellamy to adopt+maintain ***

(see his request 2014-05-07 below)

stevenhoneyman commented on 2014-06-02 10:41

Adopted. Will get this updated from the previous maintainer's 1.1.99 to the latest as soon as I can

divansantana commented on 2014-05-24 21:39

Getting this error with the latest update
/usr/lib/python2.7/site-packages/twisted/internet/ UserWarning: You do not have the service_identity module installed. Please install it from <>. Without the service_identity module and a recent enough pyOpenSSL tosupport it, Twisted can perform only rudimentary TLS client hostnameverification. Many valid certificate/hostname mappings may be rejected.
verifyHostname, VerificationError = _selectVerifyImplementation()

Downgrade python2-twisted-14.0.0-1-x86_64.pkg.tar.xz -> twisted-13.2.0-1-x86_64.pkg.tar.xz resolves the issue

rbellamy commented on 2014-05-07 21:11

@samaelson1, I'd be glad to take over the package, if you want to orphan it.

mkaito commented on 2014-04-11 12:16

This package is in dire need of love. Is the maintainer MIA?

mkaito commented on 2014-04-11 12:15

Please include a user level systemd unit, in /usr/lib/systemd/user/flexget.service:

Description=FlexGet Daemon

ExecStart=/bin/flexget daemon start
ExecStop=/bin/flexget daemon stop
ExecReload=/usr/bin/flexget daemon reload


divansantana commented on 2014-03-17 18:08

Plus the below suggestions

lolilolicon commented on 2014-01-31 14:24

python2-certifi is obsolete, so you can remove it from depends.

bricewge commented on 2014-01-31 11:12

1.2.73 is here :

It's an update of foobster's PKGBUILD without CRLF.

foobster commented on 2014-01-27 16:31

For 1.2.69:

An update of TorArneThune's PKGBUILD because the 1.2.61 binary is no longer there. Also, if you installed the outdated package first you need to uninstall these packages before installing with the new PKGBUILD:

pacman -R python2-sqlalchemy-0.7.9 flexget python2-dateutil

TorArneThune commented on 2014-01-23 12:11

For 1.2.61:
I've changed the python2-dateutil dependency to python2-dateutil1 (available in AUR) as python2-dateutil in the official repository is now version 2.2, a version that flexget not yet supports.

kevku commented on 2014-01-13 13:57


adampolski commented on 2013-12-16 05:22

After experimenting with some changes to the PKGBUILD file with no luck, I eventually gave up and tried installing flexget using pip2. This seems to install the latest version correctly.

You'll need to install the package python2-pip and then run the command `pip2 install flexget` as root. Make sure to remove any Arch-packaged versions of flexget and any required python packages first.

cacack commented on 2013-11-25 21:40

Eh, looks like 1.1.163 has issues with dateutil 2.2...

cacack commented on 2013-11-25 21:30

Updated PKGBUILD here: Bumped version to 1.1.163 and included the dependencies listed in the comments.

lolilolicon commented on 2013-10-26 04:28

new dependency: AUR/python2-tmdb3

kozec commented on 2013-10-23 15:34

cgirard: That doesn't actually explains much, as package is clearly build with wrong dependencies right now... (i.e. my installation just got broken and correctly specified deps would prevent that)

cgirard commented on 2013-10-23 15:23

@kozec: already explained below.
Seems to be fixed in latest/next version though:

kozec commented on 2013-10-23 15:17

Big problem found.

Traceback (most recent call last):
File "/usr/bin/flexget", line 5, in <module>
from pkg_resources import load_entry_point
File "/usr/lib/python2.7/site-packages/", line 2797, in <module>
parse_requirements(__requires__), Environment()
File "/usr/lib/python2.7/site-packages/", line 576, in resolve
raise DistributionNotFound(req)
pkg_resources.DistributionNotFound: requests>=1.0,<1.99

python2-requests dependency needs to be changed to 'python2-requests<2.0'.

kozec commented on 2013-10-23 15:14

Big problem found:

Traceback (most recent call last):
File "/usr/bin/flexget", line 5, in <module>
from pkg_resources import load_entry_point
File "/usr/lib/python2.7/site-packages/", line 2797, in <module>
parse_requirements(__requires__), Environment()
File "/usr/lib/python2.7/site-packages/", line 576, in resolve
raise DistributionNotFound(req)
pkg_resources.DistributionNotFound: requests>=1.0,<1.99

thebodzio commented on 2013-10-14 21:48

pytransmissionrpc in optdepends no longer exists in AUR. Could you please change it to python2-transmissionrpc?

ishanarora commented on 2013-10-12 05:42

Please bump the version to 1.1.134

x0x01 commented on 2013-09-27 07:00

After upgrading community/python2-requests to 2.0.0-1 - flexget crashed, rollback to 1.0 version of requests lib fix my problem

pip2 install -Iv requests==1.0

ccoffey commented on 2013-08-26 20:57

Failing to run now now as beatifulsoup4 is now 4.3.1
pip2 install flexget
will fix it.

kernel_bug commented on 2013-08-10 22:46

PKGBUILD for 1.1.83

lolilolicon commented on 2013-07-17 07:07 is now fixed in 1.1.77, updated PKGBUILD

lolilolicon commented on 2013-07-16 13:35

PKGBUILD updated for FlexGet-1.1.76:

lolilolicon commented on 2013-07-16 06:37

I've updated the PKGBUILD and cleaned it up:

cgirard commented on 2013-07-08 09:44

pytransmissionrpc optional dep could be replaced by python2-transmissionrpc

American_Jesus commented on 2013-06-17 22:05

requires python2-itsdangerous>=0.21

Anonymous comment on 2013-06-01 05:45

For the 'beautifulsoup4' issue (pkg_resources.DistributionNotFound: beautifulsoup4>=4.1,<4.2), I updated this file :
which now reads :
'beautifulsoup4>=4.1, <=4.2'
instead of :
'beautifulsoup4>=4.1, <4.2'

Seems to work so far.

carbonosity commented on 2013-05-31 18:11

Change the line

chmod ugo+r ${pkgdir}/usr/lib/python2.7/site-packages/FlexGet-1.0-py2.7.egg-info/*

in the PKGBUILD to be...

chmod ugo+r ${pkgdir}/usr/lib/python2.7/site-packages/FlexGet-1.1-py2.7.egg-info/*

and it will build fine.

American_Jesus commented on 2013-05-30 13:37

don't build

chmod: cannot access '/tmp/yaourt-tmp-aj/aur-flexget/pkg/flexget/usr/lib/python2.7/site-packages/FlexGet-1.0-py2.7.egg-info/*': No such file or direct

also, requires python2-tvrage, python2-jsonschema, beautifulsoup4>=4.1,<4.2 (not beautifulsoup4 4.2, only 4.1.x)

American_Jesus commented on 2013-05-30 13:26

don't build

chmod: cannot access '/tmp/yaourt-tmp-aj/aur-flexget/pkg/flexget/usr/lib/python2.7/site-packages/FlexGet-1.0-py2.7.egg-info/*': No such file or directory

thebodzio commented on 2013-05-28 00:07

I made package to replace outdated pytransmissionrpc. Could you please update optional dependency? That is, of course, if you'll find my package an improvement :).

thebodzio commented on 2013-05-27 22:50

1.1.18 seems to be the latest (check

thebodzio commented on 2013-04-03 13:25

“pkg_resources.DistributionNotFound: SQLAlchemy>=0.7,<0.7.99” is still there…

thebodzio commented on 2013-04-02 23:10

The following patch did it in my case (simply removed the “upper bound” from SQLAlchemy dependency check):

--- 2013-04-03 00:53:25.257784397 +0200
+++ 2013-04-03 00:55:23.184820740 +0200
@@ -19,7 +19,7 @@
sys.path.insert(0, '')

options = environment.options
-install_requires = ['FeedParser>=5.1.3', 'SQLAlchemy >=0.7, <0.7.99', 'PyYAML', 'BeautifulSoup>=3.2, <3.3',
+install_requires = ['FeedParser>=5.1.3', 'SQLAlchemy >=0.7', 'PyYAML', 'BeautifulSoup>=3.2, <3.3',
'beautifulsoup4>=4.1, <4.2', 'html5lib>=0.11', 'PyRSS2Gen', 'pynzb', 'progressbar', 'jinja2',
'flask', 'cherrypy', 'requests>=1.0, <1.99', 'python-dateutil!=2.0']
if sys.version_info < (2, 7):

American_Jesus commented on 2013-03-30 15:46

pkg_resources.DistributionNotFound: SQLAlchemy>=0.7,<0.7.99

pacman -Ss
community/python2-sqlalchemy 0.8.0-1

Requires python2-sqlalchemy <0.7.99

amrhassan commented on 2013-02-07 20:53

@American_Jesus It did, but your missed it.

American_Jesus commented on 2013-02-07 14:01

On a new version of upstream pkgrel should be 1

yaourt output:
aur/flexget 1.0.3335-2 -> 1.0.3337-2

cgirard commented on 2013-02-06 16:59

pyrss2gen has been renamed:

derhamster commented on 2013-02-05 20:50

No pip please. The current PKGBUILD is clean and simple. The reason it breaks so often is, that the devs move older version to a separate directory (, which I find rather strange.

derhamster commented on 2013-02-05 20:50

No pip please. The current PKGBUILD is clean and simple. The reason it breaks so often is, that the devs move older to a separate directory (, which I find very rather strange.

darkraziel commented on 2013-02-04 21:42

It fails to download the package. Moreover, the suggested way to install it is by pip.

darkraziel commented on 2013-02-04 21:42

The package fails to download the package. Moreover, the suggested way to install it is by pip.

derhamster commented on 2013-01-30 18:46

Actually it is 3296 and 4fd5cbfd92b9b377a5b3667b94903222 now :D

MarianoC commented on 2013-01-26 22:20

New version is online: 3292 with md5sum 4446863685f8a607e5563cc35c5ba7e3

B-Con commented on 2013-01-25 06:54

The current source URL doesn't work.

* Latest version seems to be 3288 ( - no "r" in the release number).
* Python requests required dependency is now the latest. I used community/python2-requests and it satisfied the dependency.

To make it work I just updated the PKGBUILD version, source URL, source checksum, and then installed python2-requests and removed the old python2-requests-0.10.

B-Con commented on 2013-01-25 06:52

The current source URL doesn't work.

* Latest version seems to be 3288 ( - no "r" in the release number).
* Python requests version is now the latest. I used community/requests and it satisfied the dependency.

phofe commented on 2012-12-26 11:56

For installing the requests 0.14 version:

"/usr/bin/easy_install-2.7 requests==0.14"

audrius commented on 2012-12-22 14:54

Getting error:
pkg_resources.DistributionNotFound: requests>=0.14,<0.15

Current python2-requests version is 1.0.3

thebodzio commented on 2012-12-15 02:51

Could you please add optional dependency on pytransmissionrpc or at least add info about it (it's required by transmission output plugin)?

darkraziel commented on 2012-10-16 23:24

I got the same error too:

pkg_resources.DistributionNotFound: beautifulsoup4>=4.1,<4.2

Solved installing "python2-beautifulsoup4"

darkraziel commented on 2012-10-16 23:23

I got the "python2-beautifulsoup3" error, solved installing "python2-beautifulsoup4"

bbandi commented on 2012-09-30 19:10

It also works for me with python2-beautifulsoup{3,4} installed

foolosophy commented on 2012-09-14 22:55

I get the same error with python-beautiful3 and 4 both installed.

Anonymous comment on 2012-09-04 14:06

Hum, apparently you need BOTH python2-beautifulsoup{3,4}...

Anonymous comment on 2012-09-04 14:05

Traceback (most recent call last):
File "/usr/bin/flexget", line 5, in <module>
from pkg_resources import load_entry_point
File "/usr/lib/python2.7/site-packages/", line 2815, in <module>
File "/usr/lib/python2.7/site-packages/", line 690, in require
needed = self.resolve(parse_requirements(requirements))
File "/usr/lib/python2.7/site-packages/", line 588, in resolve
raise DistributionNotFound(req)
pkg_resources.DistributionNotFound: beautifulsoup4>=4.1,<4.2


Replace python2-beautifulsoup3 dependency by python2-beautifulsoup4.

amrhassan commented on 2012-07-20 04:01

Fixed. Please retry to install.

jplona commented on 2012-07-19 20:54

When attempting to install this package, I get

Dependency `python-beautifulsoup' of `flexget' does not exist.

amrhassan commented on 2012-05-30 07:26


Anonymous comment on 2012-05-30 06:39

After updating I got permission errors on /usr/lib/python2.7/site-packages/FlexGet-1.0-py2.7.egg-info/*. File permission was -rw-r----- instead of -rw-r--r--.

cacack commented on 2012-04-15 14:35

I'm getting permission denied errors on the templates directory when using the email output. 'sudo chmod -R o+r /usr/lib/python2.7/site-packages/flexget/templates/' did the trick.

Anonymous comment on 2012-03-12 09:31

Yay it works again! Thanks a bunch!

amrhassan commented on 2012-03-10 10:18

python2-dateutil dependency added. Please upgrade.

Anonymous comment on 2012-03-10 07:24

I'm also getting errors after upgrading:

Traceback (most recent call last):
File "/usr/bin/flexget", line 5, in <module>
from pkg_resources import load_entry_point
File "/usr/lib/python2.7/site-packages/", line 2707, in <module>
File "/usr/lib/python2.7/site-packages/", line 686, in require
needed = self.resolve(parse_requirements(requirements))
File "/usr/lib/python2.7/site-packages/", line 584, in resolve
raise DistributionNotFound(req)
pkg_resources.DistributionNotFound: python-dateutil<2.0

amrhassan commented on 2012-03-09 10:30

1.0r2790 works well with python2-sqlalchemy-0.7.5-1 on my end. Are you still having problem?

B-Con commented on 2012-03-09 05:40

Won't run properly with the recent update to python2-sqlalchemy 0.7.5. Until flexget can work with python2-sqlalchemy 0.7.5, the PKGBUILD here needs to lock the dependency to 0.7.4.

amrhassan commented on 2012-02-18 09:56

I'm getting no errors and I have python-lxml installed.

wilbowma commented on 2012-02-18 05:28

Nevermind, it seems to be related to python-lxml. Uninstalling it fixes this the issues with flexget, but...

wilbowma commented on 2012-02-18 04:49

I'm having tons of errors with flexget after updating. I talked with the devs on IRC and they weren't having issues, so I'm left wondering if it's something Arch specific or just me. Is anyone else having issues such as:

amrhassan commented on 2012-01-25 15:29

@tvalue: Thank you, added python2-chardet>=1.0.0 as a dependency.
@foolosophy: I am currently using flexget with python2-requests 0.10.1-1 installed and flexget did not complain about the version.

Anonymous comment on 2012-01-25 13:36

% flexget
Traceback (most recent call last):
File "/usr/bin/flexget", line 5, in <module>
from pkg_resources import load_entry_point
File "/usr/lib/python2.7/site-packages/", line 2707, in <module>
File "/usr/lib/python2.7/site-packages/", line 686, in require
needed = self.resolve(parse_requirements(requirements))
File "/usr/lib/python2.7/site-packages/", line 584, in resolve
raise DistributionNotFound(req)
pkg_resources.DistributionNotFound: chardet>=1.0.0

foolosophy commented on 2012-01-23 23:47

Because after building and installing Flexget, it would crash. The python backtrace was complaining that it needed requests>=0.9.1 and <0.10.0

amrhassan commented on 2012-01-23 22:13

I updated the dependencies to require python2-certifi>=0.0.7 but how did you know about python2-requests<0.10?

foolosophy commented on 2012-01-23 18:21

I flagged this as out of date, but the latest version of Flexget (r2686) requires an old version of python2-requests (<0.10). Also python2-certifi AUR's version is out of date.

wilbowma commented on 2012-01-03 06:47

The most recent version of Flexget requires a couple new libraries. I've made a patch:

--- flexget/PKGBUILD 2011-12-03 12:45:14.000000000 -0500
+++ PKGBUILD 2012-01-03 01:44:51.056920989 -0500
@@ -2,14 +2,15 @@
# Maintainer: Nathan Owe <ndowens.aur at gmail dot com>
pkgdesc="Automate downloading or processing content (torrents, podcasts, etc.)"
depends=('python2' 'python2-cherrypy' 'python2-progressbar' \
'python2-pynzb' 'pyrss2gen' 'python2-sqlalchemy' 'python2-html5lib' \
- 'python-beautifulsoup' 'python2-yaml' 'python2-feedparser' 'python2-flask')
+ 'python-beautifulsoup' 'python2-yaml' 'python2-feedparser' \
+ 'python2-flask' 'python2-requests' 'python2-certifi')
@@ -24,4 +25,4 @@
install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"


MaTachi commented on 2011-12-05 20:58

Thanks dryes, it worked for me and I managed to reinstall flexget successfully.

dryes commented on 2011-12-05 00:23

Although obvious, a quick (and temporary) fix is to run as root:

chmod -c 604 /usr/lib/python2.7/site-packages/feedparser-5.1-py2.7.egg-info/top_level.txt

to reset:

chmod -c 600 /usr/lib/python2.7/site-packages/feedparser-5.1-py2.7.egg-info/top_level.txt

pezz commented on 2011-12-03 11:26

I've lodged FS#27426

pezz commented on 2011-12-03 11:25

I've lodged #FS27426

crabman commented on 2011-12-03 10:45

python2-feedparser 5.1-1 breaks flexget:

File "/usr/lib/python2.7/site-packages/", line 1316, in _get
stream = open(path, 'rb')
IOError: [Errno 13] Permission denied: '/usr/lib/python2.7/site-packages/feedparser-5.1-py2.7.egg-info/top_level.txt'

i get the same error when trying to reinstall flexget

foolosophy commented on 2011-10-10 19:43

python-flask was renamed to python2-flask

lolilolicon commented on 2011-07-06 01:44

python2-jinja is now correctly required by python-flask, no need to repeat it here.
Also, why stub that install file in there?

Glaucous commented on 2011-07-05 10:55

Confirmed here as well, python2-jinja is required.

pezz commented on 2011-07-05 00:46

Needs python2-jinja added as a dependency.

Anonymous comment on 2011-06-17 17:20

the --series command line parameter is broken in 2244 but fixed in 2245. Though the latest is now 2263

Anonymous comment on 2011-06-05 15:47

Can you please change the dependency to python2-progressbar so that I can update to python3? Thank you.

Anonymous comment on 2011-05-26 20:59

Out-of-date, this version breaks with python2-sqlalchemy 0.7.0. It's fixed in 1.0r2244.

amrhassan commented on 2011-05-13 15:10

Please change the dependency of cherrypy to python2-cherrypy.

Anonymous comment on 2011-04-05 17:25

Should be dependant on python2-yaml and not python-yaml
This is probably also true of any other python libraries

Anonymous comment on 2011-04-03 04:15

This requires python2-yaml not python-yaml

pezz commented on 2011-03-21 05:39

Works after latest update, thanks!

Anonymous comment on 2011-03-20 23:58

It requires python2-feedparser instead of python-feedparser

pezz commented on 2011-03-20 08:14

Thanks for the update.

Still appears to be broken after the recent python-feedparser upgrade.

Not sure if you can do anything about it?

Anonymous comment on 2011-02-11 10:22

You'll want to update the dependency for pynzb to python2-pynzb

amrhassan commented on 2011-01-20 23:09

Also requires "python2-html5lib python-beautifulsoup python-yaml python-feedparser".

ndowens commented on 2011-01-11 04:01

MarianoC: Now has been fixed, thanks

MarianoC commented on 2011-01-10 23:16

Hi, thanks for the package. I had to install cherrypy python-flask python-progressbar pynzb pyrss2gen and python2-sqlalchemy to get flexget works.

ndowens commented on 2011-01-01 08:30

Updated and Fixed.

thermionix commented on 2010-10-21 03:21

$ sudo pip install flexget

thermionix commented on 2010-10-20 22:08

the python3 upgrade has broken this

jonkristian commented on 2010-05-02 12:45

Changed dependecy.

Anonymous comment on 2010-05-02 04:49

requires pyyaml-python which is not found on AUR or via pacman

Anonymous comment on 2010-04-03 00:29

not really out of date, because its the latest stable release, the other one is unstable