diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 2c3cdc765f43c2abaab0c5c0d247eccaae97ebf8..0cce30031622ef6b7d5f68ad32a4aaf2106cb155 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -235,7 +235,7 @@ docs:
   image: containers.ligo.org/lscsoft/bilby/v2-bilby-python39
   before_script:
     - conda install -c conda-forge pandoc -y
-    - python -m pip install --upgrade ipykernel ipython jupyter nbconvert
+    - python -m pip install --upgrade ipykernel "ipython!=8.10.0" jupyter nbconvert
     - python -m ipykernel install
   script:
     # Make the documentation