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

Add functionality for working with RECORD files #708

Open
SpecLad opened this issue Aug 18, 2023 · 3 comments
Open

Add functionality for working with RECORD files #708

SpecLad opened this issue Aug 18, 2023 · 3 comments

Comments

@SpecLad
Copy link
Contributor

SpecLad commented Aug 18, 2023

In pypa/pip#11762 I added some functionality for parsing/validating/serializing RECORD files. I thought about it some more, and it seems to me like that functionality belongs in this library. Would you be open to accepting something like this?

@brettcannon
Copy link
Member

This ties into #697 , but I am not going to close this as a duplicate (yet) since we may want separate issues for each bit of wheel functionality we want to implement.

But do read that issue as it points out we are leaning towards doing a sans-I/O approach which means not doing any file I/O directly.

@SpecLad
Copy link
Contributor Author

SpecLad commented Aug 18, 2023

FWIW, RECORD files aren't just for wheels - they're also used in installed project metadata.

And I'm fine with not doing I/O directly, I can just make the API work with strings.

@jpmckinney
Copy link

I'm using importlib.metadata's distribution's files property for this, FWIW.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants