[chirp_devel] TOX tests on Mac.

Jim Unroe
Mon Dec 30 17:06:09 PST 2019


On Tue, Feb 20, 2018 at 9:27 PM Dan Smith via chirp_devel
<chirp_devel at intrepid.danplanet.com> wrote:
>
> > Added serial to tox deps and it gets a bit further, any thoughts? as before UNKNOWN-0.0.0.zp can't be write, and now we have no module named chirp. Is there something to be done with the build first? Thanks. Nicolas
> >
> > nicolass-Mac-mini:chirp.hg nicolas$ tox -e driver -- -d Icom_IC-2820H
> > GLOB sdist-make: /Users/nicolas/Documents/FT70CHIRP/chirp.hg/setup.py
> > driver inst-nodeps: /Users/nicolas/Documents/FT70CHIRP/chirp.hg/.tox/dist/UNKNOWN-0.0.0.zip
> > ERROR: invocation failed (exit code 1), logfile: /Users/nicolas/Documents/FT70CHIRP/chirp.hg/.tox/driver/log/driver-4.log
> > ERROR: actionid: driver
> > msg: installpkg
> > cmdargs: ['/Users/nicolas/Documents/FT70CHIRP/chirp.hg/.tox/driver/bin/pip', 'install', '-U', '--no-deps', '/Users/nicolas/Documents/FT70CHIRP/chirp.hg/.tox/dist/UNKNOWN-0.0.0.zip']
> >
> > Processing ./.tox/dist/UNKNOWN-0.0.0.zip
> >     Complete output from command python setup.py egg_info:
> >     Traceback (most recent call last):
> >       File "<string>", line 1, in <module>
> >       File "/private/var/folders/yf/rh0gfjk57pzfvdls7z6nwnmr0000gn/T/pip-kuILg4-build/setup.py", line 5, in <module>
> >         from chirp import CHIRP_VERSION
> >     ImportError: No module named chirp
>
> Yeah, I dunno, sorry. I tried on a mac I had access to and I didn't even get this far. I can try to debug it more later, but no obvious ideas. The UNKNOWN-0.0.0 stuff definitely looks funky to me.
>
> You can still run the driver tests manually by running tests/run_tests, which might be easier for you.
>
> --Dan
>

This is the same error that is experienced in a
DevelopersWin32Environment. What the file should look like is
"chirp-0.3.0dev.zip". Not knowing much about it, it seem the
CHIRP_VERSION can't be imported because the "module named chirp" is
missing or otherwise can't be accessed. Whatever the issue is, it is
common to Windows and macOS. I have finally figured out all the steps
needed to setup a DevelopersLinuxEnvironment and submitted my first
patch using it. I would much rather do it on my Win32 system, though.

Jim



More information about the chirp_devel mailing list