Bug#1081287: funnyboat: Uses current Python venv instead of system Python

Michael Young mctorpey at gmail.com
Tue Sep 10 12:42:19 BST 2024


Package: funnyboat
Version: 1.5-11
Severity: important
X-Debbugs-Cc: mctorpey at gmail.com

Dear Maintainer,

I use Python virtual environments on my computer, and I was in a terminal with a Python virtual env activated, when I decided to have a game of funnyboat.  I entered the 'funnyboat' command, and this caused an error, with the following traceback:

Traceback (most recent call last):
  File "/usr/share/games/funnyboat/main.py", line 3, in <module>
    import pygame
ModuleNotFoundError: No module named 'pygame'

Indeed, pygame is not installed in my virtual environment.  However, shouldn't the bash script at /usr/games/funnyboat somehow make sure it calls the system Python instead of whatever's activated?  I notice it calls "exec python3" rather than something more specific.

All the best,
Michael

-- System Information:
Debian Release: trixie/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

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

Versions of packages funnyboat depends on:
ii  fonts-dejavu    2.37-8
ii  python3         3.12.5-1
ii  python3-pygame  2.6.0-2

funnyboat recommends no packages.

funnyboat suggests no packages.

-- no debconf information



More information about the Pkg-games-devel mailing list