From 3874edb38ace35f80403f5118db59a5cce96f1ab Mon Sep 17 00:00:00 2001
From: Rahix <rahix@rahix.de>
Date: Mon, 21 Aug 2023 17:41:55 +0200
Subject: [PATCH] docs: Document requests dependency for simulator

For mocking network requests, we need the `requests` python package.
---
 docs/badge/firmware-development.rst | 4 ++--
 docs/badge/programming.rst          | 3 ++-
 2 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/docs/badge/firmware-development.rst b/docs/badge/firmware-development.rst
index 119c2dc496..5ec49aab40 100644
--- a/docs/badge/firmware-development.rst
+++ b/docs/badge/firmware-development.rst
@@ -53,8 +53,8 @@ For running the simulator, you'll need Python 3 with pygame and wasmer:
 ::
 
 	$ python3 -m venv venv
-	$ . venv/bin/activate
-	$ pip install pygame wasmer wasmer-compiler-cranelift
+	$ venv/bin/pip install pygame requests
+        $ venv/bin/pip install wasmer wasmer-compiler-cranelift
 
 .. warning::
 
diff --git a/docs/badge/programming.rst b/docs/badge/programming.rst
index 32467b3a6d..1f1ac7e562 100644
--- a/docs/badge/programming.rst
+++ b/docs/badge/programming.rst
@@ -644,7 +644,8 @@ environment with the required packages:
     $ git clone https://git.flow3r.garden/flow3r/flow3r-firmware
     $ cd flow3r-firmware
     $ python3 -m venv venv
-    $ venv/bin/pip install pygame wasmer wasmer-compiler-cranelift
+    $ venv/bin/pip install pygame requests
+    $ venv/bin/pip install wasmer wasmer-compiler-cranelift
 
 .. warning::
 
-- 
GitLab