From ad5dc23062d6ebd19f93f4a597902333c645c70a Mon Sep 17 00:00:00 2001 From: EdwinWiseOne Date: Fri, 20 Dec 2024 09:49:34 -0600 Subject: [PATCH] Re-enable python 3.8 in CI --- Minimal/ci/__main__.py | 5 +++-- Panel/ci/__main__.py | 5 +++-- Panel/requirements.txt | 2 +- Plotly Dash/ci/__main__.py | 5 +++-- Plotly Dash/requirements.txt | 1 - React/ci/__main__.py | 5 +++-- Streamlit/ci/__main__.py | 5 +++-- 7 files changed, 16 insertions(+), 12 deletions(-) diff --git a/Minimal/ci/__main__.py b/Minimal/ci/__main__.py index 2605ca5..fc90eca 100644 --- a/Minimal/ci/__main__.py +++ b/Minimal/ci/__main__.py @@ -48,8 +48,9 @@ def build(config, bundle_image, rebuild_zbundle, verbose): app_deps = config["app_deps"]["edm"] python_version = str(config["python_version"]) if python_version == "3.8": - raise RuntimeError("Python 3.8 is not supported") - platform = "rh8-x86_64" + platform = "rh7-x86_64" + else: + platform = "rh8-x86_64" # First, we build a "zbundle" which contains all the eggs needed to # build the environment within the Docker image. diff --git a/Panel/ci/__main__.py b/Panel/ci/__main__.py index f73bd4f..8be30d2 100644 --- a/Panel/ci/__main__.py +++ b/Panel/ci/__main__.py @@ -48,8 +48,9 @@ def build(config, bundle_image, rebuild_zbundle, verbose): app_deps = config["app_deps"]["edm"] python_version = str(config["python_version"]) if python_version == "3.8": - raise RuntimeError("Python 3.8 is not supported") - platform = "rh8-x86_64" + platform = "rh7-x86_64" + else: + platform = "rh8-x86_64" # First, we build a "zbundle" which contains all the eggs needed to # build the environment within the Docker image. diff --git a/Panel/requirements.txt b/Panel/requirements.txt index f9ec12d..4aa7e84 100644 --- a/Panel/requirements.txt +++ b/Panel/requirements.txt @@ -1 +1 @@ -panel +# No pip requirements diff --git a/Plotly Dash/ci/__main__.py b/Plotly Dash/ci/__main__.py index ef97997..8f51af8 100644 --- a/Plotly Dash/ci/__main__.py +++ b/Plotly Dash/ci/__main__.py @@ -48,8 +48,9 @@ def build(config, bundle_image, rebuild_zbundle, verbose): app_deps = config["app_deps"]["edm"] python_version = str(config["python_version"]) if python_version == "3.8": - raise RuntimeError("Python 3.8 is not supported") - platform = "rh8-x86_64" + platform = "rh7-x86_64" + else: + platform = "rh8-x86_64" # First, we build a "zbundle" which contains all the eggs needed to # build the environment within the Docker image. diff --git a/Plotly Dash/requirements.txt b/Plotly Dash/requirements.txt index 633b4b7..1adea34 100644 --- a/Plotly Dash/requirements.txt +++ b/Plotly Dash/requirements.txt @@ -1,2 +1 @@ -dash Flask-Session diff --git a/React/ci/__main__.py b/React/ci/__main__.py index 9bd7491..2dc9d4e 100644 --- a/React/ci/__main__.py +++ b/React/ci/__main__.py @@ -48,8 +48,9 @@ def build(config, bundle_image, rebuild_zbundle, verbose): app_deps = config["app_deps"]["edm"] python_version = str(config["python_version"]) if python_version == "3.8": - raise RuntimeError("Python 3.8 is not supported") - platform = "rh8-x86_64" + platform = "rh7-x86_64" + else: + platform = "rh8-x86_64" # First, build the React application jsdir = op.join(SRC_ROOT, "src", "application", "frontend") diff --git a/Streamlit/ci/__main__.py b/Streamlit/ci/__main__.py index 442cdb3..d058430 100644 --- a/Streamlit/ci/__main__.py +++ b/Streamlit/ci/__main__.py @@ -48,8 +48,9 @@ def build(config, bundle_image, rebuild_zbundle, verbose): app_deps = config["app_deps"]["edm"] python_version = str(config["python_version"]) if python_version == "3.8": - raise RuntimeError("Python 3.8 is not supported") - platform = "rh8-x86_64" + platform = "rh7-x86_64" + else: + platform = "rh8-x86_64" # First, we build a "zbundle" which contains all the eggs needed to # build the environment within the Docker image.