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

Read RECORD from wheel file directly during install #8537

Merged
merged 2 commits into from
Jul 4, 2020

Conversation

chrahunt
Copy link
Member

@chrahunt chrahunt commented Jul 4, 2020

Previously, we were reading RECORD from disk after copying it to the installation destination. This is a little roundabout, and makes it harder to refactor our wheel installation logic since it must happen after copying the files over. Now we read RECORD from the wheel directly, so we can be much more flexible in our approach.

Progresses #6030.

chrahunt added 2 commits July 3, 2020 20:49
This reduces our dependence on disk files, and removes some complexity
around Python 2/3 compatibility with the csv module.
@chrahunt chrahunt added type: refactor Refactoring code skip news Does not need a NEWS file entry (eg: trivial changes) labels Jul 4, 2020
@chrahunt chrahunt changed the title Refactor/read record from wheel Read RECORD from wheel file directly during install Jul 4, 2020
@chrahunt chrahunt marked this pull request as ready for review July 4, 2020 01:47
@chrahunt chrahunt merged commit feb2a24 into pypa:master Jul 4, 2020
@chrahunt chrahunt deleted the refactor/read-record-from-wheel branch July 4, 2020 02:00
@chrahunt
Copy link
Member Author

chrahunt commented Jul 4, 2020

Thank you again. :)

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Oct 12, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
skip news Does not need a NEWS file entry (eg: trivial changes) type: refactor Refactoring code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants