Skip to content

Enable measuring test coverage for Python archive (.par) files #1984

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

Merged
merged 1 commit into from
Jun 15, 2025

Conversation

itamaro
Copy link
Contributor

@itamaro itamaro commented Jun 14, 2025

".par" files are another common(?) (at least at Meta) zip-based binary format for python applications. This change enables coverage to unpack and use the unpacked files under any .par archives as source files.

we've been carrying this patch for years, so I thought I'd try to upstream it, as it could benefit any PAR users out there (and should be harmless for anyone else).

".par" files are another common(?) (at least at Meta) zip-based binary format for python applications.
This change enables coverage to unpack and use the unpacked files under any .par archives as source files.

we've been carrying this patch for years, so I thought I'd try to upstream it, as it could benefit any PAR users out there (and should be harmless for anyone else).
@nedbat nedbat merged commit 614dfbf into nedbat:master Jun 15, 2025
45 of 46 checks passed
@itamaro itamaro deleted the par-as-zip branch June 18, 2025 04:16
@nedbat
Copy link
Owner

nedbat commented Jul 3, 2025

This is now released as part of coverage 7.9.2.

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

Successfully merging this pull request may close these issues.

2 participants