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

Fails in Python 3.10 #1

Open
Gerenuk opened this issue May 4, 2022 · 1 comment
Open

Fails in Python 3.10 #1

Gerenuk opened this issue May 4, 2022 · 1 comment

Comments

@Gerenuk
Copy link

Gerenuk commented May 4, 2022

pyRMT.py fails in Python 3.10 on from collections import MutableSequence, Sequence since apparently in Python 3.10 it should be from collections.abc import ...

@dvolgyes
Copy link

The collections.abc has these since python 3.5:
https://docs.python.org/3.5/library/collections.abc.html#collections.abc.MutableSequence

So the trivial fix would be just update the imports from "collections" to "collections.abc".
There is even a pull request for the trivial fix, so please, pull it. #2

There are other projects depending on this repository, like WeightWatcher, which cannot be used with python 3.10
until this is fixed (or WW moves to a fork.)

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

2 participants