dronekit / dronekit-python

DroneKit-Python library for communicating with Drones via MAVLink.
https://readthedocs.org/projects/dronekit-python/
Apache License 2.0
1.63k stars 1.45k forks source link

Compatibility with Python 3.10 #1134

Open Pascal91 opened 3 years ago

Pascal91 commented 3 years ago

Hello,

Is it planned in short (or medium) term, to have DroneKit updated to be "compatible" with Python 3.10? (Currently, it does not work anymore. It was still Ok with Python 3.9, but fails with 3.10, simply right from the "import dronekit" instruction.)

Example of issue to be solved: AttributeError: module 'collection' has no attribute 'MutableMapping' #1132.

Thanks, Best regards, Pascal.

Pushpendra766 commented 2 years ago

I am facing this issue of NoModuleFound: dronekit. What should I do ? Should I downgrade python to 3.9

peterbarker commented 2 years ago

Example of issue to be solved: AttributeError: module 'collection' has no attribute 'MutableMapping' #1132.

I've committed a patch to master to fix this problem.

I'm contemplating doing another release with the fix included.

Pascal91 commented 2 years ago

Hello Peter,

Do you have any idea when a new version (taking into account a correction for that "blocking" issues with Python 3.10) will be released, please ?

Thanks.

StripedMonkey commented 2 years ago

I'm also interested in seeing a new release, the last official release for dronekit is borderline ancient, and it's not like there has not been any work on it since.

Ubuntu 22.04 specifically is defaulting to python 3.10 making this a more apparent issue.

Pascal91 commented 1 year ago

Hello Peter,

Do you have any idea when a new version (taking into account a correction for that "blocking" issue with Python 3.10 [and now certainly Python 3.11 too]) will be released, please ?

Thanks.