<div dir="ltr">Thanks for the suggestions. I will work on setting up an 3.10 environment.<div><br clear="all"><div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr">John Kienitz<br><div>NS6K</div></div></div></div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Feb 20, 2023 at 4:43 PM Dan Smith via chirp_devel <<a href="mailto:chirp_devel@intrepid.danplanet.com">chirp_devel@intrepid.danplanet.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">> I am also having issues with tox.<br>
<br>
I think you're having troubles with python, tox is just the entry point.<br>
<br>
> for "tox -e unit -- -k import_logic" 10 tests fail with errors like:<br>
> <br>
> try:<br>
> > self._args, varargs, varkw, defaults = inspect.getargspec(method)<br>
> E AttributeError: module 'inspect' has no attribute 'getargspec'<br>
> <br>
> .tox/unit/lib/python3.11/site-packages/mox3/mox.py:909: AttributeError<br>
> <br>
> lLooking into this leads me down a rat hole for Python 3 deprecations.<br>
<br>
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.<br>
<br>
--Dan<br>
_______________________________________________<br>
chirp_devel mailing list<br>
<a href="mailto:chirp_devel@intrepid.danplanet.com" target="_blank">chirp_devel@intrepid.danplanet.com</a><br>
<a href="http://intrepid.danplanet.com/mailman/listinfo/chirp_devel" rel="noreferrer" target="_blank">http://intrepid.danplanet.com/mailman/listinfo/chirp_devel</a><br>
Developer docs: <a href="http://chirp.danplanet.com/projects/chirp/wiki/Developers" rel="noreferrer" target="_blank">http://chirp.danplanet.com/projects/chirp/wiki/Developers</a><br>
</blockquote></div>