[chirp_devel] tox
Dan Smith
Mon Feb 20 16:42:54 PST 2023
> I am also having issues with tox.
I think you're having troubles with python, tox is just the entry point.
> for "tox -e unit -- -k import_logic" 10 tests fail with errors like:
>
> try:
> > self._args, varargs, varkw, defaults = inspect.getargspec(method)
> E AttributeError: module 'inspect' has no attribute 'getargspec'
>
> .tox/unit/lib/python3.11/site-packages/mox3/mox.py:909: AttributeError
>
> lLooking into this leads me down a rat hole for Python 3 deprecations.
You can see this setup and running in all the gitub action checks, so it's got to be something on your system. The point of tox is to provide isolated virtual environments within which to run the tests, which means the package deps are managed for you. My guess would be that something in python 3.11 has broken mox3. I'll work on removing mox3 usage from the unit tests (for this and other reasons) but in the meantime, using <= 3.10 would be your option.
--Dan
More information about the chirp_devel
mailing list