[chirp_devel] Invalid version: 'py3dev' breaks build.

Barry Jackson
Thu Jan 26 07:02:53 PST 2023


Dan,
I have looked at the latest daily tarball and building from that I see 
the same error, albeit with another invalid CHIRP_VERSION as far as 
python3 is concerned.

packaging.version.InvalidVersion: Invalid version: 'next-20230126'

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
   File "/usr/lib/rpm/pythondistdeps.py", line 626, in <module>
     raise RuntimeError("Error: pythondistdeps.py generator encountered 
an unhandled exception and was terminated.") from exc
RuntimeError: Error: pythondistdeps.py generator encountered an 
unhandled exception and was terminated.
error: Dependency tokens must begin with alpha-numeric, '_' or '/': *** 
PYTHONDISTDEPS_GENERATORS_FAILED ***
Provides: application() application(chirp.desktop) chirp = 20230126-1.mga
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 
rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PartialHardlinkSets) <= 4.0.4-1 
rpmlib(PayloadFilesHavePrefix) <= 4.0-1
Requires: python(abi) = 3.10 python3.10dist(future) 
python3.10dist(pyserial) python3.10dist(requests) python3.10dist(six) 
python3.10dist(yattag)

I appreciate that 'n' is alpha-numeric and I have not read all of 
this[1], but unless this is fixed somehow it won't go away.

[1]https://peps.python.org/pep-0440/

Barry





More information about the chirp_devel mailing list