Source: keras Version: 2.3.1+dfsg-3 Severity: serious Tags: sid bookworm User: [email protected] Usertags: needs-update User: [email protected] 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 keras 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
keras from testing 2.3.1+dfsg-3
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/k/keras/20649520/log.gz Using Theano backend./usr/lib/python3/dist-packages/theano/configdefaults.py:560: UserWarning: DeprecationWarning: there is no c++ compiler.This is deprecated and with Theano 0.11 a c++ compiler will be mandatory
warnings.warn("DeprecationWarning: there is no c++ compiler."
WARNING (theano.tensor.blas): Using NumPy C-API based implementation for
BLAS functions.
Traceback (most recent call last): File "<string>", line 1, in <module>File "/tmp/autopkgtest-lxc.3yo9gbvc/downtmp/build.0tt/src/keras/__init__.py", line 3, in <module>
from . import utils
File
"/tmp/autopkgtest-lxc.3yo9gbvc/downtmp/build.0tt/src/keras/utils/__init__.py",
line 26, in <module>
from .vis_utils import model_to_dot
File
"/tmp/autopkgtest-lxc.3yo9gbvc/downtmp/build.0tt/src/keras/utils/vis_utils.py",
line 7, in <module>
from ..models import Model
File
"/tmp/autopkgtest-lxc.3yo9gbvc/downtmp/build.0tt/src/keras/models.py",
line 10, in <module>
from .engine.input_layer import Input
File
"/tmp/autopkgtest-lxc.3yo9gbvc/downtmp/build.0tt/src/keras/engine/__init__.py",
line 8, in <module>
from .training import Model
File
"/tmp/autopkgtest-lxc.3yo9gbvc/downtmp/build.0tt/src/keras/engine/training.py",
line 15, in <module>
from . import training_arrays
File
"/tmp/autopkgtest-lxc.3yo9gbvc/downtmp/build.0tt/src/keras/engine/training_arrays.py",
line 15, in <module>
from .. import callbacks as cbks
File
"/tmp/autopkgtest-lxc.3yo9gbvc/downtmp/build.0tt/src/keras/callbacks/__init__.py",
line 3, in <module>
from .callbacks import Callback
File
"/tmp/autopkgtest-lxc.3yo9gbvc/downtmp/build.0tt/src/keras/callbacks/callbacks.py",
line 19, in <module>
from collections import Iterable
ImportError: cannot import name 'Iterable' from 'collections'
(/usr/lib/python3.10/collections/__init__.py)
autopkgtest [09:14:23]: test python3-theano-cpu
OpenPGP_signature
Description: OpenPGP digital signature

