Skip to content

fix: resolve test failures in distro packaging environments - #3129

Merged
messense merged 1 commit into
PyO3:mainfrom
messense:fix/issues-3127-3128
Apr 10, 2026
Merged

fix: resolve test failures in distro packaging environments#3129
messense merged 1 commit into
PyO3:mainfrom
messense:fix/issues-3127-3128

Conversation

@messense

@messense messense commented Apr 9, 2026

Copy link
Copy Markdown
Member
  • Mark write_dist_info_uses_license_file_sources as serial to prevent env var race with other tests that set MATURIN_PEP517_METADATA_DIR
  • Pass --target-dir to cargo package --list to prevent cargo from creating temp directories inside path dependency crates, which caused git2 directory scanning races in source tarball builds

Fixes #3127
Fixes #3128

- Mark write_dist_info_uses_license_file_sources as serial to prevent
  env var race with other tests that set MATURIN_PEP517_METADATA_DIR
- Pass --target-dir to cargo package --list to prevent cargo from
  creating temp directories inside path dependency crates, which caused
  git2 directory scanning races in source tarball builds
@messense
messense force-pushed the fix/issues-3127-3128 branch from 19b18af to 8064935 Compare April 9, 2026 23:57
@messense
messense merged commit a025a1f into PyO3:main Apr 10, 2026
82 of 84 checks passed
@messense
messense deleted the fix/issues-3127-3128 branch April 10, 2026 00:49
@dvzrv

dvzrv commented Apr 10, 2026

Copy link
Copy Markdown

@messense thanks for the quick reaction and fix! ❤️

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.

1.13.1: test lib_with_target_path_dep_sdist fails 1.13.0/1.13.1: test write_dist_info_uses_license_file_sources fails

2 participants