mstarodub · GitHub

Bug report

Bug description:

test.py:

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

Linked PRs

Read the original on github.com ↗