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

Request: cut release for 3.10 support #75

Open
jamesbraza opened this issue Nov 8, 2022 · 0 comments
Open

Request: cut release for 3.10 support #75

jamesbraza opened this issue Nov 8, 2022 · 0 comments

Comments

@jamesbraza
Copy link

When trying to use with Python 3.10, I get:

Traceback (most recent call last):
  File "/Users/user/.pyenv/versions/3.10.7/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/Users/user/.pyenv/versions/3.10.7/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/Users/user/code/repo/foo.py", line 23, in <module>
    from terraformpy import Terraform, compile, reset  # type: ignore
  File "/Users/user/code/repo/venv/lib/python3.10/site-packages/terraformpy/__init__.py", line 17, in <module>
    from .objects import (
  File "/Users/user/code/repo/venv/lib/python3.10/site-packages/terraformpy/objects.py", line 24, in <module>
    from schematics.types import compound
  File "/Users/user/code/repo/venv/lib/python3.10/site-packages/schematics/__init__.py", line 6, in <module>
    from . import deprecated
  File "/Users/user/code/repo/venv/lib/python3.10/site-packages/schematics/deprecated.py", line 8, in <module>
    from .types.serializable import Serializable
  File "/Users/user/code/repo/venv/lib/python3.10/site-packages/schematics/types/__init__.py", line 2, in <module>
    from .base import *
  File "/Users/user/code/repo/venv/lib/python3.10/site-packages/schematics/types/base.py", line 19, in <module>
    from collections import Iterable, OrderedDict
ImportError: cannot import name 'Iterable' from 'collections' (/Users/user/.pyenv/versions/3.10.7/lib/python3.10/collections/__init__.py)

Looks like this import error was fixed in April via #72.

Can you please release a new version, so people can use terraformpy with Python 3.10?

Also, probably also worth reflecting 3.9 and 3.10:

  • In the README.rst badges
  • In the test matrix in tox.ini

Lastly, consider adding 3.11 support as well! Thank you in advance 😄

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant