[Python-modules-team] Bug#958533: Bug#958533: pyxdg: autopkgtest regression: still tests Python2 package

Emmanuel Arias emmanuelarias30 at gmail.com
Thu Apr 23 20:08:38 BST 2020


Hi,

I've push to salsa the fix. I will need sponsorship

Thanks!

Cheers,
Arias Emmanuel
@eamanu
http://eamanu.com

El jue., 23 de abr. de 2020 a la(s) 10:45, Paul Gevers
(elbrus at debian.org) escribió:
>
> Source: pyxdg
> Version: 0.26-2
> X-Debbugs-CC: debian-ci at lists.debian.org
> Severity: serious
> User: debian-ci at lists.debian.org
> Usertags: regression
>
> Dear maintainer(s),
>
> With a recent upload of pyxdg the autopkgtest of pyxdg fails in testing
> when that autopkgtest is run with the binary packages of pyxdg from
> unstable. It passes when run with only packages from testing. In tabular
> form:
>
>                        pass            fail
> pyxdg                  from testing    0.26-2
> all others             from testing    from testing
>
> I copied some of the output at the bottom of this report. It seems
> you're still testing the Python2 package, which was removed in the last
> upload according to the changelog.
>
> Currently this regression is blocking the migration to testing [1]. Can
> you please investigate the situation and fix it?
>
> More information about this bug and the reason for filing it can be found on
> https://wiki.debian.org/ContinuousIntegration/RegressionEmailInformation
>
> Paul
>
> [1] https://qa.debian.org/excuses.php?package=pyxdg
>
> https://ci.debian.net/data/autopkgtest/testing/amd64/p/pyxdg/5121097/log.gz
>
> autopkgtest [01:11:44]: test upstream: [-----------------------
> Failure: ImportError (No module named xdg) ... ERROR
> Failure: ImportError (No module named xdg.DesktopEntry) ... ERROR
> Failure: ImportError (No module named xdg.IconTheme) ... ERROR
> Failure: ImportError (No module named xdg) ... ERROR
> Failure: ImportError (No module named xdg) ... ERROR
> Failure: ImportError (No module named xdg.Menu) ... ERROR
> Failure: ImportError (No module named xdg.Menu) ... ERROR
> Failure: ImportError (No module named xdg) ... ERROR
> Failure: ImportError (No module named xdg) ... ERROR
>
> ======================================================================
> ERROR: Failure: ImportError (No module named xdg)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/usr/lib/python2.7/dist-packages/nose/loader.py", line 418, in
> loadTestsFromName
>     addr.filename, addr.module)
>   File "/usr/lib/python2.7/dist-packages/nose/importer.py", line 47, in
> importFromPath
>     return self.importFromDir(dir_path, fqname)
>   File "/usr/lib/python2.7/dist-packages/nose/importer.py", line 94, in
> importFromDir
>     mod = load_module(part_fqname, fh, filename, desc)
>   File
> "/tmp/autopkgtest-lxc.tod66xo5/downtmp/build.pwA/src/test/test-basedirectory.py",
> line 1, in <module>
>     from xdg import BaseDirectory
> ImportError: No module named xdg
>
> ======================================================================
> ERROR: Failure: ImportError (No module named xdg.DesktopEntry)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/usr/lib/python2.7/dist-packages/nose/loader.py", line 418, in
> loadTestsFromName
>     addr.filename, addr.module)
>   File "/usr/lib/python2.7/dist-packages/nose/importer.py", line 47, in
> importFromPath
>     return self.importFromDir(dir_path, fqname)
>   File "/usr/lib/python2.7/dist-packages/nose/importer.py", line 94, in
> importFromDir
>     mod = load_module(part_fqname, fh, filename, desc)
>   File
> "/tmp/autopkgtest-lxc.tod66xo5/downtmp/build.pwA/src/test/test-desktop.py",
> line 3, in <module>
>     from xdg.DesktopEntry import DesktopEntry
> ImportError: No module named xdg.DesktopEntry
>
> ======================================================================
> ERROR: Failure: ImportError (No module named xdg.IconTheme)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/usr/lib/python2.7/dist-packages/nose/loader.py", line 418, in
> loadTestsFromName
>     addr.filename, addr.module)
>   File "/usr/lib/python2.7/dist-packages/nose/importer.py", line 47, in
> importFromPath
>     return self.importFromDir(dir_path, fqname)
>   File "/usr/lib/python2.7/dist-packages/nose/importer.py", line 94, in
> importFromDir
>     mod = load_module(part_fqname, fh, filename, desc)
>   File
> "/tmp/autopkgtest-lxc.tod66xo5/downtmp/build.pwA/src/test/test-icon.py",
> line 2, in <module>
>     from xdg.IconTheme import IconTheme, getIconPath, getIconData
> ImportError: No module named xdg.IconTheme
>
> ======================================================================
> ERROR: Failure: ImportError (No module named xdg)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/usr/lib/python2.7/dist-packages/nose/loader.py", line 418, in
> loadTestsFromName
>     addr.filename, addr.module)
>   File "/usr/lib/python2.7/dist-packages/nose/importer.py", line 47, in
> importFromPath
>     return self.importFromDir(dir_path, fqname)
>   File "/usr/lib/python2.7/dist-packages/nose/importer.py", line 94, in
> importFromDir
>     mod = load_module(part_fqname, fh, filename, desc)
>   File
> "/tmp/autopkgtest-lxc.tod66xo5/downtmp/build.pwA/src/test/test-inifile.py",
> line 3, in <module>
>     from xdg import IniFile
> ImportError: No module named xdg
>
> ======================================================================
> ERROR: Failure: ImportError (No module named xdg)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/usr/lib/python2.7/dist-packages/nose/loader.py", line 418, in
> loadTestsFromName
>     addr.filename, addr.module)
>   File "/usr/lib/python2.7/dist-packages/nose/importer.py", line 47, in
> importFromPath
>     return self.importFromDir(dir_path, fqname)
>   File "/usr/lib/python2.7/dist-packages/nose/importer.py", line 94, in
> importFromDir
>     mod = load_module(part_fqname, fh, filename, desc)
>   File
> "/tmp/autopkgtest-lxc.tod66xo5/downtmp/build.pwA/src/test/test-locale.py",
> line 1, in <module>
>     from xdg import Locale
> ImportError: No module named xdg
>
> ======================================================================
> ERROR: Failure: ImportError (No module named xdg.Menu)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/usr/lib/python2.7/dist-packages/nose/loader.py", line 418, in
> loadTestsFromName
>     addr.filename, addr.module)
>   File "/usr/lib/python2.7/dist-packages/nose/importer.py", line 47, in
> importFromPath
>     return self.importFromDir(dir_path, fqname)
>   File "/usr/lib/python2.7/dist-packages/nose/importer.py", line 94, in
> importFromDir
>     mod = load_module(part_fqname, fh, filename, desc)
>   File
> "/tmp/autopkgtest-lxc.tod66xo5/downtmp/build.pwA/src/test/test-menu-rules.py",
> line 4, in <module>
>     from xdg.Menu import XMLMenuBuilder, Rule
> ImportError: No module named xdg.Menu
>
> ======================================================================
> ERROR: Failure: ImportError (No module named xdg.Menu)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/usr/lib/python2.7/dist-packages/nose/loader.py", line 418, in
> loadTestsFromName
>     addr.filename, addr.module)
>   File "/usr/lib/python2.7/dist-packages/nose/importer.py", line 47, in
> importFromPath
>     return self.importFromDir(dir_path, fqname)
>   File "/usr/lib/python2.7/dist-packages/nose/importer.py", line 94, in
> importFromDir
>     mod = load_module(part_fqname, fh, filename, desc)
>   File
> "/tmp/autopkgtest-lxc.tod66xo5/downtmp/build.pwA/src/test/test-menu.py",
> line 11, in <module>
>     import xdg.Menu
> ImportError: No module named xdg.Menu
>
> ======================================================================
> ERROR: Failure: ImportError (No module named xdg)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/usr/lib/python2.7/dist-packages/nose/loader.py", line 418, in
> loadTestsFromName
>     addr.filename, addr.module)
>   File "/usr/lib/python2.7/dist-packages/nose/importer.py", line 47, in
> importFromPath
>     return self.importFromDir(dir_path, fqname)
>   File "/usr/lib/python2.7/dist-packages/nose/importer.py", line 94, in
> importFromDir
>     mod = load_module(part_fqname, fh, filename, desc)
>   File
> "/tmp/autopkgtest-lxc.tod66xo5/downtmp/build.pwA/src/test/test-mime.py",
> line 1, in <module>
>     from xdg import Mime
> ImportError: No module named xdg
>
> ======================================================================
> ERROR: Failure: ImportError (No module named xdg)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/usr/lib/python2.7/dist-packages/nose/loader.py", line 418, in
> loadTestsFromName
>     addr.filename, addr.module)
>   File "/usr/lib/python2.7/dist-packages/nose/importer.py", line 47, in
> importFromPath
>     return self.importFromDir(dir_path, fqname)
>   File "/usr/lib/python2.7/dist-packages/nose/importer.py", line 94, in
> importFromDir
>     mod = load_module(part_fqname, fh, filename, desc)
>   File
> "/tmp/autopkgtest-lxc.tod66xo5/downtmp/build.pwA/src/test/test-recentfiles.py",
> line 1, in <module>
>     from xdg import RecentFiles
> ImportError: No module named xdg
>
> ----------------------------------------------------------------------
> Ran 9 tests in 0.019s
>
> FAILED (errors=9)
> autopkgtest [01:11:45]: test upstream: -----------------------]
>
> _______________________________________________
> Python-modules-team mailing list
> Python-modules-team at alioth-lists.debian.net
> https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/python-modules-team



More information about the Python-modules-team mailing list