hpyproject / hpy

HPy: a better API for Python
https://hpyproject.org
MIT License
1.02k stars 52 forks source link

Install error when using install command from "Quickstart" #434

Closed f-cozzocrea closed 7 months ago

f-cozzocrea commented 1 year ago

While following the steps to install hpy in the "Quickstart" section of the docs, I get the following warning and errors:

WARNING: Generating metadata for package hpy.universal produced metadata for project name hpy. Fix your #egg=hpy.universal fragments.
Discarding git+https://github.com/hpyproject/hpy.git#egg=hpy.universal: Requested hpy from git+https://github.com/hpyproject/hpy.git#egg=hpy.universal has inconsistent name: filename has 'hpy-universal', but metadata has 'hpy'
ERROR: Could not find a version that satisfies the requirement hpy-universal (unavailable) (from versions: 0.0.0rc1)
ERROR: No matching distribution found for hpy-universal (unavailable)

Platform: Ubuntu 22.04 CPython version: 3.10 hpy version: 0.9.0rc2

Steps to reproduce: $ python3 -m pip install git+https://github.com/hpyproject/hpy.git#egg=hpy.universal

fangerer commented 1 year ago

@f-cozzocrea Thank you for this bug report, I can reproduce the problem. I'm very sorry about that. Until I've fixed this problem, I suggest that you install HPy from PyPI using python3 -m pip install --pre hpy (we need the --pre flag since the newest release is still a release candidate).

f-cozzocrea commented 1 year ago

@fangerer Sounds good, thanks for the tip! I've installed the pre-release and it's working for me.

f-cozzocrea commented 7 months ago

It looks like this issue was fixed in commit 310fde8. The development build installs without issue now.