Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
# Release Notes

## 0.37.1

This release fixes the `pexrc -X build` venv repository resolver to skip collection of `uv`-specific
`uv_build.json` and `uv_cache.json` `.dist-info` metadata files. This ensures wheels resolved from
`uv` venvs are stable.

This release also updates `webpki-root-certs` from 1.0.9 to 1.0.10 in response to:
https://rustsec.org/advisories/RUSTSEC-2026-0383.html

## 0.37.0

This release speeds up `pexrc -X build` by removing a RECORD parsing bottleneck and parallelizing
Expand Down
6 changes: 3 additions & 3 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ cargo-features = ["profile-rustflags"]

[package]
name = "pexrc"
version = "0.37.0"
version = "0.37.1"
edition = { workspace = true }
publish = false

Expand Down
13 changes: 11 additions & 2 deletions crates/venv/src/resolver.rs
Original file line number Diff line number Diff line change
Expand Up @@ -277,8 +277,17 @@ impl InstalledWheel {
// + https://discuss.python.org/t/clarification-on-a-wheels-header-data/9305
// + https://discuss.python.org/t/deprecating-the-headers-wheel-data-key/23712

const COMPILED_PYTHON_EXTENSIONS: &[&str] = &["pyc", "pyo", "pyd"];
const IGNORED_METADATA_FILES: &[&str] = &["RECORD", "INSTALLER", "REQUESTED"];
const COMPILED_PYTHON_EXTENSIONS: &[&str] = &["pyc", "pyd", "pyo"];
const IGNORED_METADATA_FILES: &[&str] = &[
"INSTALLER",
"RECORD",
"REQUESTED",
// These are undocumented files used by uv to track wheels linked out of its cache. We
// ignore them since they can contain variable metadata that is private to uv and otherwise
// un-needed and can lead to unstable wheel contents.
"uv_build.json",
"uv_cache.json",
];

pub fn pack(
&self,
Expand Down
Loading