Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.maint.python > #15401
| Path | csiph.com!1.us.feeder.erje.net!3.eu.feeder.erje.net!feeder.erje.net!news.szaf.org!fu-berlin.de!news.servidellagleba.it!bofh.it!news.nic.it!robomod |
|---|---|
| From | Andreas Tille <andreas@an3as.eu> |
| Newsgroups | linux.debian.bugs.dist, linux.debian.maint.python |
| Subject | Bug#1058083: yapsy: ModuleNotFoundError: No module named 'imp' |
| Date | Mon, 08 Jan 2024 21:10:01 +0100 |
| Message-ID | <HU46B-1K13-3@gated-at.bofh.it> (permalink) |
| References | <HK6jV-d1gi-209@gated-at.bofh.it> |
| X-Original-To | Thibauld Nion <thibauld@tibonihoo.net>, 1058083@bugs.debian.org |
| X-Mailbox-Line | From debian-bugs-dist-request@lists.debian.org Mon Jan 8 20:09:10 2024 |
| Old-Return-Path | <debbugs@buxtehude.debian.org> |
| X-Spam-Flag | NO |
| X-Spam-Score | 0.44 |
| Reply-To | Andreas Tille <andreas@an3as.eu>, 1058083@bugs.debian.org |
| Resent-To | debian-bugs-dist@lists.debian.org |
| Resent-Cc | Agustin Henze <tin@debian.org> |
| X-Debian-Pr-Message | followup 1058083 |
| X-Debian-Pr-Package | src:yapsy |
| X-Debian-Pr-Keywords | ftbfs sid trixie |
| X-Debian-Pr-Source | yapsy |
| MIME-Version | 1.0 |
| Content-Type | text/plain; charset=us-ascii |
| Content-Disposition | inline |
| X-Debian-Message | from BTS |
| X-Mailing-List | <debian-bugs-dist@lists.debian.org> archive/latest/1815042 |
| List-ID | <debian-bugs-dist.lists.debian.org> |
| List-URL | <https://lists.debian.org/debian-bugs-dist/> |
| Approved | robomod@news.nic.it |
| Lines | 30 |
| Organization | linux.* mail to news gateway |
| Sender | robomod@news.nic.it |
| X-Original-Cc | Debian Python <debian-python@lists.debian.org> |
| X-Original-Date | Mon, 8 Jan 2024 21:07:57 +0100 |
| X-Original-Message-ID | <ZZxWHQsm6m7qB50D@an3as.eu> |
| X-Original-References | <ZXgTxieKOpBoWXD5@grub.nussbaum.fr> |
| Xref | csiph.com linux.debian.bugs.dist:1181617 linux.debian.maint.python:15401 |
Cross-posted to 2 groups.
Show key headers only | View raw
Hi Thibauld,
Debian has packaged yapsy. We try to migrate to Python3.12. When testing yapsy
with Python3.12 in our CI[1] it fails with:
testActivationAndDeactivation (test.test_SimplePlugin.SimpleTestCase.testActivationAndDeactivation)
Test if the activation procedure works. ... Unable to import plugin: /builds/python-team/packages/yapsy/debian/output/source_dir/test/plugins/SimplePlugin
Traceback (most recent call last):
File "/builds/python-team/packages/yapsy/debian/output/source_dir/yapsy/PluginManager.py", line 518, in loadPlugins
candidate_module = PluginManager._importModule(plugin_module_name, candidate_filepath)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/builds/python-team/packages/yapsy/debian/output/source_dir/yapsy/PluginManager.py", line 584, in _importModule
candidate_module = imp.load_module(plugin_module_name,plugin_file,candidate_filepath+".py",("py","r",imp.PY_SOURCE))
^^^^^^^^^^^^^
AttributeError: type object 'Loader' has no attribute 'PY_SOURCE'
FAIL
...
You can find the full log in our CI[1].
It would be great if you could port yapsy to Python3.12.
Kind regards
Andreas.
[1] https://salsa.debian.org/python-team/packages/yapsy/-/jobs/5132141#L1187
--
http://fam-tille.de
Back to linux.debian.maint.python | Previous | Next | Find similar | Unroll thread
Bug#1058083: yapsy: ModuleNotFoundError: No module named 'imp' Andreas Tille <andreas@an3as.eu> - 2024-01-08 21:10 +0100
csiph-web