Open CarloCogni opened 2 years ago
I'm encountering the same problem here in our CI setup.
@EwoutH, I just changed the code in the installed package (perhaps not elegant, but simple and quick)
Last commit 7 years ago, is this component maintained?
I guess that we should all say goodby to nose
and try to move to nose2
Meanwhile, somewhere in the nose start script I have added the following hack. It just put back the aliases :)
for member in ['Callable', 'Iterable', 'Sequence']:
if not hasattr(collections, member):
setattr(collections, member, getattr(collections.abc, member))
As of Python 3.10, collections.Callable as been replaced with collections.abs.Callable.
This will make nose crash with an AttributeError.