Skip to content

Update required guessit version to 2.1.2 #1804

Closed
@tkurbad

Description

Expected behaviour:

While building Flexget, a current version of guessit, i.e. >=2.1.0, should be used along with python-dateutil-2.5.3.

Actual behaviour:

Flexget force-uses guessit<=2.0.4, since guessit-2.0.5 introduced a dependency on python-dateutil-2.5.2, which was lifted again in guessit 2.1.0.
According to guessit docs, 2.1.0 is fully backwards compatible to 2.0.4.

Additional information:

  • Flexget Version: 2.10.35
  • Python Version: 2.7.12
  • Installation method: Gentoo ebuild
  • OS and version: Gentoo unstable/current
  • Link to crash log:

Resolution

If I change the requirements.txt file with the following patch:

--- FlexGet-2.10.35.orig/requirements.txt	2017-01-26 08:12:09.000000000 +0100
+++ FlexGet-2.10.35/requirements.txt	2017-04-23 00:54:29.465410859 +0200
@@ -11,12 +11,11 @@
 jinja2
 # 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
 python-dateutil>=2.5.3
 jsonschema>=2.0
 path.py>=8.1.1
 pathlib>=1.0
-guessit<=2.0.4
+guessit>=2.1.2
 apscheduler>=3.2.0
 terminaltables>=3.1.0
 colorclass>=2.2.0

Flexget builds and runs fine.

Best,
Torsten

PS: If such dependency issues aren't fixed, Linux distributions will drop support for Flexget.
Related Gentoo bug: https://bugs.gentoo.org/show_bug.cgi?id=614758

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions