django-nose
django-nose copied to clipboard
Python 3.11 support
I had to patch nose for django 2.2 on python 3.11 -
# patch for nose (django-nose) for py3.11
import collections
collections.Callable = collections.abc.Callable
# End of patch
collections.Callable has a new location.
where did you put that code? I'm having the same problem i suppose:
AttributeError: module 'collections' has no attribute 'Callable'
where did you put that code? I'm having the same problem i suppose:
AttributeError: module 'collections' has no attribute 'Callable'
Need to put the code in the top of the test case file
unfortunately this is a bug do "nose". And apparently the project has not been updated for some long years.
In this case, I don't know what the guidelines are on how to fix django-nose. monkey patch?