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

Store ELF requirements in METADATA Requires-External fields #494

Open
tiran opened this issue Nov 4, 2024 · 0 comments
Open

Store ELF requirements in METADATA Requires-External fields #494

tiran opened this issue Nov 4, 2024 · 0 comments

Comments

@tiran
Copy link
Collaborator

tiran commented Nov 4, 2024

Python core metadata has a multi-use field Requires-External to specify external requirements. We can use the field to store external requirements such as ELF requires directly in the metadata file. This eliminates the need to maintain a separate file for Fromager ELF requirements.

As far as I can tell, the value of Requires-External fields are pretty much free-form. The field can contain environment markers after a semicolon, but we don't need it. The platform is implied by the wheel file name. We have to update the Dynamic field if-and-only-if it is present.

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

1 participant