# Bug report ### Bug description: test.py: ```python import os import polars print(os.getpid()) while True: pass ``` running it gives `uv run -p 3.15 --with polars test.py`: 9586 attach fails (`sudo run` mode seems to work) ` sudo uv run -p 3.15 python -m profiling.sampling attach 9586`: ``` Password: Can't determine the Python version of the remote process ``` if I change it to `import polars as pl`, attach fails with: `Failed to read debug offsets structure from remote process` ### CPython versions tested on: 3.15 ### Operating systems tested on: macOS <!-- gh-linked-prs --> ### Linked PRs * gh-144595 * gh-144655 <!-- /gh-linked-prs -->
Bug report
Bug description:
test.py:
running it gives
uv run -p 3.15 --with polars test.py:9586
attach fails (
sudo runmode seems to work)sudo uv run -p 3.15 python -m profiling.sampling attach 9586:if I change it to
import polars as pl, attach fails with:Failed to read debug offsets structure from remote processCPython versions tested on:
3.15
Operating systems tested on:
macOS
Linked PRs