From 1f35431fbdd24f9d3ab38c1cc8dfd023c9df5344 Mon Sep 17 00:00:00 2001 From: kunalsz Date: Sat, 1 Mar 2025 07:38:33 -0500 Subject: [PATCH] Add support for Python3.12 Signed-off-by: kunalsz --- .github/workflows/main.yml | 2 +- Dockerfile | 2 +- Makefile | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 4428993e0..b7090e45c 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -29,7 +29,7 @@ jobs: strategy: max-parallel: 4 matrix: - python-version: ["3.9", "3.10", "3.11"] + python-version: ["3.9", "3.10", "3.11","3.12"] steps: - name: Checkout code diff --git a/Dockerfile b/Dockerfile index 45a9b496d..25bd8d7d6 100644 --- a/Dockerfile +++ b/Dockerfile @@ -6,7 +6,7 @@ # See https://github.com/nexB/vulnerablecode for support or download. # See https://aboutcode.org for more information about nexB OSS projects -FROM python:3.9 +FROM python:3.12 WORKDIR /app diff --git a/Makefile b/Makefile index 47ce9fcd7..58640ec9b 100644 --- a/Makefile +++ b/Makefile @@ -22,7 +22,7 @@ # Modified for VulnerableCode use # Python version can be specified with `$ PYTHON_EXE=python3.x make conf` -PYTHON_EXE?=python3 +PYTHON_EXE?=python3.12 VENV=venv MANAGE=${VENV}/bin/python manage.py ACTIVATE?=. ${VENV}/bin/activate;