Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Python 3.11 support #330

Open
radzhome opened this issue Nov 11, 2022 · 3 comments
Open

Python 3.11 support #330

radzhome opened this issue Nov 11, 2022 · 3 comments

Comments

@radzhome
Copy link

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.

@samuel-andres
Copy link

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

@TITANHACKY
Copy link

TITANHACKY commented Aug 7, 2023

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

@gutierri
Copy link

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants