Source: sfepy Version: 2020.4-2 Severity: serious X-Debbugs-CC: debian-ci@lists.debian.org 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 adding python3.10 to the supported Python versions [0]. With a recent upload of python3-defaults the autopkgtest of sfepy 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.9.8-1 sfepy from testing 2020.4-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/996584 [1] https://qa.debian.org/excuses.php?package=python3-defaults https://ci.debian.net/data/autopkgtest/testing/amd64/s/sfepy/17446739/log.gz run: python3.10 Traceback (most recent call last):File "/tmp/autopkgtest-lxc.r9o8n8_b/downtmp/autopkgtest_tmp/laplace_shifted_periodic.py", line 140, in <module>
sfepy: dimensions: [1. 1.] sfepy: centre: [0. 0.] sfepy: shape: [11 11] sfepy: generating 121 vertices... sfepy: ...done sfepy: generating 100 cells... sfepy: ...done sfepy: updating variables... sfepy: ...done sfepy: setting up dof connectivities... sfepy: ...done in 0.00 s sfepy: lcbc: sper sfepy: dofs: total 99, free 90, constrained 9, new 0 sfepy: -> active 90 sfepy: matrix shape: (99, 99) sfepy: assembling matrix graph... sfepy: ...done in 0.00 s sfepy: matrix structural nonzeros: 775 (7.91e-02% fill) main()File "/tmp/autopkgtest-lxc.r9o8n8_b/downtmp/autopkgtest_tmp/laplace_shifted_periodic.py", line 125, in main
pb, state = run(fe_domain, 1)File "/tmp/autopkgtest-lxc.r9o8n8_b/downtmp/autopkgtest_tmp/laplace_shifted_periodic.py", line 82, in run
state = pb.solve()File "/usr/lib/python3/dist-packages/sfepy/discrete/problem.py", line 1425, in solve
init_fun, prestep_fun, poststep_fun = self.get_tss_functions(File "/usr/lib/python3/dist-packages/sfepy/discrete/problem.py", line 1234, in get_tss_functions
is_save = make_is_save(self.conf.options)File "/usr/lib/python3/dist-packages/sfepy/discrete/problem.py", line 73, in make_is_save
is_save = IsSave(save_times)File "/usr/lib/python3/dist-packages/sfepy/discrete/problem.py", line 42, in __init__
if is_sequence(save_times):File "/usr/lib/python3/dist-packages/sfepy/base/base.py", line 1049, in is_sequence
from collections import SequenceImportError: cannot import name 'Sequence' from 'collections' (/usr/lib/python3.10/collections/__init__.py)
autopkgtest [14:19:44]: test build1
Attachment:
OpenPGP_signature
Description: OpenPGP digital signature