Skip to content

Python 3.10 compatibility #58

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

Closed
hleskien opened this issue Jan 30, 2020 · 5 comments · Fixed by #59
Closed

Python 3.10 compatibility #58

hleskien opened this issue Jan 30, 2020 · 5 comments · Fixed by #59

Comments

@hleskien
Copy link

Hi,

I get this in Python 3.8:

robotremoteserver.py:18: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3, and in 3.9 it will stop working
from collections import Mapping

Kind regards

Holger

@pekkaklarck
Copy link
Member

Needs to update imports when working with this project the next time. Unfortunately I haven't had time for this project lately and with RF 3.2 still being under development won't have time in the near future either.

@pekkaklarck pekkaklarck added this to the v1.2 milestone Feb 16, 2020
@hleskien
Copy link
Author

Your ACK is enough for me at the moment. Thank you!

@tirkarthi
Copy link
Contributor

I have created #59 to fix this. For Python 2 collections is used and for Python 3 collections.abc is used. The move was done in Python 3.4 to raise a deprecation so I assume Python 3.3 is not supported since it's EoL. Thanks.

@hleskien
Copy link
Author

Thank you!

@pekkaklarck pekkaklarck modified the milestones: v1.2, v1.1.1 Dec 10, 2022
@pekkaklarck pekkaklarck changed the title DeprecationWarning: "from collections import Mapping" Python 3.10 compatibility Dec 10, 2022
@pekkaklarck
Copy link
Member

This fix is required with Python 3.10 where from collections import Mapping doesn't work anymore. Need to finally create a release with this fix.

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

Successfully merging a pull request may close this issue.

3 participants