Skip to content

Python 3.10 compatibility #58

Closed

Description

@hleskien

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

Activity

  1. pekkaklarck commented on Feb 16, 2020

    @pekkaklarck
    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.

  2. added this to the v1.2 milestone on Feb 16, 2020
  3. hleskien commented on Feb 16, 2020

    @hleskien
    Author

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

  4. tirkarthi commented on Apr 11, 2020

    @tirkarthi
    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.

  5. hleskien commented on Apr 11, 2020

    @hleskien
    Author

    Thank you!

  6. modified the milestones: v1.2, v1.1.1 on Dec 10, 2022
  7. changed the title [-]DeprecationWarning: "from collections import Mapping"[/-] [+]Python 3.10 compatibility[/+] on Dec 10, 2022
  8. pekkaklarck commented on Dec 10, 2022

    @pekkaklarck
    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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions