Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.bugs.rc > #377844 > unrolled thread

Bug#1089495: Fails on startup, importing Python module "future"

Started byJosh Triplett <josh@joshtriplett.org>
First post2024-12-08 01:50 +0100
Last post2024-12-08 11:00 +0100
Articles 6 — 5 participants

Back to article view | Back to linux.debian.bugs.rc


Contents

  Bug#1089495: Fails on startup, importing Python module "future" Josh Triplett <josh@joshtriplett.org> - 2024-12-08 01:50 +0100
    Processed: Bug#1089495 marked as pending in unknown-horizons "Debian Bug Tracking System" <owner@bugs.debian.org> - 2024-12-08 09:00 +0100
    Bug#1089495: marked as pending in unknown-horizons Tobias Frost <noreply@salsa.debian.org> - 2024-12-08 09:00 +0100
    Processed: Re: Bug#1089495: Fails on startup, importing Python  module "future" "Debian Bug Tracking System" <owner@bugs.debian.org> - 2024-12-08 09:30 +0100
    Bug#1089495: Fails on startup, importing Python module "future" Tobias Frost <tobi@debian.org> - 2024-12-08 09:30 +0100
    Bug#1089495:  Alexandre Detiste <alexandre.detiste@gmail.com> - 2024-12-08 11:00 +0100

#377844 — Bug#1089495: Fails on startup, importing Python module "future"

FromJosh Triplett <josh@joshtriplett.org>
Date2024-12-08 01:50 +0100
SubjectBug#1089495: Fails on startup, importing Python module "future"
Message-ID<JRdEK-exkI-9@gated-at.bofh.it>
Package: unknown-horizons
Version: 2019.1-8
Severity: grave
X-Debbugs-Cc: josh@joshtriplett.org

$ unknown-horizons
Traceback (most recent call last):
  File "/usr/games/unknown-horizons", line 381, in <module>
    main()
  File "/usr/games/unknown-horizons", line 109, in main
    import horizons.main
  File "/usr/lib/python3/dist-packages/horizons/main.py", line 46, in <module>
    from horizons.gui import Gui
  File "/usr/lib/python3/dist-packages/horizons/gui/__init__.py", line 22, in <module>
    from .gui import Gui
  File "/usr/lib/python3/dist-packages/horizons/gui/gui.py", line 26, in <module>
    from fife.extensions.pychan.widgets import Container, Icon
  File "/usr/lib/python3/dist-packages/fife/extensions/pychan/__init__.py", line 245, in <module>
    from .widgets import *
  File "/usr/lib/python3/dist-packages/fife/extensions/pychan/widgets/__init__.py", line 33, in <module>
    from .widget import Widget
  File "/usr/lib/python3/dist-packages/fife/extensions/pychan/widgets/widget.py", line 33, in <module>
    from fife.extensions.pychan import events
  File "/usr/lib/python3/dist-packages/fife/extensions/pychan/events.py", line 67, in <module>
    from future.utils import itervalues
ModuleNotFoundError: No module named 'future'



-- System Information:
Debian Release: trixie/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: arm64

Kernel: Linux 6.11.10-amd64 (SMP w/12 CPU threads; PREEMPT)
Locale: LANG=C.UTF-8, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages unknown-horizons depends on:
ii  fonts-unifont  1:15.1.01-1
ii  python3        3.12.7-1
ii  python3-enet   0.0~vcs.2022.12.26.git-0.2+b4
ii  python3-fife   0.4.2-8
ii  python3-yaml   6.0.2-1+b1

unknown-horizons recommends no packages.

unknown-horizons suggests no packages.

-- no debconf information

[toc] | [next] | [standalone]


#377863 — Processed: Bug#1089495 marked as pending in unknown-horizons

From"Debian Bug Tracking System" <owner@bugs.debian.org>
Date2024-12-08 09:00 +0100
SubjectProcessed: Bug#1089495 marked as pending in unknown-horizons
Message-ID<JRkmR-eDjm-5@gated-at.bofh.it>
In reply to#377844
Processing control commands:

> tag -1 pending
Bug #1089495 [unknown-horizons] Fails on startup, importing Python module "future"
Added tag(s) pending.

-- 
1089495: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1089495
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems

[toc] | [prev] | [next] | [standalone]


#377864 — Bug#1089495: marked as pending in unknown-horizons

FromTobias Frost <noreply@salsa.debian.org>
Date2024-12-08 09:00 +0100
SubjectBug#1089495: marked as pending in unknown-horizons
Message-ID<JRkmR-eDjm-7@gated-at.bofh.it>
In reply to#377844
Control: tag -1 pending

Hello,

Bug #1089495 in unknown-horizons reported by you has been fixed in the
Git repository and is awaiting an upload. You can see the commit
message below and you can check the diff of the fix at:

https://salsa.debian.org/games-team/unknown-horizons/-/commit/9f421eeda6175027d5c0fb7554306b808f071044

------------------------------------------------------------------------
Cherry-pick upstream patch to remove Python2 code. (Closes: #1089495)
  (unfortuntatly this revealed a bug in fife, so no upload today...)
------------------------------------------------------------------------

(this message was generated automatically)
-- 
Greetings

https://bugs.debian.org/1089495

[toc] | [prev] | [next] | [standalone]


#377867 — Processed: Re: Bug#1089495: Fails on startup, importing Python module "future"

From"Debian Bug Tracking System" <owner@bugs.debian.org>
Date2024-12-08 09:30 +0100
SubjectProcessed: Re: Bug#1089495: Fails on startup, importing Python module "future"
Message-ID<JRkPT-eDZy-3@gated-at.bofh.it>
In reply to#377844
Processing control commands:

> retitle -1 'unkownn-horizons: Fails on startup, importing Python module "future"'
Bug #1089495 [unknown-horizons] Fails on startup, importing Python module "future"
Changed Bug title to ''unkownn-horizons: Fails on startup, importing Python module "future"'' from 'Fails on startup, importing Python module "future"'.
> tags -1 patch -pending
Bug #1089495 [unknown-horizons] 'unkownn-horizons: Fails on startup, importing Python module "future"'
Added tag(s) patch.
Bug #1089495 [unknown-horizons] 'unkownn-horizons: Fails on startup, importing Python module "future"'
Removed tag(s) pending.
> block -1 by 1089510
Bug #1089495 [unknown-horizons] 'unkownn-horizons: Fails on startup, importing Python module "future"'
1089495 was not blocked by any bugs.
1089495 was not blocking any bugs.
Added blocking bug(s) of 1089495: 1089510

-- 
1089495: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1089495
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems

[toc] | [prev] | [next] | [standalone]


#377868

FromTobias Frost <tobi@debian.org>
Date2024-12-08 09:30 +0100
Message-ID<JRkPT-eDZy-5@gated-at.bofh.it>
In reply to#377844
Control: retitle -1 'unkownn-horizons: Fails on startup, importing Python module "future"'
Control: tags -1 patch -pending
Control: block -1 by 1089510

I've imported the upstream patch removing the future module, but now it
uncovers an issue with src:fife, filed as #1089510.

(Probably python3-future needs to be re-packaged, the version 1.0 of this
package claims to be compatible with python3.12.)

--
tobi


On Sat, Dec 07, 2024 at 04:40:15PM -0800, Josh Triplett wrote:
> Package: unknown-horizons
> Version: 2019.1-8
> Severity: grave
> X-Debbugs-Cc: josh@joshtriplett.org
> 
> $ unknown-horizons
> Traceback (most recent call last):
>   File "/usr/games/unknown-horizons", line 381, in <module>
>     main()
>   File "/usr/games/unknown-horizons", line 109, in main
>     import horizons.main
>   File "/usr/lib/python3/dist-packages/horizons/main.py", line 46, in <module>
>     from horizons.gui import Gui
>   File "/usr/lib/python3/dist-packages/horizons/gui/__init__.py", line 22, in <module>
>     from .gui import Gui
>   File "/usr/lib/python3/dist-packages/horizons/gui/gui.py", line 26, in <module>
>     from fife.extensions.pychan.widgets import Container, Icon
>   File "/usr/lib/python3/dist-packages/fife/extensions/pychan/__init__.py", line 245, in <module>
>     from .widgets import *
>   File "/usr/lib/python3/dist-packages/fife/extensions/pychan/widgets/__init__.py", line 33, in <module>
>     from .widget import Widget
>   File "/usr/lib/python3/dist-packages/fife/extensions/pychan/widgets/widget.py", line 33, in <module>
>     from fife.extensions.pychan import events
>   File "/usr/lib/python3/dist-packages/fife/extensions/pychan/events.py", line 67, in <module>
>     from future.utils import itervalues
> ModuleNotFoundError: No module named 'future'
> 
> 
> 
> -- System Information:
> Debian Release: trixie/sid
>   APT prefers unstable
>   APT policy: (500, 'unstable'), (1, 'experimental')
> Architecture: amd64 (x86_64)
> Foreign Architectures: arm64
> 
> Kernel: Linux 6.11.10-amd64 (SMP w/12 CPU threads; PREEMPT)
> Locale: LANG=C.UTF-8, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE not set
> Shell: /bin/sh linked to /usr/bin/dash
> Init: systemd (via /run/systemd/system)
> 
> Versions of packages unknown-horizons depends on:
> ii  fonts-unifont  1:15.1.01-1
> ii  python3        3.12.7-1
> ii  python3-enet   0.0~vcs.2022.12.26.git-0.2+b4
> ii  python3-fife   0.4.2-8
> ii  python3-yaml   6.0.2-1+b1
> 
> unknown-horizons recommends no packages.
> 
> unknown-horizons suggests no packages.
> 
> -- no debconf information
> 

[toc] | [prev] | [next] | [standalone]


#377873 — Bug#1089495:

FromAlexandre Detiste <alexandre.detiste@gmail.com>
Date2024-12-08 11:00 +0100
SubjectBug#1089495:
Message-ID<JRmf0-eFnk-1@gated-at.bofh.it>
In reply to#377844
> Probably python3-future needs to be re-packaged
> the version 1.0 of this package claims to be compatible with python3.12.

Some people reviewed these changes (for another distro)
and they claim it will break in other places for 3.13 ...

It was a big burden to maintain for little functionality.

If the upstream projects absolutely wants to retain
Py2+3 compatibility, they can migrate to six
(that did happened for some projects)

[toc] | [prev] | [standalone]


Back to top | Article view | linux.debian.bugs.rc


csiph-web