In this example, panel is the library being installed.
First add the library as dev dependency
poetry add --group dev panel
and then install dev dependencies locally
poetry install --with dev
Then in your local shell you will have the dev tools.
poetry shell
Do your dev:
pytest / main.py / jupyter lab