Skip to content

Test failure with Python 3.9 #350

Closed
@Aniket-Pradhan

Description

@Aniket-Pradhan

Hello devs!

We had successfully included python-odml inside Fedora (It is available in the testing repos, and will be available in the stable repos in about a week 🥂 )

We also did a test build for Fedora 33 (which will have Python 3.9), and some tests fail. :(
The main error faced during the tests is:

>       if not isinstance(obj_list, collections.Iterable):
E       AttributeError: module 'collections' has no attribute 'Iterable'

As per the docs from Python 3.9:

"The abstract base classes in collections.abc no longer are exposed in the regular collections module. This will help create a clearer distinction between the concrete classes and the abstract base classes."

A detailed build and test log can be found here

I can try digging around this as well, but it would take me some time as I am a bit occupied with some other work. Talking about that, there should be no hurry, because there is a lot of time till the stable release of Python 3.9.

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