[Python-modules-team] Bug#954812: Bug#954812: pythonmagick: autopkgtest regression: cannot import name '_PythonMagick'
On April 18, 2020 10:03:01 AM UTC, Adrian Bunk wrote: >On Mon, Mar 23, 2020 at 09:43:19PM +0100, Paul Gevers wrote: >> Source: pythonmagick >> Version: 0.9.19-6 >> X-Debbugs-CC: debian...@lists.debian.org >> Severity: serious >> User: debian...@lists.debian.org >> Usertags: regression >> >> Dear maintainer(s), >> >> With a recent upload of pythonmagick the autopkgtest of pythonmagick >> fails in testing when that autopkgtest is run with the binary >packages >> of pythonmagick from unstable. It passes when run with only packages >> from testing. In tabular form: >> >>passfail >> pythonmagick from testing0.9.19-6 >> versioned deps [0] from testingfrom unstable >> all others from testingfrom testing >> >> I copied some of the output at the bottom of this report. >> >> Currently this regression is blocking the migration to testing [1]. >Can >> you please investigate the situation and fix it? >>... >> Testing with python3.7: >> + python3.7 >> Traceback (most recent call last): >> File "", line 1, in >> File "/usr/lib/python3/dist-packages/PythonMagick/__init__.py", >line >> 1, in >> from . import _PythonMagick >> ImportError: cannot import name '_PythonMagick' from 'PythonMagick' >>... > >This is not a regression in the package, the root cause is: >https://lists.debian.org/debian-release/2020/04/msg00228.html No. This one started to early to be caused by that issue. In this case the issue was that the autopkgtest was run for all installed python3 versions, but the package only builds for the default version. It's trivially fixable by making the autopkgtest run only for the default version, but it would be much better to solve it by having the package build for all supported python3 versions and running the autopkgtest against all of them. Scott K ___ Python-modules-team mailing list Python-modules-team@alioth-lists.debian.net https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/python-modules-team
[Python-modules-team] Bug#954812: Bug#954812: pythonmagick: autopkgtest regression: cannot import name '_PythonMagick'
Hi! I'm working on this issue. Currently [1], the autopkgtest (from this package) has support for py38. Using pyversion -s to test all version supported give me some troubles, for now. [1] https://salsa.debian.org/python-team/modules/pythonmagick Cheers, Arias Emmanuel @eamanu http://eamanu.com El sáb., 18 de abr. de 2020 a la(s) 07:06, Adrian Bunk (b...@debian.org) escribió: > > On Mon, Mar 23, 2020 at 09:43:19PM +0100, Paul Gevers wrote: > > Source: pythonmagick > > Version: 0.9.19-6 > > X-Debbugs-CC: debian...@lists.debian.org > > Severity: serious > > User: debian...@lists.debian.org > > Usertags: regression > > > > Dear maintainer(s), > > > > With a recent upload of pythonmagick the autopkgtest of pythonmagick > > fails in testing when that autopkgtest is run with the binary packages > > of pythonmagick from unstable. It passes when run with only packages > > from testing. In tabular form: > > > >passfail > > pythonmagick from testing0.9.19-6 > > versioned deps [0] from testingfrom unstable > > all others from testingfrom testing > > > > I copied some of the output at the bottom of this report. > > > > Currently this regression is blocking the migration to testing [1]. Can > > you please investigate the situation and fix it? > >... > > Testing with python3.7: > > + python3.7 > > Traceback (most recent call last): > > File "", line 1, in > > File "/usr/lib/python3/dist-packages/PythonMagick/__init__.py", line > > 1, in > > from . import _PythonMagick > > ImportError: cannot import name '_PythonMagick' from 'PythonMagick' > >... > > This is not a regression in the package, the root cause is: > https://lists.debian.org/debian-release/2020/04/msg00228.html > > cu > Adrian > > ___ > Python-modules-team mailing list > Python-modules-team@alioth-lists.debian.net > https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/python-modules-team ___ Python-modules-team mailing list Python-modules-team@alioth-lists.debian.net https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/python-modules-team
[Python-modules-team] Bug#954812: Bug#954812: pythonmagick: autopkgtest regression: cannot import name '_PythonMagick'
The problem here is that py3versions -r falls back to supported versions when no X-Python3-Versions header field is present in debian/control and pythonmagic is only built for the current version: https://packages.debian.org/sid/amd64/python3-pythonmagick/filelist (shows only python3.8 objects) This is hidden behind redirecting stderr to /Dev/null. Solutions: Preferred: build for all supported python3 versions, change the -r to -s and ditch the redirect. Less preferred:. Change the -r to -d (default) and ditch the redirect. You may also need to allow stderr in debian/tests/control. Scott K On March 23, 2020 8:43:19 PM UTC, Paul Gevers wrote: >Source: pythonmagick >Version: 0.9.19-6 >X-Debbugs-CC: debian...@lists.debian.org >Severity: serious >User: debian...@lists.debian.org >Usertags: regression > >Dear maintainer(s), > >With a recent upload of pythonmagick the autopkgtest of pythonmagick >fails in testing when that autopkgtest is run with the binary packages >of pythonmagick from unstable. It passes when run with only packages >from testing. In tabular form: > > passfail >pythonmagick from testing0.9.19-6 >versioned deps [0] from testingfrom unstable >all others from testingfrom testing > >I copied some of the output at the bottom of this report. > >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 > >[0] You can see what packages were added from the second line of the >log >file quoted below. The migration software adds source package from >unstable to the list if they are needed to install packages from >pythonmagick/0.9.19-6. I.e. due to versioned dependencies or >breaks/conflicts. >[1] https://qa.debian.org/excuses.php?package=pythonmagick > >https://ci.debian.net/data/autopkgtest/testing/amd64/p/pythonmagick/4632912/log.gz >autopkgtest [18:24:16]: test python3: [--- >+ py3versions -r >+ cd /tmp/autopkgtest-lxc.eflqupv1/downtmp/autopkgtest_tmp >+ echo Testing with python3.7: >Testing with python3.7: >+ python3.7 >Traceback (most recent call last): > File "", line 1, in > File "/usr/lib/python3/dist-packages/PythonMagick/__init__.py", line >1, in >from . import _PythonMagick >ImportError: cannot import name '_PythonMagick' from 'PythonMagick' >(/usr/lib/python3/dist-packages/PythonMagick/__init__.py) >autopkgtest [18:24:17]: test python3: ---] ___ Python-modules-team mailing list Python-modules-team@alioth-lists.debian.net https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/python-modules-team