Re: PEP 440 Issue
Nick Coghlan <[email protected]> Tue, 27 Apr 2021 20:32:07 +1000
| Newsgroups | gmane.comp.python.distutils.devel |
|---|---|
| Message-ID | <CADiSq7cXjjt9CrW81W8M_Skm4LXuyn5XO2HD2BpKMhDvw_GV_w@mail.gmail.com> |
--===============3147283148877542749== Content-Type: multipart/alternative; boundary="000000000000d07cae05c0f1c642" --000000000000d07cae05c0f1c642 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hi Bianca, The ".taskslab11419" section of your version name doesn't meet the requirements for version numbers described in https://www.python.org/dev/peps/pep-0440/#public-version-identifiers, as the only non-numeric text elements permitted are "a" (alpha releases), "b" (beta releases), "c" (release candidates), "dev" (dev releases), and "post" (post-releases). The simplest resolution would be to drop the ".taskslab11419" section, and just make the version 0.2.0 instead. Alternatively, if keeping the number is important, you could make a dev release (0.2.0.dev11419), or use a 4 segment version number (0.2.0.11419). Cheers, Nick. On Tue, 27 Apr 2021 at 14:01, Bianca Reyes <[email protected]> wrote: > Hi Nick and Donald, > > > > > > I=E2=80=99m emailing you because I can=E2=80=99t seem to resolve an issue= with my project > wherein I try to install using pip command and it returns: > > > > WARNING: Built wheel for SomeProject is invalid: Metadata 1.2 mandates PE= P 440 version, but '0.2.0.taskslab11419' is not > > Failed to build SomeProject > > > > I=E2=80=99ve read your documentation with PEP 440 version but my version = name > *0.2.0.taskslab11419* does not seem to be invalid based on your > documentation. Can you guys help me out here? I=E2=80=99ve been trying to= fix this > for almost a week now but to no avail. > > > > > > Btw, I=E2=80=99m using python3.8 and pip 21.1 version. > > > > > > Hoping to hear from you soon. > > > > > > > > Thank you and cheers, > > Bianca > > > > Sent from Mail <https://go.microsoft.com/fwlink/?LinkId=3D550986> for > Windows 10 > > > > > <http://www.avg.com/email-signature?utm_medium=3Demail&utm_source=3Dlink&= utm_campaign=3Dsig-email&utm_content=3Demailclient> Virus-free. > www.avg.com > <http://www.avg.com/email-signature?utm_medium=3Demail&utm_source=3Dlink&= utm_campaign=3Dsig-email&utm_content=3Demailclient> > <#m_3295279858084880915_m_7829119531011239564_DAB4FAD8-2DD7-40BB-A1B8-4E2= AA1F9FDF2> > --=20 Nick Coghlan | [email protected] | Brisbane, Australia --000000000000d07cae05c0f1c642 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr"><div>Hi Bianca,</div><div><br></div><div>The ".tasksl= ab11419" section of your version name doesn't meet the requirement= s for version numbers described in <a href=3D"https://www.python.org/dev/pe= ps/pep-0440/#public-version-identifiers">https://www.python.org/dev/peps/pe= p-0440/#public-version-identifiers</a>, as the only non-numeric text elemen= ts permitted are "a" (alpha releases), "b" (beta releas= es), "c" (release candidates), "dev" (dev releases), an= d "post" (post-releases).</div><div><br></div><div>The simplest r= esolution would be to drop the ".taskslab11419" section, and just= make the version 0.2.0 instead. Alternatively, if keeping the number is im= portant, you could make a dev release (0.2.0.dev11419), or use a 4 segment = version number (0.2.0.11419).<br></div><div><br></div><div>Cheers,</div><di= v>Nick.<br></div></div><br><div class=3D"gmail_quote"><div dir=3D"ltr" clas= s=3D"gmail_attr">On Tue, 27 Apr 2021 at 14:01, Bianca Reyes <<a href=3D"= mailto:[email protected]" target=3D"_blank">biancamoniquereyes@g= mail.com</a>> wrote:<br></div><blockquote class=3D"gmail_quote" style=3D= "margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-le= ft:1ex"><div lang=3D"EN-PH"><div><p class=3D"MsoNormal">Hi Nick and Donald,= </p><p class=3D"MsoNormal"><u></u>=C2=A0<u></u></p><p class=3D"MsoNormal"><= u></u>=C2=A0<u></u></p><p class=3D"MsoNormal">I=E2=80=99m emailing you beca= use I can=E2=80=99t seem to resolve an issue with my project wherein I try = to install using pip command and it returns: </p><p class=3D"MsoNormal"><u>= </u>=C2=A0<u></u></p><pre><span style=3D"color:rgb(51,51,51)">WARNING: Buil= t wheel for SomeProject is invalid: Metadata 1.2 mandates PEP 440 version, = but '0.2.0.taskslab11419' is not<u></u><u></u></span></pre><pre><sp= an style=3D"color:rgb(51,51,51)">Failed to build SomeProject<u></u><u></u><= /span></pre><p class=3D"MsoNormal"><u></u>=C2=A0<u></u></p><p class=3D"MsoN= ormal">I=E2=80=99ve read your documentation with PEP 440 version but my ver= sion name <b><u><span style=3D"color:rgb(51,51,51)">0.2.0.taskslab11419</sp= an></u></b> does not seem to be invalid based on your documentation. Can yo= u guys help me out here? I=E2=80=99ve been trying to fix this for almost a = week now but to no avail.</p><p class=3D"MsoNormal"><u></u>=C2=A0<u></u></p= ><p class=3D"MsoNormal"><u></u>=C2=A0<u></u></p><p class=3D"MsoNormal">Btw,= I=E2=80=99m using python3.8 and pip 21.1 version.</p><p class=3D"MsoNormal= "><u></u>=C2=A0<u></u></p><p class=3D"MsoNormal"><u></u>=C2=A0<u></u></p><p= class=3D"MsoNormal">Hoping to hear from you soon.</p><p class=3D"MsoNormal= "><u></u>=C2=A0<u></u></p><p class=3D"MsoNormal"><u></u>=C2=A0<u></u></p><p= class=3D"MsoNormal"><u></u>=C2=A0<u></u></p><p class=3D"MsoNormal">Thank y= ou and cheers,</p><p class=3D"MsoNormal">Bianca</p><p class=3D"MsoNormal"><= u></u>=C2=A0<u></u></p><p class=3D"MsoNormal">Sent from <a href=3D"https://= go.microsoft.com/fwlink/?LinkId=3D550986" target=3D"_blank">Mail</a> for Wi= ndows 10</p><p class=3D"MsoNormal"><u></u>=C2=A0<u></u></p></div><div id=3D= "gmail-m_3295279858084880915gmail-m_7829119531011239564DAB4FAD8-2DD7-40BB-A= 1B8-4E2AA1F9FDF2"><br> <table style=3D"border-top:1px solid rgb(211,212,222)"> <tbody><tr> <td style=3D"width:55px;padding-top:13px"><a href=3D"http://www.avg= .com/email-signature?utm_medium=3Demail&utm_source=3Dlink&utm_campa= ign=3Dsig-email&utm_content=3Demailclient" target=3D"_blank"><img alt= =3D"" style=3D"width: 46px; height: 29px;" width=3D"46" height=3D"29"></a><= /td> <td style=3D"width:470px;padding-top:12px;color:rgb(65,66,78);font-size:1= 3px;font-family:Arial,Helvetica,sans-serif;line-height:18px">Virus-free. <a= href=3D"http://www.avg.com/email-signature?utm_medium=3Demail&utm_sour= ce=3Dlink&utm_campaign=3Dsig-email&utm_content=3Demailclient" style= =3D"color:rgb(68,83,234)" target=3D"_blank">www.avg.com</a> </td> </tr> </tbody></table><a href=3D"#m_3295279858084880915_m_7829119531011239564_DAB= 4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2" width=3D"1" height=3D"1"> </a></div></di= v></blockquote></div><br clear=3D"all"><br>-- <br><div dir=3D"ltr">Nick Cog= hlan=C2=A0=C2=A0 |=C2=A0=C2=A0 <a href=3D"mailto:[email protected]" target= =3D"_blank">[email protected]</a>=C2=A0=C2=A0 |=C2=A0=C2=A0 Brisbane, Aust= ralia</div> --000000000000d07cae05c0f1c642-- --===============3147283148877542749== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline -- Distutils-SIG mailing list -- [email protected] To unsubscribe send an email to [email protected] https://mail.python.org/mailman3/lists/distutils-sig.python.org/ Message archived at https://mail.python.org/archives/list/[email protected]/message/RH7H7RI7RDH5FGG3YUBAS35CUDCTDHRC/ --===============3147283148877542749==--