From 5b1da7cdac8c2227e438ceca1ef31a81e275ace8 Mon Sep 17 00:00:00 2001
From: Neda Moeini <neda.moeini@geant.org>
Date: Tue, 4 Mar 2025 17:04:25 +0100
Subject: [PATCH] Pin versions for django, djangorestframework and django
 social auth.

---
 requirements.txt | 6 +++---
 setup.py         | 4 +++-
 2 files changed, 6 insertions(+), 4 deletions(-)

diff --git a/requirements.txt b/requirements.txt
index a91f63d..897e939 100644
--- a/requirements.txt
+++ b/requirements.txt
@@ -1,5 +1,5 @@
-Django==5.0.11
-django-rest-framework
+Django>=5.0,<5.1
+djangorestframework==3.15.2
 ruff
 mypy
 tox
@@ -11,4 +11,4 @@ pytest-django
 pytest-mock
 faker
 coverage
-social-auth-app-django
+social-auth-app-django==5.4.3
diff --git a/setup.py b/setup.py
index 2eb77c2..027fc84 100644
--- a/setup.py
+++ b/setup.py
@@ -7,8 +7,10 @@ setup(
     packages=find_packages(),
     include_package_data=True,
     install_requires=[
-        "Django==5.0.11",
+        "Django>=5.0,<5.1",
         "mssql-django==1.5",
+        "djangorestframework==3.15.2",
+        "social-auth-app-django==5.4.3",
     ],
     extras_require={
         "prod": [
-- 
GitLab