[chirp_devel] tox
John Kienitz
Mon Feb 20 20:11:11 PST 2023
Thanks for the suggestions. I will work on setting up an 3.10 environment.
John Kienitz
NS6K
On Mon, Feb 20, 2023 at 4:43 PM Dan Smith via chirp_devel <
chirp_devel at intrepid.danplanet.com> wrote:
> > 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
> _______________________________________________
> chirp_devel mailing list
> chirp_devel at intrepid.danplanet.com
> http://intrepid.danplanet.com/mailman/listinfo/chirp_devel
> Developer docs: http://chirp.danplanet.com/projects/chirp/wiki/Developers
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://intrepid.danplanet.com/pipermail/chirp_devel/attachments/20230220/0f1ae5d8/attachment-0001.html
More information about the chirp_devel
mailing list