fedora-python/pyp2rpm

pyp2rpm sentry Unable to extract package metadata from .whl archive. This might be caused by an old .whl format version.

patsevanton opened this issue · 2 comments

vagrant ssh
[vagrant@localhost ~]$ cat /etc/redhat-release 
Fedora release 31 (Thirty One)
[vagrant@localhost ~]$ 
[vagrant@localhost ~]$ pip install --user pyp2rpm
Collecting pyp2rpm
  Downloading https://files.pythonhosted.org/packages/5c/13/d176dbe5c95d2701788ddea95ba8d1e22f333069546b5a306d9e126db6dd/pyp2rpm-3.3.3-py3-none-any.whl (45kB)
     |████████████████████████████████| 51kB 443kB/s 
Collecting click (from pyp2rpm)
  Downloading https://files.pythonhosted.org/packages/fa/37/45185cb5abbc30d7257104c434fe0b07e5a195a6847506c074527aa599ec/Click-7.0-py2.py3-none-any.whl (81kB)
     |████████████████████████████████| 81kB 1.2MB/s 
Requirement already satisfied: Jinja2 in /usr/lib/python3.7/site-packages (from pyp2rpm) (2.10.1)
Requirement already satisfied: setuptools in /usr/lib/python3.7/site-packages (from pyp2rpm) (41.2.0)
Requirement already satisfied: MarkupSafe>=0.23 in /usr/lib64/python3.7/site-packages (from Jinja2->pyp2rpm) (1.1.1)
Installing collected packages: click, pyp2rpm
Successfully installed click-7.0 pyp2rpm-3.3.3
[vagrant@localhost ~]$ 
[vagrant@localhost ~]$ pyp2rpm sentry
Unable to extract package metadata from .whl archive. This might be caused by an old .whl format version. You may ask the upstream to upload fresh wheels created with wheel >= 0.17.0 or to upload an sdist as well to workaround this problem.

image

Sentry has a Python 2 only wheel and no sdist. I'm afraid that pyp2rpm really has no way to parse that info from what is provided here.

Thanks.