Skip to content
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

fix: disable reverse uv syncing #3704

Merged
merged 2 commits into from
Dec 19, 2024
Merged

fix: disable reverse uv syncing #3704

merged 2 commits into from
Dec 19, 2024

Conversation

jdx
Copy link
Owner

@jdx jdx commented Dec 19, 2024

Fixes #3654

it does not appear this is going to be possible right now at least without a bunch of work modifying sysconfig. If someone really wants this they'll need to figure out how to get mise to patch sysconfig the same way uv does: https://github.com/astral-sh/uv/blob/main/crates/uv-python/src/sysconfig/mod.rs#L217

it is rust though, so maybe we could just copy their code? Funnily enough it seems that's what they did reading the license information in the header.

It's probably also worth pinging the uv team and asking if they have any plans around the indygreg binaries that would make this easier for mise.

@jdx jdx enabled auto-merge (squash) December 19, 2024 12:12
@jdx jdx merged commit d2b175e into main Dec 19, 2024
21 checks passed
@jdx jdx deleted the disable-uv branch December 19, 2024 12:18
jdx added a commit that referenced this pull request Dec 19, 2024
jdx added a commit that referenced this pull request Dec 19, 2024
* Revert "fix: disable reverse uv syncing (#3704)"

This reverts commit d2b175e.

* feat: get `mise sync python --uv`
miguelmig pushed a commit to miguelmig/mise that referenced this pull request Dec 21, 2024
* fix: disable reverse uv syncing

Fixes jdx#3654

* [autofix.ci] apply automated fixes

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
miguelmig pushed a commit to miguelmig/mise that referenced this pull request Dec 21, 2024
* Revert "fix: disable reverse uv syncing (jdx#3704)"

This reverts commit d2b175e.

* feat: get `mise sync python --uv`
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.

uv fails to recognize Python installations from mise sync python --uv
1 participant