🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.debian.bugs.rc
Article #2785

Bug#1153563: magnus installs a quite broken Python module (and it isn't really a Python module)

#2785
From: Stuart Prescott
Date: Tue, 10 Nov 2026 03:40
34 lines
3054 bytes
Package: magnus
Version: 1:1.0.3-5
Severity: serious
X-Debbugs-Cc: stuart@debian.org

Dear Maintainer,

The installation location for Python modules is a shared namespace
across all modules; everything ends up in /usr/lib/python3/dist-packages

The magnus package does a couple of unusual and incorrect things...

magnus: /usr/lib/python3/dist-packages/Magnus-1.0.3.egg-info/PKG-INFO
magnus: /usr/lib/python3/dist-packages/Magnus-1.0.3.egg-info/dependency_links.txt
magnus: /usr/lib/python3/dist-packages/Magnus-1.0.3.egg-info/requires.txt
magnus: /usr/lib/python3/dist-packages/Magnus-1.0.3.egg-info/top_level.txt
magnus: /usr/lib/python3/dist-packages/setup.py

- it is accidentally shipping its `setup.py` file as a module; anyone
  with magnus installed would then be able to accidentally 'import
  setup'; that shared namespace shouldn't be polluted

- it is claiming to install the Magnus module but that module doesn't
  actually exist; there are no files associated with the Magnus egg, and
  the things that the Magnus egg claims are importable are all
  accidental - and either not importable or are actually in other packages:
  build data debian setup snap

I can see the desire to use setup.py to install the executable and other
files into the right places; if you want to continue to do that, please
delete debian/*/usr/lib afterwards to clean up.

regards
Stuart
Technical Details
Message-ID: <NXKSd-aWek-1@gated-at.bofh.it>
Path: mbox-mo1.pugleaf.net!news-lax.pugleaf.net!news-ams.pugleaf.net!news.tcpreset.net!newsfeed.bofh.team!weretis.net!feeder8.news.weretis.net!fu-berlin.de!news.servidellagleba.it!bofh.it!news.nic.it!robomod

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-lax.pugleaf.net!news-ams.pugleaf.net!news.tcpreset.net!newsfeed.bofh.team!weretis.net!feeder8.news.weretis.net!fu-berlin.de!news.servidellagleba.it!bofh.it!news.nic.it!robomod
From: Stuart Prescott <stuart@debian.org>
Newsgroups: linux.debian.bugs.rc
Subject: Bug#1153563: magnus installs a quite broken Python module (and it isn't really a Python module)
Date: Tue, 10 Nov 2026 04:40:01 +0100
Message-ID: <NXKSd-aWek-1@gated-at.bofh.it>
X-Original-To: Debian Bug Tracking System <submit@bugs.debian.org>
X-Mailbox-Line: From debian-bugs-rc-request@lists.debian.org  Tue Nov 10 03:39:08 2026
Old-Return-Path: <debbugs@buxtehude.debian.org>
X-Spam-Flag: NO
X-Spam-Score: -1.9
Reply-To: Stuart Prescott <stuart@debian.org>, 1153563@bugs.debian.org
Resent-To: debian-bugs-dist@lists.debian.org
Resent-Cc: stuart@debian.org, debian-mate@lists.debian.org
X-Debian-Pr-Message: report 1153563
X-Debian-Pr-Package: magnus
X-Debian-Pr-Source: magnus
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
X-Mailer: reportbug 13.2.0
X-Debian-Message: from BTS
X-Mailing-List: <debian-bugs-rc@lists.debian.org> archive/latest/837752
List-ID: <debian-bugs-rc.lists.debian.org>
List-URL: <https://lists.debian.org/debian-bugs-rc/>
Approved: robomod@news.nic.it
Lines: 34
Organization: linux.* mail to news gateway
Sender: robomod@news.nic.it
X-Original-Date: Tue, 10 Nov 2026 14:37:53 +1100
X-Original-Message-ID: <179428187351.751610.16252464192766836404.reportbug@trochilus.nanonanonano.net>