Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pydsdl appears to be broken by python 3.10 #72

Closed
thirtytwobits opened this issue Nov 17, 2021 · 2 comments
Closed

pydsdl appears to be broken by python 3.10 #72

thirtytwobits opened this issue Nov 17, 2021 · 2 comments
Assignees
Labels
help wanted Extra attention is needed

Comments

@thirtytwobits
Copy link
Member

When importing pydsdl using python 3.10 I get:

ImportError while loading conftest '/Volumes/workspace/github/thirtytwobits/nunavut/conftest.py'.
conftest.py:19: in <module>
    import pydsdl
.tox/local/lib/python3.10/site-packages/pydsdl/__init__.py:28: in <module>
    from ._namespace import read_namespace as read_namespace
.tox/local/lib/python3.10/site-packages/pydsdl/_namespace.py:13: in <module>
    from . import _dsdl_definition
.tox/local/lib/python3.10/site-packages/pydsdl/_dsdl_definition.py:11: in <module>
    from . import _parser
.tox/local/lib/python3.10/site-packages/pydsdl/_parser.py:11: in <module>
    import parsimonious
.tox/local/lib/python3.10/site-packages/pydsdl/third_party/parsimonious/__init__.py:9: in <module>
    from parsimonious.grammar import Grammar, TokenGrammar
.tox/local/lib/python3.10/site-packages/pydsdl/third_party/parsimonious/grammar.py:14: in <module>
    from parsimonious.expressions import (Literal, Regex, Sequence, OneOf,
.tox/local/lib/python3.10/site-packages/pydsdl/third_party/parsimonious/expressions.py:13: in <module>
    from six.moves import range
E   ImportWarning: _SixMetaPathImporter.find_spec() not found; falling back to find_module()
@pavel-kirienko
Copy link
Member

We should look into updating the bundled six.py: benjaminp/six#341. Maybe @coderkalyan could help?

For now, you should be able to make PyTest ignore this warning using ignore::ImportWarning.

@pavel-kirienko pavel-kirienko added the help wanted Extra attention is needed label Nov 17, 2021
@coderkalyan
Copy link
Contributor

I'll take a look.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

3 participants