From 93be2881d295433c99004b7d90ca0e09ffeb98e6 Mon Sep 17 00:00:00 2001 From: lebaudantoine Date: Wed, 31 Jul 2024 00:21:44 +0200 Subject: [PATCH] =?UTF-8?q?=E2=9C=85(backend)=20fix=20tests=20broken=20by?= =?UTF-8?q?=20dependencies=20updates?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Recent updates in dependencies broke the tests. I am in a rush, I found a stack overflow discussion mentionning we should NOT consider the root folder of a Django project as a Python package. My issue was: Model class app.core.models.User doesn't declare an explicit app_label and isn't in an application in INSTALLED_APPS. Removing the __ini__.py file at the root folder fixed the regression. --- src/backend/__init__.py | 0 1 file changed, 0 insertions(+), 0 deletions(-) delete mode 100644 src/backend/__init__.py diff --git a/src/backend/__init__.py b/src/backend/__init__.py deleted file mode 100644 index e69de29b..00000000