Your message dated Sun, 9 Feb 2020 11:07:08 +0100
with message-id <ba3cbb03-fb18-4c41-b6ec-452d8ad54...@debian.org>
and subject line Re: Bug#950211: python-virustotal-api fails autopkg test
has caused the Debian Bug report #950211,
regarding python-virustotal-api fails autopkg test
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)
--
950211: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=950211
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: src:python-virustotal-api
Version: 1.1.11-2
Severity: serious
Tags: sid bullseye
the autodep8 test fails, because the package is wrongly named. The package name
should be python-virustotal-apis? Or you remove the autodep8 test from
debian/control.
Setting up autopkgtest-satdep (0) ...
(Reading database ... 65026 files and directories currently installed.)
Removing autopkgtest-satdep (0) ...
autopkgtest [10:19:31]: test autodep8-python3: set -e ; for py in $(py3versions
-r 2>/dev/null) ; do cd "$AUTOPKGTEST_TMP" ; echo "Testing with $py:" ; $py -c
"import virustotal_api; print(virustotal_api)" ; done
autopkgtest [10:19:31]: test autodep8-python3: [-----------------------
Testing with python3.7:
Traceback (most recent call last):
File "<string>", line 1, in <module>
ModuleNotFoundError: No module named 'virustotal_api'
autopkgtest [10:19:31]: test autodep8-python3: -----------------------]
autodep8-python3 FAIL non-zero exit status 1
autopkgtest [10:19:32]: test autodep8-python3: - - - - - - - - - - results - -
- - - - - - - -
autopkgtest [10:19:32]: @@@@@@@@@@@@@@@@@@@@ summary
autodep8-python3 FAIL non-zero exit status 1
--- End Message ---
--- Begin Message ---
Closing this one because the autopkgtest is passing in version 1.1.11-2 without
the patch, according to Debian’s CI logs.
Anybody feel free to reopen if I am wrong.
Cheers
Sascha
> On 31. Jan 2020, at 07:42, Sascha Steinbiss <sa...@debian.org> wrote:
>
> Hi Matthias,
>
>>>> Or you remove the autodep8 test from debian/control.
>>> Indeed that is what I changed in 1.1.11-2 which should be in both sid
>>> and bullseye by now -- I changed the autopkgtest definition and added
>>> custom test scripts reflecting the situation.
>>>
>>> All tests are green so far now [3]. Where did you get your log snippet from?
>>
>> http://autopkgtest.ubuntu.com/packages/p/python-virustotal-api/focal/amd64
>
> But version 1.1.11-2 (without the ubuntu1 patch) also passes its autopkgtest
> in the list on that page (row 3)?
>
>> that's what I changed, it's still in the control file.
>>
>> http://launchpadlibrarian.net/462719068/python-virustotal-api_1.1.11-2_1.1.11-2ubuntu1.diff.gz
>
> This would also only cause the CI to run the regular autopkgtest in
> debian/tests, instead of the failing Python-specific ones that assume a
> particular mapping from import name to package name. My change in 1.1.11-2
> does the same:
>
> diff --git a/debian/control b/debian/control
> index 83a6cfe..6032eda 100644
> --- a/debian/control
> +++ b/debian/control
> @@ -9,7 +9,7 @@ Build-Depends: debhelper-compat (= 12),
> python3-setuptools,
> python3-requests
> Standards-Version: 4.5.0
> -Testsuite: autopkgtest-pkg-python
> +Testsuite: autopkgtest
> Vcs-Git: https://salsa.debian.org/debian/python-virustotal-api.git
> Vcs-Browser: https://salsa.debian.org/debian/python-virustotal-api
> Homepage: https://github.com/blacktop/virustotal-api
>
> Plus adding a separate, explicit test setup in d/tests, of course.
>
> I do not see where removing the Testsuite line would change anything compared
> to 1.1.11-2, given that the autopkgtest for that’s version passes even on
> Ubuntu’s CI. Am I missing something?
>
> Cheers
> Sascha
signature.asc
Description: Message signed with OpenPGP
--- End Message ---