fedora-python / fedora-python/pyp2rpm

"Unable to extract package metadata from .whl archive" when it should...

Open
#297 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
129
Forks
42
PR merge metrics
No merged PRs in 30d

Description

```

host% pyp2rpm metpx-sr3
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.
host%

```

the wheel was created with version 0.37.0... so the complaint does not accurately describe the problem.

I looked at the source, and it is looking for the metadata.json file to be present in the .whl archive. The wheels for this package are built with setuptools, and I'm trying out hatch/hatchling now... the current versions do not include this file with a wheel.

In this wheel, the metadata is in: "sarracenia-3.0.46.dist-info/METADATA " ... ther is nothing manually overridden or special about this. It seems like a wrong assumption in the pyp2rpm.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.