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

Cannot use with Python 3.12 because boto not supported #16

Open
cbugneac-nex opened this issue Jan 29, 2025 · 0 comments
Open

Cannot use with Python 3.12 because boto not supported #16

cbugneac-nex opened this issue Jan 29, 2025 · 0 comments

Comments

@cbugneac-nex
Copy link

In Python 3.12.8 it fails to work because old boto 2.49.0 not supported ?

Tests are run in venv:

_______________________________________________ ERROR collecting test_main.py ________________________________________________
ImportError while importing test module '/Users/***/test_main.py'.
Traceback:
/usr/local/Cellar/[email protected]/3.12.8/Frameworks/Python.framework/Versions/3.12/lib/python3.12/importlib/__init__.py:90: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
test_main.py:11: in <module>
    from main import initialize, check_tags_regex, get_repo_list, discover_delete_images
main.py:17: in <module>
    from awsretry import AWSRetry
.venv/lib/python3.12/site-packages/awsretry/__init__.py:11: in <module>
    import boto
.venv/lib/python3.12/site-packages/boto/__init__.py:27: in <module>
    from boto.pyami.config import Config, BotoConfigLocations
.venv/lib/python3.12/site-packages/boto/pyami/config.py:29: in <module>
    from boto.compat import expanduser, ConfigParser, NoOptionError, NoSectionError, StringIO
.venv/lib/python3.12/site-packages/boto/compat.py:52: in <module>
    from boto.vendored.six.moves import filter, http_client, map, _thread, \
E   ModuleNotFoundError: No module named 'boto.vendored.six.moves'
================================================== short test summary info ===================================================
ERROR test_main.py

PS: It works fine in Python 3.11.11 though.

Is there a way to stop using boto as it's archived and not supported anymore ?

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