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

Python3.10 compatibility #1093

Closed

Conversation

BananaLoaf
Copy link

@BananaLoaf BananaLoaf commented Apr 8, 2023

When trying to run WebUI in Python3.10, I get an error AttributeError: module 'collections' has no attribute 'MutableMapping'. It happens because collections.MutableMapping got moved to collections.abc.MutableMapping in Python3.10.

Ideally, I'd have to bump tornado package, but I haven't had any success doing so because of the new async policies, that tornado>=5 started following. I could not make async loop to run correctly and even if I did, I'd not be sure that something else has not broken, hence this PR.


This change is Reviewable

@BananaLoaf BananaLoaf changed the title Python3.10 compatability Python3.10 compatibility Apr 8, 2023
@Teslafly
Copy link

Would this go well with this sockjs removal PR?
https://github.com/google/openhtf/pull/1164/files

I would also like to use a newer version of python. If only to get switch-case in python 3.10.

@glados-verma
Copy link
Collaborator

Should no longer be needed after #1181

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

Successfully merging this pull request may close these issues.

3 participants