Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WARNING: Built wheel for flent is invalid: Metadata 1.2 mandates PEP 440 version, but '2.1.1-git-d48ccab' is not #279

Closed
netravnen opened this issue Mar 28, 2023 · 2 comments

Comments

@netravnen
Copy link

I get a build error when installing directly from master branch.

pypa/pip#8368

Should I be concerned?

$ python3 -m pip install git+https://github.com/tohojo/flent.git
Defaulting to user installation because normal site-packages is not writeable
Collecting git+https://github.com/tohojo/flent.git
  Cloning https://github.com/tohojo/flent.git to /tmp/pip-req-build-sngad9hv
  Running command git clone --filter=blob:none --quiet https://github.com/tohojo/flent.git /tmp/pip-req-build-sngad9hv
  Resolved https://github.com/tohojo/flent.git to commit d48ccabd4ebe54af7a4ad1fb25321581a538a054
  Preparing metadata (setup.py) ... done
Building wheels for collected packages: flent
  Building wheel for flent (setup.py) ... done
  Created wheel for flent: filename=flent-2.1.1_git_d48ccab-py2.py3-none-any.whl size=297431 sha256=183488b08f294a3c158e52acb441994165a6afd69222554318f18523b00a4332
  Stored in directory: /tmp/pip-ephem-wheel-cache-6vutq3dl/wheels/53/87/fe/9dc9c29f72737cb7b61b7c26a9d1fff71398ae082bb43f9b65
  WARNING: Built wheel for flent is invalid: Metadata 1.2 mandates PEP 440 version, but '2.1.1-git-d48ccab' is not
Failed to build flent
Installing collected packages: flent
  Running setup.py install for flent ... done
  DEPRECATION: flent 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
Successfully installed flent-2.1.1-git-d48ccab
@tohojo
Copy link
Owner

tohojo commented Mar 28, 2023 via email

@netravnen
Copy link
Author

Fixed in fee05fa

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants