Skip to content

boto test fails under python 3.12 #36

@jschwartzentruber

Description

@jschwartzentruber

tox -e py312 results in the following pytest collection error:

ImportError while importing test module '/home/truber/src/m/guided-fuzzing-daemon/tests/test_afl.py'.                                                                                                                                                                            
Hint: make sure your test modules/packages have valid Python names.                                                                                                                                                                                                              
Traceback:                                                                                                                                                                                                                                                                       
../../../.local/lib/python3.12/importlib/__init__.py:90: in import_module                                                                                                                                                                                                        
    return _bootstrap._gcd_import(name[level:], package, level)                                                                                                                                                                                                                  
tests/test_afl.py:13: in <module>                                                                                                                                                                                                                                                
    from guided_fuzzing_daemon.afl import afl_main                                                                                                                                                                                                                               
src/guided_fuzzing_daemon/afl.py:21: in <module>                                                                                                                                                                                                                                 
    from .s3 import S3Manager                                                                                                                                                                                                                                                    
src/guided_fuzzing_daemon/s3.py:35: in <module>
    from boto.s3.connection import S3Connection
.tox/py312/lib/python3.12/site-packages/boto/__init__.py:27: in <module>
    from boto.pyami.config import Config, BotoConfigLocations
.tox/py312/lib/python3.12/site-packages/boto/pyami/config.py:29: in <module>
    from boto.compat import expanduser, ConfigParser, NoOptionError, NoSectionError, StringIO
.tox/py312/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'

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions