Skip to content

Error on python>=3.10 #34

@PaoloAlbano

Description

@PaoloAlbano

Description

error running target-csv on a python version >=3.10.

Screenshot 2023-03-22 at 10 43 12

Enviroment:
output of uname -a:
Linux 41bfd29a1839 5.15.49-linuxkit #1 SMP PREEMPT Tue Sep 13 07:51:32 UTC 2022 aarch64 GNU/Linux

output of python -V
Python 3.11.1

i'm working with docker hub image: python:3.11-slim

Problem

Starting from python 3.10, MutableMapping was moved under collections.abc .

See:
Deprecated since version 3.3, will be removed in version 3.10: Moved [Collections Abstract Base Classes](https://docs.python.org/3.9/library/collections.abc.html#collections-abstract-base-classes) to the [collections.abc](https://docs.python.org/3.9/library/collections.abc.html#module-collections.abc) module. For backwards compatibility, they continue to be visible in this module through Python 3.9.

Reference: https://docs.python.org/3.9/library/collections.html

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions