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 <biancamoniquereyes@gmail.com> wrote:

Hi Nick and Donald,

 

 

I’m emailing you because I can’t 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 PEP 440 version, but '0.2.0.taskslab11419' is not
Failed to build SomeProject

 

I’ve 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’ve been trying to fix this for almost a week now but to no avail.

 

 

Btw, I’m using python3.8 and pip 21.1 version.

 

 

Hoping to hear from you soon.

 

 

 

Thank you and cheers,

Bianca

 

Sent from Mail for Windows 10

 


Virus-free. www.avg.com


--
Nick Coghlan   |   ncoghlan@gmail.com   |   Brisbane, Australia