Skip to content

Fix constant rebuilds#2446

Merged
messense merged 3 commits intoPyO3:mainfrom
TheZoq2:main
Jan 21, 2025
Merged

Fix constant rebuilds#2446
messense merged 3 commits intoPyO3:mainfrom
TheZoq2:main

Conversation

@TheZoq2
Copy link
Contributor

@TheZoq2 TheZoq2 commented Jan 20, 2025

On some of my computers, maturin build always rebuilds pyo3 and friends, and looking at the cargo fingerprinting, this is caused by the py03-config file being written regardless of changes. This only writes the file if it has changed since last rebuild, which seems to prevent the problem.

@messense messense enabled auto-merge (squash) January 21, 2025 00:22
Copy link
Member

@messense messense left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@messense messense merged commit 5bcc730 into PyO3:main Jan 21, 2025
39 checks passed
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