Should I file an issue or am I doing something wrong?
I did
$ sage -pip install line-profiler
and now I get
┌────────────────────────────────────────────────────────────────────┐
│ SageMath version 10.8.beta4, Release Date: 2025-09-21 │
│ Using Python 3.12.3. Type "help()" for help. │
└────────────────────────────────────────────────────────────────────┘
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
┃ Warning: this is a prerelease version, and it may be unstable. ┃
┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛
/home/martin/sage-trac/local/var/lib/sage/venv-python3.12/lib/python3.12/site-packages/line_profiler/toml_config.py:111: DeprecationWarning: path is deprecated. Use files() instead. Refer to
https://importlib-resources.readthedocs.io/en/latest/using.html#migrating-from-legacy for migration advice.
with importlib.resources.path(package + '.rc',