Repository: benchopt/benchopt (language: python)

Issue:
`from benchopt.base import BaseObjective, safe_import_context` found in doc snippets raise `ImportError`
[This example](https://benchopt.github.io/benchmark_workflow/write_benchmark.html#example) uses `from benchopt.base import BaseObjective, safe_import_context` but raises `ImportError`, correct import seems to be:

```python
from benchopt.base import BaseObjective
from benchopt import safe_import_context
```



Discussion / hints:

Fix patch:
diff --git a/doc/get_started.rst b/doc/get_started.rst
index 4f3d4a5e1..9aee4bc29 100644
--- a/doc/get_started.rst
+++ b/doc/get_started.rst
@@ -27,7 +27,7 @@ If instead you want to install the **development version**, use
 
 .. prompt:: bash $
 
-    pip install -U -i https://test.pypi.org/simple/benchopt
+    pip install --pre benchopt -U -i https://test.pypi.org/simple
 
 .. attention::
 


Test patch:
diff --git a/benchopt/tests/dummy_benchmark/doc_objective.py b/benchopt/tests/dummy_benchmark/doc_objective.py
index 1ec0b1878..21a76d87c 100644
--- a/benchopt/tests/dummy_benchmark/doc_objective.py
+++ b/benchopt/tests/dummy_benchmark/doc_objective.py
@@ -1,4 +1,4 @@
-from benchopt.base import BaseObjective, safe_import_context
+from benchopt import BaseObjective, safe_import_context
 
 # All packages other than benchopt should be imported in this context.
 # - This allows to list solvers even when a package is not installed,