[chirp_devel] Invalid version: 'py3dev' breaks build.
Tony Fuller
Fri Jan 27 20:38:10 PST 2023
January 25, 2023 at 9:05 PM, "Dan Smith via chirp_devel" <chirp_devel at intrepid.danplanet.com> wrote:
>
> >
> > Since our (Mageia) most recent python3 updates sometime this month
> > chirp-next builds fail with:
> >
> > packaging.version.InvalidVersion: Invalid version: 'py3dev'
> >
> > 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 =
> > 1:0.4.0-0.20230101.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)
> >
> > /--------------------------------------
> >
>
> Since you're seeing py3dev I assume that means you're building directly from git? Why?
>
I'd like to piggy back on this conversation. Dan, would it be possible to publish a file or set up a redirect for package maintainers to get to the latest release tar ball that is posted on the downloads page? Maybe I've just overlooked it, but I haven't come across anything like that. git seems to be the easiest place to get the latest sources.
If there was a URL like `https://trac.chirp.danplanet.com/chirp_next/latest` which either contained simple text or redirected to "https://trac.chirp.danplanet.com/chirp_next/next-YYYYMMDD/chirp-next-YYYYMMDD.tar.gz" that would really help out, at least from what I've seen with snap, flatpak and appimage building thus far.
Tony
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://intrepid.danplanet.com/pipermail/chirp_devel/attachments/20230128/fa37262e/attachment-0001.html
More information about the chirp_devel
mailing list