Skip to content
This repository was archived by the owner on Apr 6, 2026. It is now read-only.
This repository was archived by the owner on Apr 6, 2026. It is now read-only.

Request: cut release for 3.10 support #75

Description

@jamesbraza

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 😄

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions