From d3eb0a4e605b6af323babac811c6abcabbebbde8 Mon Sep 17 00:00:00 2001
From: Nayib Gloria <55710092+nayib-jose-gloria@users.noreply.github.com>
Date: Thu, 3 Oct 2024 11:26:37 -0400
Subject: [PATCH] fix: Revert "chore: resolve deprecation warning and update
requirements (#7275)" (#7350)
---
Dockerfile.backend | 2 +-
backend/api_server/index.html | 4 ++--
backend/common/auth0_manager.py | 2 +-
backend/common/census_cube/utils.py | 8 ++++----
backend/common/server/config.py | 6 ++----
backend/portal/api/app/v1/authentication.py | 3 ++-
.../backend/common/server/requirements.txt | 6 +++---
python_dependencies/backend/requirements.txt | 17 +++++++++++++----
8 files changed, 28 insertions(+), 20 deletions(-)
diff --git a/Dockerfile.backend b/Dockerfile.backend
index 22596d9642eef..1563bf75e66c8 100644
--- a/Dockerfile.backend
+++ b/Dockerfile.backend
@@ -22,7 +22,7 @@ RUN python3 -m pip install --upgrade pip setuptools
# TODO: Determine if cmake is really needed for ddtrace
# see ticket: https://github.com/chanzuckerberg/single-cell-data-portal/issues/5821
RUN python3 -m pip install cmake
-RUN python3 -m pip install -r requirements.txt -r ./common/server/requirements.txt
+RUN python3 -m pip install -r requirements.txt
RUN if [ "$INSTALL_DEV" = "true" ]; then python3 -m pip install -r requirements-dev.txt; fi
# Install awscli to download wmg snapshot to the local disk
RUN python3 -m pip install awscli
diff --git a/backend/api_server/index.html b/backend/api_server/index.html
index b9a9a13eb505b..148b2d3d43c72 100644
--- a/backend/api_server/index.html
+++ b/backend/api_server/index.html
@@ -9,8 +9,8 @@
/>