I am still not much of a python wonk. BUT: having only now started using the venv package, I find that chirp/requirements.txt is insufficient to start development with.
In a newly-defined virtual environment under python 3.12.3 (yes, I know that’s too far) wxpython will not load when using requirements.txt. I find that I MUST have pre-installed wheel and attrdict. Furthermore, pip is not finding wxpython at 4.2.0 for my MacOS system, so I’ve installed 4.2.1 (yes, I realize that you’ve restricted wxpython to 4.2.0 or less.)
[I can get it to work by installing packages serially and by hand. But you DID define requirements.txt for us!]
SO: I recommend prefixing the new packages wheel and attrdict, and changing the non-linux python to be >=4.2.0
I am not planning to submit this as a change, and it’s something that I consider too global a modification for my pay grade, and I surely don’t understand what ramifications of using wxpython > 4.2.0 could be!
My new chirp/requirements.txt:
wheel
attrdict
wxPython>=4.2.0 ; platform_system!="Linux"
pyserial
requests
pywin32; platform_system=="Windows"
suds
yattag
And, if one wants to run tox before trying t submit changes, you’ll need to install tox (but that’s not an absolute requirement.)