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

Test RECORD population for data files #8547

Merged
merged 2 commits into from
Jul 8, 2020

Conversation

chrahunt
Copy link
Member

@chrahunt chrahunt commented Jul 5, 2020

We didn't have coverage for this behavior (since I was able to locally break it without noticing), so this adds some. Specifically we now validate:

  1. the make_wheel test helper correctly populates METADATA
  2. files in .data directories within wheels have their paths correctly translated in RECORD when installed

@chrahunt chrahunt added C: tests Testing and related things skip news Does not need a NEWS file entry (eg: trivial changes) labels Jul 5, 2020
@chrahunt chrahunt force-pushed the test-record-population branch 2 times, most recently from 3f96af3 to 3962897 Compare July 5, 2020 23:35
@chrahunt chrahunt marked this pull request as ready for review July 6, 2020 00:26
@uranusjr
Copy link
Member

uranusjr commented Jul 6, 2020

Would this be a good chance to also add some (xfail) tests for #8521?

@chrahunt
Copy link
Member Author

chrahunt commented Jul 6, 2020

I'd rather address that separately (alongside the several other issues I'm sure exist :)). I also had #8534 which improves the situation a bit around header file handling.

@chrahunt
Copy link
Member Author

chrahunt commented Jul 7, 2020

Any other comments on this, given we've identified the root cause for #8521?

@chrahunt chrahunt merged commit 5da104a into pypa:master Jul 8, 2020
@chrahunt chrahunt deleted the test-record-population branch July 8, 2020 12:52
@chrahunt
Copy link
Member Author

chrahunt commented Jul 8, 2020

Thank you both for taking a look!

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

Successfully merging this pull request may close these issues.

3 participants