Run prefect tests

Hello, I had to refactor the provided Dockerfile to use another base image and I want to run the supplied pytest. What would be the way to do it?, I tried:
$ git clone …
$ cd prefect
$ conda create -n prefect-dev python=3.10
$ conda activate prefect-dev
$ pip install -r requirements-dev.txt
$ pytest
ImportError while loading conftest ‘xxxx/prefect/tests/conftest.py’.

It seems to be solved in tag 2.8.6, related to a deprecation

 pytest tests/test_flows.py 
ImportError while loading conftest '/home/davidp/playground/prefect/tests/conftest.py'.
tests/conftest.py:67: in <module>
    from prefect.testing.cli import *
src/prefect/testing/cli.py:7: in <module>
    from prefect.cli import app
src/prefect/cli/__init__.py:9: in <module>
    import prefect.cli.cloud
src/prefect/cli/cloud.py:58: in <module>
    login_api = FastAPI(on_startup=[set_login_api_ready_event])
../../miniconda3/envs/prefect-dev/lib/python3.10/site-packages/fastapi/applications.py:127: in __init__
    self.router: routing.APIRouter = routing.APIRouter(
../../miniconda3/envs/prefect-dev/lib/python3.10/site-packages/fastapi/routing.py:504: in __init__
    super().__init__(
../../miniconda3/envs/prefect-dev/lib/python3.10/site-packages/starlette/routing.py:594: in __init__
    warnings.warn(
E   DeprecationWarning: The on_startup and on_shutdown parameters are deprecated, and they will be removed on version 1.0. Use the lifespan parameter instead. See more about it on https://www.starlette.io/lifespan/.


Found the root cause and solution for 2.8.4 in Ignore deprecation warning for starlette shutdown/startup hooks by madkinsz · Pull Request #8785 · PrefectHQ/prefect · GitHub

In file <root_repo>/setup.cfg
→ add line ignore::DeprecationWarning:starlette.routing (after line 58)