Skip to content

Conversation

@tkfoss
Copy link
Contributor

@tkfoss tkfoss commented Mar 12, 2025

Motivation

"The Python binaries uv installs were built using clang so they have CC=clang in their sysconfig. Thus, when using a uv-managed python when clang isn't available, pip also fails to build." astral-sh/uv#8036 (comment)

This results in distutils trying to use clang for hatch-cython build step as well, failing to properly use CC (which would resolve into clang/gcc/whatever sys has as default).

Testing

Manually tested on latest Debian stable.

@tkfoss tkfoss requested review from a team and codegen-team as code owners March 12, 2025 16:28
@tkfoss tkfoss merged commit 6ec3408 into develop Mar 14, 2025
18 checks passed
@tkfoss tkfoss deleted the tom-hatch-update branch March 14, 2025 18:54
@github-actions
Copy link
Contributor

🎉 This PR is included in version 0.51.1 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants