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

Doesn't build in python >= 3.12 due to imp dependency #65

Open
ppenguin opened this issue May 17, 2024 · 0 comments
Open

Doesn't build in python >= 3.12 due to imp dependency #65

ppenguin opened this issue May 17, 2024 · 0 comments

Comments

@ppenguin
Copy link

============================= test session starts ==============================
platform linux -- Python 3.12.3, pytest-8.1.1, pluggy-1.4.0
rootdir: /build/source
configfile: setup.cfg
testpaths: tests
plugins: asyncio-0.23.6, aiohttp-1.0.5, requests-mock-1.12.1
asyncio: mode=Mode.STRICT
collected 13 items / 9 errors / 3 deselected / 10 selected

==================================== ERRORS ====================================
_____________________ ERROR collecting tests/test_base.py ______________________
ImportError while importing test module '/build/source/tests/test_base.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
/nix/store/73fmjgr5khqi62zmpjhjkmggyra0sxmq-python3-3.12.3/lib/python3.12/importlib/__init__.py:90: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
tests/test_base.py:3: in <module>
    import imp
E   ModuleNotFoundError: No module named 'imp'
__________________ ERROR collecting tests/test_controller.py ___________________
ImportError while importing test module '/build/source/tests/test_controller.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
/nix/store/73fmjgr5khqi62zmpjhjkmggyra0sxmq-python3-3.12.3/lib/python3.12/importlib/__init__.py:90: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
tests/test_controller.py:4: in <module>
    from tests.test_base import UnitTestBase
tests/test_base.py:3: in <module>
    import imp
E   ModuleNotFoundError: No module named 'imp'
...
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