[chirp_devel] Here we go...
Tony Fuller
Thu Dec 29 14:13:34 PST 2022
Thanks, that was what I expected to see and that command doesn't generate any warnings at all.
I could also care less what the version is, so I just need to tweak a few lines to get past this auto wheel build thing that pip is doing.
But, assuming that `pip 23.1` is relased in January of 2023 we could see this error crop up again though when people install on from source on newer distributions. We'll see what happens when we get there ;)
Tony
December 29, 2022 at 3:54 PM, "Dan Smith via chirp_devel" <chirp_devel at intrepid.danplanet.com> wrote:
>
> >
> > How are you generating your python3 wheel? I'm getting an error from pip when it tries to auto generate the wheel.
> >
>
> Like this:
>
> $ setup.py sdist bdist_wheel
>
> >
> > Here's what I'm seeing when snapcraft tries to install CHIRP:
> > + pip install -U .
> > ...
> > Building wheels for collected packages: chirp, future, yattag
> > ...
> > WARNING: Built wheel for chirp is invalid: Metadata 1.2 mandates PEP 440 version, but 'daily-20221229' is not
> > ...
> > Failed to build chirp
> > ...
> > DEPRECATION: chirp was installed using the legacy 'setup.py install' method, because a wheel could not be built for it. pip 23.1 will enforce this behaviour change. A possible replacement is to fix the wheel build issue reported above. Discussion can be found at
> > https://github.com/pypa/pip/issues/8368
> >
>
> I don't really care that python packaging people think that I should use a version number of the format they chose. It's an application, not a library, built by date, and without any semver guarantees.
>
> If this becomes a problem then the non-bundled version will need to use a different version from other things, like 1.0.20221225 or something, but until and unless that becomes a hard requirement I don't think it'll be doing anyone any good to be confusingly different. As noted before, 98% of the users consume the bundled builds, and with as many people are using the flatpak type builds (which I'd put in a similar category), that's probably >99%.
>
> --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/20221229/05d57241/attachment-0001.html
More information about the chirp_devel
mailing list