[Bug 274411] devel/py-urwid Update to 2.x breaks several python packages
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 11 Oct 2023 13:33:00 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=274411 Bug ID: 274411 Summary: devel/py-urwid Update to 2.x breaks several python packages Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: python@FreeBSD.org Reporter: freebsd-ports@jan0sch.de Assignee: python@FreeBSD.org Flags: maintainer-feedback?(python@FreeBSD.org) Hi, I just noticed that the upgrade of devel/py-urwid port to version 2.x (from 1.x) breaks several python packages. Examples: ``` % khal interactive Traceback (most recent call last): File "/usr/local/bin/khal", line 33, in <module> sys.exit(load_entry_point('khal==0.11.2', 'console_scripts', 'khal')()) File "/usr/local/lib/python3.9/site-packages/click/core.py", line 1130, in __call__ return self.main(*args, **kwargs) File "/usr/local/lib/python3.9/site-packages/click/core.py", line 1055, in main rv = self.invoke(ctx) File "/usr/local/lib/python3.9/site-packages/click/core.py", line 1657, in invoke return _process_result(sub_ctx.command.invoke(sub_ctx)) File "/usr/local/lib/python3.9/site-packages/click/core.py", line 1404, in invoke return ctx.invoke(self.callback, **ctx.params) File "/usr/local/lib/python3.9/site-packages/click/core.py", line 760, in invoke return __callback(*args, **kwargs) File "/usr/local/lib/python3.9/site-packages/click/decorators.py", line 26, in new_func return f(get_current_context(), *args, **kwargs) File "/usr/local/lib/python3.9/site-packages/khal/cli.py", line 486, in interactive controllers.interactive( File "/usr/local/lib/python3.9/site-packages/khal/controllers.py", line 589, in interactive from . import ui File "/usr/local/lib/python3.9/site-packages/khal/ui/__init__.py", line 29, in <module> import urwid File "/usr/local/lib/python3.9/site-packages/urwid/__init__.py", line 72, in <module> from urwid.version import __version__, __version_tuple__ ImportError: cannot import name '__version__' from 'urwid.version' (/usr/local/lib/python3.9/site-packages/urwid/version.py) ``` ``` % toot tui Traceback (most recent call last): File "/usr/local/bin/toot", line 33, in <module> sys.exit(load_entry_point('toot==0.28.0', 'console_scripts', 'toot')()) File "/usr/local/lib/python3.9/site-packages/toot/console.py", line 560, in main run_command(app, user, command_name, args) File "/usr/local/lib/python3.9/site-packages/toot/console.py", line 542, in run_command return fn(app, user, parsed_args) File "/usr/local/lib/python3.9/site-packages/toot/commands.py", line 346, in tui from .tui.app import TUI File "/usr/local/lib/python3.9/site-packages/toot/tui/__init__.py", line 1, in <module> from urwid.command_map import command_map File "/usr/local/lib/python3.9/site-packages/urwid/__init__.py", line 72, in <module> from urwid.version import __version__, __version_tuple__ ImportError: cannot import name '__version__' from 'urwid.version' (/usr/local/lib/python3.9/site-packages/urwid/version.py) ``` So far this seems to affect only python applications that are using a TUI interface. Tested on 13.2 with latest patches and upgrades. Would it be sufficient to provide a patch creating a py-urwid1 port or would this mess things up even further? Kind regards, Jens -- You are receiving this mail because: You are the assignee for the bug.