From 9021ff147b3d0fffddc204077491e5e895a69079 Mon Sep 17 00:00:00 2001 From: CJ Steiner Date: Mon, 4 Nov 2024 19:11:48 -0600 Subject: [PATCH 1/4] Update Old Python versions to modern supported ones Python 3.8 is EOL - update all old references to newer versions --- ci/django.yml | 2 +- ci/pylint.yml | 2 +- code-scanning/mobsf.yml | 2 +- deployments/azure-functions-app-python.yml | 2 +- deployments/azure-webapps-python.yml | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/ci/django.yml b/ci/django.yml index 0503635290..569d3d757d 100644 --- a/ci/django.yml +++ b/ci/django.yml @@ -13,7 +13,7 @@ jobs: strategy: max-parallel: 4 matrix: - python-version: [3.7, 3.8, 3.9] + python-version: [3.11, 3.12, 3.13] steps: - uses: actions/checkout@v4 diff --git a/ci/pylint.yml b/ci/pylint.yml index c73e032c0f..81a824eb7d 100644 --- a/ci/pylint.yml +++ b/ci/pylint.yml @@ -7,7 +7,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - python-version: ["3.8", "3.9", "3.10"] + python-version: ["3.11", "3.12", "3.13"] steps: - uses: actions/checkout@v4 - name: Set up Python ${{ matrix.python-version }} diff --git a/code-scanning/mobsf.yml b/code-scanning/mobsf.yml index 05e014e9d4..549327e065 100644 --- a/code-scanning/mobsf.yml +++ b/code-scanning/mobsf.yml @@ -30,7 +30,7 @@ jobs: - name: Setup python uses: actions/setup-python@v3 with: - python-version: 3.8 + python-version: 3.13 - name: Run mobsfscan uses: MobSF/mobsfscan@a60d10a83af68e23e0b30611c6515da604f06f65 diff --git a/deployments/azure-functions-app-python.yml b/deployments/azure-functions-app-python.yml index 2c50d8ac93..5fb1479e81 100644 --- a/deployments/azure-functions-app-python.yml +++ b/deployments/azure-functions-app-python.yml @@ -25,7 +25,7 @@ on: env: AZURE_FUNCTIONAPP_NAME: 'your-app-name' # set this to your function app name on Azure AZURE_FUNCTIONAPP_PACKAGE_PATH: '.' # set this to the path to your function app project, defaults to the repository root - PYTHON_VERSION: '3.9' # set this to the python version to use (e.g. '3.6', '3.7', '3.8') + PYTHON_VERSION: '3.13' # set this to the python version to use (e.g. '3.11', '3.12', '3.13') jobs: build-and-deploy: diff --git a/deployments/azure-webapps-python.yml b/deployments/azure-webapps-python.yml index 656f95c9a0..1779c8dcfd 100644 --- a/deployments/azure-webapps-python.yml +++ b/deployments/azure-webapps-python.yml @@ -21,7 +21,7 @@ name: Build and deploy Python app to Azure Web App env: AZURE_WEBAPP_NAME: your-app-name # set this to the name of your Azure Web App - PYTHON_VERSION: '3.8' # set this to the Python version to use + PYTHON_VERSION: '3.13' # set this to the Python version to use on: push: From 8994135cf39358aa6c9c4917b38b24d08665bdbd Mon Sep 17 00:00:00 2001 From: csteiner <47841949+clintonsteiner@users.noreply.github.com> Date: Sat, 9 Nov 2024 21:53:13 -0600 Subject: [PATCH 2/4] Update azure-webapps-python.yml Co-authored-by: Mr. Walls --- deployments/azure-webapps-python.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deployments/azure-webapps-python.yml b/deployments/azure-webapps-python.yml index 1779c8dcfd..00bfad89f7 100644 --- a/deployments/azure-webapps-python.yml +++ b/deployments/azure-webapps-python.yml @@ -21,7 +21,7 @@ name: Build and deploy Python app to Azure Web App env: AZURE_WEBAPP_NAME: your-app-name # set this to the name of your Azure Web App - PYTHON_VERSION: '3.13' # set this to the Python version to use + PYTHON_VERSION: '3.13' # set this to the Python version to use (e.g. '3.11', '3.12', '3.13') on: push: From eeb2dc6f8c6d9cb81eb9a0b0b33beb71de7eaf97 Mon Sep 17 00:00:00 2001 From: csteiner <47841949+clintonsteiner@users.noreply.github.com> Date: Sat, 9 Nov 2024 21:53:17 -0600 Subject: [PATCH 3/4] Update azure-functions-app-python.yml Co-authored-by: Mr. Walls --- deployments/azure-functions-app-python.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deployments/azure-functions-app-python.yml b/deployments/azure-functions-app-python.yml index 5fb1479e81..ecdaba7134 100644 --- a/deployments/azure-functions-app-python.yml +++ b/deployments/azure-functions-app-python.yml @@ -25,7 +25,7 @@ on: env: AZURE_FUNCTIONAPP_NAME: 'your-app-name' # set this to your function app name on Azure AZURE_FUNCTIONAPP_PACKAGE_PATH: '.' # set this to the path to your function app project, defaults to the repository root - PYTHON_VERSION: '3.13' # set this to the python version to use (e.g. '3.11', '3.12', '3.13') + PYTHON_VERSION: '3.13' # set this to the python version to use (e.g. '3.11', '3.12', '3.13') jobs: build-and-deploy: From f53d59316638cab523c0da9e7932f049506daca3 Mon Sep 17 00:00:00 2001 From: CJ Steiner Date: Mon, 11 Nov 2024 09:52:58 -0600 Subject: [PATCH 4/4] pr comments form reactive-firewall --- ci/django.yml | 2 +- code-scanning/mobsf.yml | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/ci/django.yml b/ci/django.yml index 569d3d757d..5b5e49e4af 100644 --- a/ci/django.yml +++ b/ci/django.yml @@ -13,7 +13,7 @@ jobs: strategy: max-parallel: 4 matrix: - python-version: [3.11, 3.12, 3.13] + python-version: ["3.11", "3.12", "3.13"] steps: - uses: actions/checkout@v4 diff --git a/code-scanning/mobsf.yml b/code-scanning/mobsf.yml index 549327e065..805e97e4cf 100644 --- a/code-scanning/mobsf.yml +++ b/code-scanning/mobsf.yml @@ -28,9 +28,9 @@ jobs: - uses: actions/checkout@v4 - name: Setup python - uses: actions/setup-python@v3 + uses: actions/setup-python@v5 with: - python-version: 3.13 + python-version: "3.13" - name: Run mobsfscan uses: MobSF/mobsfscan@a60d10a83af68e23e0b30611c6515da604f06f65