Bug#915133: python-coverage: autopkgtest needs update for new version of python3-defaults

2019-01-23 Thread Ben Finney
On 23-Jan-2019, Paul Gevers wrote:
> I only know the above because I had ~25 package failing in a very
> similar way. Apart from adding a test dependency on python3-all to
> install all versions, I don't know how to test for all installed
> versions. Maybe ask the maintainers of python3-defaults?

No worries, thanks for the response. I will ask in the
‘debian-python’ forum.

-- 
 \  “On the internet you simply can't outsource parenting.” —Eliza |
  `\  Cussen, _Top 10 Internet Filter Lies_, The Punch, 2010-03-25 |
_o__)  |
Ben Finney 



Bug#915133: python-coverage: autopkgtest needs update for new version of python3-defaults

2019-01-23 Thread Paul Gevers
Hi Ben,

On 23-01-2019 05:08, Ben Finney wrote:
> On 30-Nov-2018, Paul Gevers wrote:
> 
>> However, your autopkgtest uses $(py3versions -i) and assumes that
>> the zipfile module is installed, while it doesn't make sure that it
>> is. Your autopkgtest should have a dependency on python3-all if you
>> want to test all installed python3 versions (py3versions tells which
>> python3.*-minimal versions are installed).
> 
> Thanks for the explanation.
> 
> Are you saying there is a better way to detect which Python versions
> are installed? That is, “Python 3 versions which have the standard
> library installed for use at run-time”?

Honestly, I don't know. I only know the above because I had ~25 package
failing in a very similar way. Apart from adding a test dependency on
python3-all to install all versions, I don't know how to test for all
installed versions. Maybe ask the maintainers of python3-defaults?

Paul



signature.asc
Description: OpenPGP digital signature


Bug#915133: python-coverage: autopkgtest needs update for new version of python3-defaults

2019-01-22 Thread Ben Finney
On 30-Nov-2018, Paul Gevers wrote:

> However, your autopkgtest uses $(py3versions -i) and assumes that
> the zipfile module is installed, while it doesn't make sure that it
> is. Your autopkgtest should have a dependency on python3-all if you
> want to test all installed python3 versions (py3versions tells which
> python3.*-minimal versions are installed).

Thanks for the explanation.

Are you saying there is a better way to detect which Python versions
are installed? That is, “Python 3 versions which have the standard
library installed for use at run-time”?

-- 
 \ “In any great organization it is far, far safer to be wrong |
  `\  with the majority than to be right alone.” —John Kenneth |
_o__)Galbraith, 1989-07-28 |
Ben Finney 



Bug#915133: python-coverage: autopkgtest needs update for new version of python3-defaults

2018-11-30 Thread Paul Gevers
Source: python-coverage
Version: 4.5.1+dfsg.1-1
User: debian...@lists.debian.org
Usertags: needs-update
Control: affects -1 src:python3-defaults

[X-Debbugs-CC: debian...@lists.debian.org,
python3-defau...@packages.debian.org ]

Dear maintainers,

With a recent upload of python3-defaults (that switched the default
python3 from 3.6 to 3.7) the autopkgtest of python-coverage fails in
testing when that autopkgtest is run with the binary packages of
python3-defaults from unstable. It passes when run with only packages
from testing. In tabular form:
   passfail
python3-defaults   from testing3.7.1-2
python-coveragefrom testing4.5.1+dfsg.1-1
all others from testingfrom testing

I copied some of the output at the bottom of this report. The error
points at the situation where python3.6-minimal is installed, but not
python3.6. However, your autopkgtest uses $(py3versions -i) and assumes
that the zipfile module is installed, while it doesn't make sure that
it is. Your autopkgtest should have a dependency on python3-all if you
want to test all installed python3 versions (py3versions tells which
python3.*-minimal versions are installed).

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=python3-defaults

https://ci.debian.net/data/autopkgtest/testing/amd64/p/python-coverage/1408602/log.gz

autopkgtest [16:09:48]: test smoke-python3: [---
Python command: python3.6
Traceback (most recent call last):
  File "debian/tests/smoke_test.py", line 24, in 
import pkg_resources
  File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line
26, in 
import zipfile
ModuleNotFoundError: No module named 'zipfile'
autopkgtest [16:09:49]: test smoke-python3: ---]



signature.asc
Description: OpenPGP digital signature