Bug 213853 - www/py-flask-login: update to 0.4.0
Summary: www/py-flask-login: update to 0.4.0
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Jan Beich
URL: https://github.com/maxcountryman/flas...
Keywords: patch
Depends on: 213842
Blocks:
  Show dependency treegraph
 
Reported: 2016-10-28 13:12 UTC by Jan Beich
Modified: 2016-10-29 13:36 UTC (History)
2 users (show)

See Also:
andrej: maintainer-feedback+


Attachments
v0 (1.19 KB, patch)
2016-10-28 13:12 UTC, Jan Beich
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Jan Beich freebsd_committer freebsd_triage 2016-10-28 13:12:13 UTC
Created attachment 176242 [details]
v0

www/py-flexget 2.5.4 or later wants it per https://github.com/Flexget/Flexget/commit/546acf7b4e3d

while www/py-flexget 2.5.3 or earlier is incompatible:

  $ flexget execute
  2016-10-28 13:06 CRITICAL plugin                        Plugin `flexget.plugins.daemon.web_server` failed to import dependencies
  Traceback (most recent call last):
    File "/usr/local/lib/python2.7/site-packages/flexget/plugin.py", line 395, in _load_plugins_from_dirs
      __import__(module_name)
    File "/usr/local/lib/python2.7/site-packages/flexget/plugins/daemon/web_server.py", line 8, in <module>
      from flexget.api import api_app
    File "/usr/local/lib/python2.7/site-packages/flexget/api/__init__.py", line 4, in <module>
      from .core import authentication, cached, database, plugins, server, tasks, user, format_checker
    File "/usr/local/lib/python2.7/site-packages/flexget/api/core/authentication.py", line 7, in <module>
      from flask_login import login_user, LoginManager, current_user, current_app
  ImportError: cannot import name current_app
  [...]
Comment 1 Jan Beich freebsd_committer freebsd_triage 2016-10-28 13:13:15 UTC
Kyle, can you check compatibility with www/py-octoprint?
Comment 2 Kyle Evans freebsd_committer freebsd_triage 2016-10-28 14:03:12 UTC
(In reply to Jan Beich (mail not working) from comment #1)

Hi,

Functionally, it works great. Would you consider pushing #213842 [1] through before or around this one so that setuptools doesn't get too angry? It's a fairly trivial patch just to allow the py27-serial update and remove upper bounds from it and Flask-Login while I figure out a better way to manage dependencies.

[1] https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=213842
Comment 3 commit-hook freebsd_committer freebsd_triage 2016-10-29 13:35:06 UTC
A commit references this bug:

Author: jbeich
Date: Sat Oct 29 13:34:23 UTC 2016
New revision: 424911
URL: https://svnweb.freebsd.org/changeset/ports/424911

Log:
  www/py-flask-login: update to 0.4.0

  Changes:	https://github.com/maxcountryman/flask-login/compare/0.3.2...0.4.0
  PR:		213853
  Approved by:	Andrej Ebert (maintainer)

Changes:
  head/www/py-flask-login/Makefile
  head/www/py-flask-login/distinfo
Comment 4 commit-hook freebsd_committer freebsd_triage 2016-10-29 13:35:08 UTC
A commit references this bug:

Author: jbeich
Date: Sat Oct 29 13:34:37 UTC 2016
New revision: 424912
URL: https://svnweb.freebsd.org/changeset/ports/424912

Log:
  www/py-flexget: update to 2.5.6

  Changes:	https://github.com/Flexget/Flexget/compare/2.5.3...2.5.6
  PR:		213853 (for tracking)

Changes:
  head/www/py-flexget/Makefile
  head/www/py-flexget/distinfo