[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1009205: marked as done (zope.testing: (autopkgtest) needs update for python3.10: fails on deprecation warning on stderr)



Your message dated Sat, 09 Apr 2022 07:05:29 +0200
with message-id <985ccae75b9a0cee2e6adbefa09ed47f@pfft.no>
and subject line Re: zope.testing: (autopkgtest) needs update for python3.10: fails on deprecation warning on stderr
has caused the Debian Bug report #1009205,
regarding zope.testing: (autopkgtest) needs update for python3.10: fails on deprecation warning on stderr
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 owner@bugs.debian.org
immediately.)


-- 
1009205: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1009205
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Source: zope.testing
Version: 4.9-1
Severity: serious
Tags: sid bookworm
User: debian-ci@lists.debian.org
Usertags: needs-update
User: debian-python@lists.debian.org
Usertags: python3.10
Control: affects -1 src:python3-defaults

Dear maintainer(s),

We are in the transition of making python3.10 the default Python versions [0]. With a recent upload of python3-defaults the autopkgtest of zope.testing 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:

                       pass            fail
python3-defaults       from testing    3.10.4-1
zope.testing           from testing    4.9-1
all others             from testing    from testing

I copied some of the output at the bottom of this report. The test output a deprecation warning to stderr. autopkgtest by default fails on that, unless the allow-stderr restriction is added to the test definition.

Currently this regression is blocking the migration of python3-defaults to testing [1]. https://docs.python.org/3/whatsnew/3.10.html lists what's new in Python3.10, it may help to identify what needs to be updated.

More information about this bug and the reason for filing it can be found on
https://wiki.debian.org/ContinuousIntegration/RegressionEmailInformation

Paul

[0] https://bugs.debian.org/1006836
[1] https://qa.debian.org/excuses.php?package=python3-defaults

https://ci.debian.net/data/autopkgtest/testing/amd64/z/zope.testing/20695044/log.gz

<string>:1: DeprecationWarning: The distutils package is deprecated and slated for removal in Python 3.12. Use setuptools or check PEP 632 for potential alternatives <string>:1: DeprecationWarning: The distutils.sysconfig module is deprecated, use sysconfig instead
Running tests at level 1
Running zope.testrunner.layer.UnitTests tests:
  Set up zope.testrunner.layer.UnitTests in 0.000 seconds.
  Running:
 /usr/lib/python3/dist-packages/zope/testing/module.txt
 /usr/lib/python3/dist-packages/zope/testing/loggingsupport.txt
 /usr/lib/python3/dist-packages/zope/testing/renormalizing.txt
 /usr/lib/python3/dist-packages/zope/testing/setupstack.txt
 /usr/lib/python3/dist-packages/zope/testing/wait.txt
 /usr/lib/python3/dist-packages/zope/testing/doctestcase.txt
 test_input_ellipsis (zope.testing.test_renormalizing.Exception2To3)
 test_input_empty (zope.testing.test_renormalizing.Exception2To3)
test_input_last_line_not_dotted_name (zope.testing.test_renormalizing.Exception2To3)
 test_input_spaces (zope.testing.test_renormalizing.Exception2To3)
test_is_dotted_name_ascii_dots (zope.testing.test_renormalizing.Exception2To3) test_is_dotted_name_ascii_no_dots (zope.testing.test_renormalizing.Exception2To3) test_is_dotted_name_ellipsis (zope.testing.test_renormalizing.Exception2To3) test_is_dotted_name_not_identifier (zope.testing.test_renormalizing.Exception2To3) test_is_dotted_name_unicode_dots (zope.testing.test_renormalizing.Exception2To3) test_is_dotted_name_unicode_no_dots (zope.testing.test_renormalizing.Exception2To3)
 test_last_line_empty (zope.testing.test_renormalizing.Exception2To3)
test_no_colon_in_first_word (zope.testing.test_renormalizing.Exception2To3)
 test_no_dots_in_name (zope.testing.test_renormalizing.Exception2To3)
 test_strip_dottedname (zope.testing.test_renormalizing.Exception2To3)
test_strip_dottedname_without_exception_arguments (zope.testing.test_renormalizing.Exception2To3)
  Ran 21 tests with 0 failures, 0 errors and 0 skipped in 0.149 seconds.
Tearing down left over layers:
  Tear down zope.testrunner.layer.UnitTests in 0.000 seconds.
autopkgtest [17:10:37]: test all-3

Attachment: OpenPGP_signature
Description: OpenPGP digital signature


--- End Message ---
--- Begin Message ---
Source: zope.testing
Version: 4.10-1

With the latest upload I added "Restrictions: allow-stderr" to gloss over this deprecation warning. The autopkgtest now correctly tests against multiple Python versions, so these things gets picked up earlier in the future.


Looks like we just missed each other with this bug, a new package was upload minutes before this bug was assigned.


Håvard F. Aasen

--- End Message ---

Reply to: