Skip to content

Error in wheel metadata (requirements) #12789

@DavHau

Description

@DavHau

Hello, I think your wheels metadata is corrupt.
If you download the .whl file of a current release, extract it via zip and check the file *dist-info/METADATA, you will see the following line:

Requires-Dist: azure-datalake-store (>=0.045azure-mgmt-datalake-store>=0.5.0); extra == 'all')

This seems invalid. Pip accepts this for some reason.
It installs azure-datalake-store, but not azure-mgmt-datalake-store.
This confirms my assumption, that this is a violation of the format and just for some lucky coincidence pip doesn't crash on it.

I'm maintaining mach-nix. An alternative package management solution for python focused on reproducibility. My implementation had trouble parsing this, which is what led me here.

In case I'm wrong about it being invalid, it would be nice if you could point me to the PEP which allows for such a requirement specification.

Metadata

Metadata

Assignees

Labels

kind:bugThis is a clearly a bug

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions