Skip to content

Not compatible with python 3.10 #16

Description

@depuits

When running the code using python 3.10 you get the following error

AttributeError: module 'collections' has no attribute 'Sequence'
Traceback (most recent call last):
  File "/usr/local/bin/elro", line 7, in <module>
    from elro.hub import Hub
  File "/usr/local/lib/python3.10/site-packages/elro/hub.py", line 5, in <module>
    from valideer import accepts
  File "/usr/local/lib/python3.10/site-packages/valideer/__init__.py", line 2, in <module>
    from .validators import  *
  File "/usr/local/lib/python3.10/site-packages/valideer/validators.py", line 466, in <module>
    class HomogeneousSequence(Type):
  File "/usr/local/lib/python3.10/site-packages/valideer/validators.py", line 469, in HomogeneousSequence
    accept_types = collections.Sequence
AttributeError: module 'collections' has no attribute 'Sequence'

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions