[Bug 263922] www/py-lektor: lektor server fails on flask (safe_join)

From: <bugzilla-noreply_at_freebsd.org>
Date: Wed, 11 May 2022 14:39:40 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=263922

            Bug ID: 263922
           Summary: www/py-lektor: lektor server fails on flask
                    (safe_join)
           Product: Ports & Packages
           Version: Latest
          Hardware: amd64
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: egypcio@FreeBSD.org
          Reporter: bz@FreeBSD.org
          Assignee: egypcio@FreeBSD.org
             Flags: maintainer-feedback?(egypcio@FreeBSD.org)

% lektor server
Traceback (most recent call last):
  File "/usr/local/bin/lektor", line 33, in <module>
    sys.exit(load_entry_point('Lektor==3.2.2', 'console_scripts', 'lektor')())
  File "/usr/local/lib/python3.8/site-packages/lektor/cli.py", line 766, in
main
    cli.main(args=args, prog_name=name)
  File "/usr/local/lib/python3.8/site-packages/click/core.py", line 1053, in
main
    rv = self.invoke(ctx)
  File "/usr/local/lib/python3.8/site-packages/click/core.py", line 1659, in
invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/usr/local/lib/python3.8/site-packages/click/core.py", line 1395, in
invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/usr/local/lib/python3.8/site-packages/click/core.py", line 754, in
invoke
    return __callback(*args, **kwargs)
  File "/usr/local/lib/python3.8/site-packages/click/decorators.py", line 84,
in new_func
    return ctx.invoke(f, obj, *args, **kwargs)
  File "/usr/local/lib/python3.8/site-packages/click/core.py", line 754, in
invoke
    return __callback(*args, **kwargs)
  File "/usr/local/lib/python3.8/site-packages/lektor/cli.py", line 471, in
server_cmd
    from lektor.devserver import run_server
  File "/usr/local/lib/python3.8/site-packages/lektor/devserver.py", line 9, in
<module>
    from lektor.admin import WebAdmin
  File "/usr/local/lib/python3.8/site-packages/lektor/admin/__init__.py", line
1, in <module>
    from .webui import WebAdmin
  File "/usr/local/lib/python3.8/site-packages/lektor/admin/webui.py", line 7,
in <module>
    from flask.helpers import safe_join
ImportError: cannot import name 'safe_join' from 'flask.helpers'
(/usr/local/lib/python3.8/site-packages/flask/helpers.py)

-- 
You are receiving this mail because:
You are the assignee for the bug.