From e5068090a78d6124bf2b421d5249fc8351fbaf26 Mon Sep 17 00:00:00 2001
From: Yohann D'ANELLO <ynerant@crans.org>
Date: Sat, 19 Jun 2021 00:00:04 +0200
Subject: [PATCH] requests module is required

---
 pyproject.toml   | 1 +
 requirements.txt | 1 +
 setup.cfg        | 1 +
 tox.ini          | 1 +
 4 files changed, 4 insertions(+)

diff --git a/pyproject.toml b/pyproject.toml
index ed3f10e..1b7d7b9 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -42,6 +42,7 @@ deps =
     django-polymorphic~=3.0
     djangorestframework~=3.12
     django-tables2>=2.3
+    requests>=2.25.1
 commands =
     ./manage.py makemigrations
     coverage run --omit='constellation/wsgi.py' --source='access,billing,constellation,firewall,layers,management,member,topography,unix' ./manage.py test access billing firewall layers management member topography unix
diff --git a/requirements.txt b/requirements.txt
index 6df5915..105528f 100644
--- a/requirements.txt
+++ b/requirements.txt
@@ -8,3 +8,4 @@ django-filter>=2.4.0
 django-polymorphic~=3.0
 djangorestframework~=3.12
 django-tables2>=2.3
+requests>=2.25.1
diff --git a/setup.cfg b/setup.cfg
index 8a3e51a..55bc6aa 100644
--- a/setup.cfg
+++ b/setup.cfg
@@ -33,6 +33,7 @@ setup_requires =
 install_requires =
 	django>=2.2,<4.0
 	django-polymorphic~=3.0
+    requests>=2.25.1
 python_requires = >=3.6
 
 [options.extras_require]
diff --git a/tox.ini b/tox.ini
index 9e0fa1e..0ad0cc2 100644
--- a/tox.ini
+++ b/tox.ini
@@ -30,6 +30,7 @@ deps =
     django-polymorphic~=3.0
     djangorestframework~=3.12
     django-tables2>=2.3
+    requests>=2.25.1
 commands =
     ./manage.py makemigrations
     coverage run --omit='constellation/wsgi.py' --source='access,billing,constellation,firewall,layers,management,member,topography,unix' ./manage.py test access billing firewall layers management member topography unix
-- 
GitLab