astral-sh / astral-sh/python-build-standalone

Inconsistent behavior with conda/pip

Open
#1,000 4 comments 0 reactions 0 assignees View on GitHub
question
Dominant language
Python
Stars
4.4k
Forks
314
Avg merge
1d 9h
Merged PRs (30d)
27

Description

### Question

I ran below commands in powershell and the `import texterrors` crashed only with uv:
```powershell
uv venv --python 3.12
uv pip install PyQt6==6.9.1 texterrors==0.5.1
uv run python -X faulthandler -c 'import texterrors; import PyQt6; print("success")' # success
uv run python -X faulthandler -c 'import PyQt6; import texterrors; print("success")' # Windows fatal exception: access violation
```
```powershell
conda create -n conda_test python=3.12
conda activate conda_test
pip install PyQt6==6.9.1 texterrors==0.5.1
python -X faulthandler -c 'import texterrors; import PyQt6; print("success")' # success
python -X faulthandler -c 'import PyQt6; import texterrors; print("success")' # success
```
there was no error also with pip only.

For this specific issue, just sticking with the `import texterrors; import PyQt6` order or updating both to the newest versions resolve the issue.

I'm reporting this for showing the possible inconsistency with conda/pip.
If there is any way to avoid this kind of issue, I'd appreciate it.

### Platform

Windows 11 24H2

### Version

uv 0.10.2 (a788db7e5 2026-02-10)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.