django-nose icon indicating copy to clipboard operation
django-nose copied to clipboard

Python 3.11 support

Open radzhome opened this issue 2 years ago • 3 comments

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.

radzhome avatar Nov 11 '22 21:11 radzhome

where did you put that code? I'm having the same problem i suppose: AttributeError: module 'collections' has no attribute 'Callable'

samuel-andres avatar Apr 25 '23 03:04 samuel-andres

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

TITANHACKY avatar Aug 07 '23 11:08 TITANHACKY

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?

gutierri avatar Mar 27 '24 23:03 gutierri