Your message dated Fri, 08 Apr 2022 10:19:29 +0000
with message-id <e1nclid-000hod...@fasolo.debian.org>
and subject line Bug#1009110: fixed in pysurfer 0.11.0-3
has caused the Debian Bug report #1009110,
regarding pysurfer: (autopkgtest) needs update for python3.10: cannot import 
name 'Sequence' from 'collections'
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.)


-- 
1009110: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1009110
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Source: pysurfer
Version: 0.11.0-2
Severity: serious
Tags: sid bookworm
User: debian...@lists.debian.org
Usertags: needs-update
User: debian-pyt...@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 pysurfer 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
pysurfer               from testing    0.11.0-2
all others             from testing    from testing

I copied some of the output at the bottom of this report.

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. https://docs.python.org/3.9/library/collections.html says:
"""
Deprecated since version 3.3, will be removed in version 3.10: Moved Collections Abstract Base Classes to the collections.abc module. For backwards compatibility, they continue to be visible in this module through Python 3.9.
"""
Time to move on.

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/p/pysurfer/20663038/log.gz

============================= test session starts ============================== platform linux -- Python 3.10.4, pytest-6.2.5, py-1.10.0, pluggy-1.0.0 -- /usr/bin/python3
cachedir: .pytest_cache
rootdir: /tmp/autopkgtest-lxc.v2wopsdx/downtmp/autopkgtest_tmp
collecting ... collected 0 items / 2 errors

==================================== ERRORS ==================================== _____________________ ERROR collecting tests/test_utils.py _____________________ ImportError while importing test module '/tmp/autopkgtest-lxc.v2wopsdx/downtmp/autopkgtest_tmp/tests/test_utils.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
/usr/lib/python3.10/importlib/__init__.py:126: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
tests/test_utils.py:9: in <module>
    from surfer import utils
/usr/lib/python3/dist-packages/surfer/__init__.py:1: in <module>
    from .viz import Brain, TimeViewer  # noqa
/usr/lib/python3/dist-packages/surfer/viz.py:25: in <module>
    from . import utils, io
/usr/lib/python3/dist-packages/surfer/utils.py:1: in <module>
    from collections import Sequence
E ImportError: cannot import name 'Sequence' from 'collections' (/usr/lib/python3.10/collections/__init__.py) ______________________ ERROR collecting tests/test_viz.py ______________________ ImportError while importing test module '/tmp/autopkgtest-lxc.v2wopsdx/downtmp/autopkgtest_tmp/tests/test_viz.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
/usr/lib/python3.10/importlib/__init__.py:126: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
tests/test_viz.py:15: in <module>
    from surfer import Brain, io, utils
/usr/lib/python3/dist-packages/surfer/__init__.py:1: in <module>
    from .viz import Brain, TimeViewer  # noqa
/usr/lib/python3/dist-packages/surfer/viz.py:25: in <module>
    from . import utils, io
/usr/lib/python3/dist-packages/surfer/utils.py:1: in <module>
    from collections import Sequence
E ImportError: cannot import name 'Sequence' from 'collections' (/usr/lib/python3.10/collections/__init__.py) =============================== warnings summary ===============================
tests/test_utils.py:1

/tmp/autopkgtest-lxc.v2wopsdx/downtmp/autopkgtest_tmp/tests/test_utils.py:1: DeprecationWarning: The distutils package is deprecated and slated for removal in Python 3.12. Use setuptools or check PEP 632 for potential alternatives
    from distutils.version import LooseVersion

../../../../usr/lib/python3/dist-packages/traitsui/table_column.py:461
/usr/lib/python3/dist-packages/traitsui/table_column.py:461: DeprecationWarning: In the future, a default value of type 'dict' in an Any trait will be shared between all instances. To keep the current semantics, replace `Any({})` with `Any(factory=dict)` or `Any({1: 2})` (for example) with `Any(factory=dict, args=({1: 2},))`.
    globals = Any({})

../../../../usr/lib/python3/dist-packages/traitsui/tabular_adapter.py:220
/usr/lib/python3/dist-packages/traitsui/tabular_adapter.py:220: DeprecationWarning: In the future, a default value of type 'dict' in an Any trait will be shared between all instances. To keep the current semantics, replace `Any({})` with `Any(factory=dict)` or `Any({1: 2})` (for example) with `Any(factory=dict, args=({1: 2},))`.
    cache = Any({})

-- Docs: https://docs.pytest.org/en/stable/warnings.html
=========================== short test summary info ============================
ERROR tests/test_utils.py
ERROR tests/test_viz.py
!!!!!!!!!!!!!!!!!!! Interrupted: 2 errors during collection !!!!!!!!!!!!!!!!!!!! ======================== 3 warnings, 2 errors in 4.03s =========================
autopkgtest [17:27:39]: test command1

Attachment: OpenPGP_signature
Description: OpenPGP digital signature


--- End Message ---
--- Begin Message ---
Source: pysurfer
Source-Version: 0.11.0-3
Done: Étienne Mollier <emoll...@debian.org>

We believe that the bug you reported is fixed in the latest version of
pysurfer, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 1009...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Étienne Mollier <emoll...@debian.org> (supplier of updated pysurfer package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmas...@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Fri, 08 Apr 2022 11:11:11 +0200
Source: pysurfer
Architecture: source
Version: 0.11.0-3
Distribution: unstable
Urgency: medium
Maintainer: Debian Med Packaging Team 
<debian-med-packag...@lists.alioth.debian.org>
Changed-By: Étienne Mollier <emoll...@debian.org>
Closes: 1009110
Changes:
 pysurfer (0.11.0-3) unstable; urgency=medium
 .
   * Team upload.
   * Add python3.10.patch to fix collections import (Closes: #1009110)
   * d/{copyright,control}: update home page
Checksums-Sha1:
 04d495cbbd9c9fdef1b280a88f7621dc09d3e995 2232 pysurfer_0.11.0-3.dsc
 3bb469d88fa66492e06d9d046f3a74c3690d7945 4844 pysurfer_0.11.0-3.debian.tar.xz
 ce43d382b33dff767722447c62044f46faaea78f 18527 
pysurfer_0.11.0-3_amd64.buildinfo
Checksums-Sha256:
 d54a8f56c6dcc3d653c965d69b3460825bda369ced06a7e235c07f9571e7f211 2232 
pysurfer_0.11.0-3.dsc
 af4170b10ac35131769e8f515f09db50a82d810b4b81741600ae5bfed6009b0a 4844 
pysurfer_0.11.0-3.debian.tar.xz
 88f6c309219e12d6adaa4ed5958806e0cfd4e8527b7bdee9129056e81836b11a 18527 
pysurfer_0.11.0-3_amd64.buildinfo
Files:
 108100d8a459828cb98319771f990c86 2232 python optional pysurfer_0.11.0-3.dsc
 c10b5699ce695e551566560cec9e4afb 4844 python optional 
pysurfer_0.11.0-3.debian.tar.xz
 9cca2c52a79be24ea15e2d9ecc7805d0 18527 python optional 
pysurfer_0.11.0-3_amd64.buildinfo

-----BEGIN PGP SIGNATURE-----

iQJIBAEBCgAyFiEEj5GyJ8fW8rGUjII2eTz2fo8NEdoFAmJQBEsUHGVtb2xsaWVy
QGRlYmlhbi5vcmcACgkQeTz2fo8NEdpLiBAAk2NOQRtB7wcp7U8u7g962Zw/jklH
FVaXTLXgYidYQLuqrHA23e/ajiyA0DjaM3F/jqkzu66OsE960sPK+y/+yMPS57uu
KXn2AAHGKwyK4Kx6Z6iavIZM2awOov7dUNYfRIM1UECud75VmAxU7WJUE39kspAo
PU9XPiCJU+d+nkW6rXXUEUq956WjGRYEUe3OJSJaaeiQk7GYmQKJWXc1iRirZ6XH
grgV4+Po1UCNele7IoIp2sr+I4owTLCU2nwAJ9smEyNlarFcfp72CsrEgwSUVVl6
HK5RuMqYdNHe1coTIzcgFWeLyN8ObcrbNCVWwVciJn6xsvIuL8H/0akjrXEt6I6R
6FShui9UAsELD5yMW6+uLgi8PQKW8UGJKbzI5IKeG+smvGUUWnYpBa3hZHttbaTe
DLc3j5xXjfOYjwpiOo1bFZsgnFitrDPASLRcJDZGc5c4y291WJMaoGTgpPhJSuE7
kXQ51Em7NT8YKTqQFBwsW2fL8R18+GadvTR7cFT0jhhr9Nt8kAMwNypxB470o1ra
M9fvDP4pNyW0aW7eUgx6qKPg7vHjx2FJ5OHsLg+WRk41OnxbhDleLJ19go5TZyax
/xoxBtaCQ/B06eP9/2btgMVOEDybwhix/oLXRO6eqHWkM00UYe7E6hDqUzcpyxQ+
h8ba9gXIrguMJeg=
=UgtY
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to