From 1020545f6db0f4a89a378acd33e90cbcbae7fc1f Mon Sep 17 00:00:00 2001 From: Christophe Papazian <114495376+christophe-papazian@users.noreply.github.com> Date: Fri, 10 Jan 2025 14:30:41 +0100 Subject: [PATCH] chore(asm): update python version for threats tests (#11893) Update the python version for threats tests, to include python 3.13 when available. ## Checklist - [x] PR author has checked that all the criteria below are met - The PR description includes an overview of the change - The PR description articulates the motivation for the change - The change includes tests OR the PR description describes a testing strategy - The PR description notes risks associated with the change, if any - Newly-added code is easy to change - The change follows the [library release note guidelines](https://ddtrace.readthedocs.io/en/stable/releasenotes.html) - The change includes or references documentation updates if necessary - Backport labels are set (if [applicable](https://ddtrace.readthedocs.io/en/latest/contributing.html#backporting)) ## Reviewer Checklist - [x] Reviewer has checked that all the criteria below are met - Title is accurate - All changes are related to the pull request's stated goal - Avoids breaking [API](https://ddtrace.readthedocs.io/en/stable/versioning.html#interfaces) changes - Testing strategy adequately addresses listed risks - Newly-added code is easy to change - Release note makes sense to a user of the library - If necessary, author has acknowledged and discussed the performance implications of this PR as reported in the benchmarks PR comment - Backport labels are set in a manner that is consistent with the [release branch maintenance policy](https://ddtrace.readthedocs.io/en/latest/contributing.html#backporting) --- hatch.toml | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/hatch.toml b/hatch.toml index 0baca1fd235..1f073332547 100644 --- a/hatch.toml +++ b/hatch.toml @@ -214,11 +214,11 @@ test = [ # if you add or remove a version here, please also update the parallelism parameter # in .circleci/config.templ.yml [[envs.appsec_threats_django.matrix]] -python = ["3.7", "3.9"] +python = ["3.8", "3.9"] django = ["~=2.2"] [[envs.appsec_threats_django.matrix]] -python = ["3.7", "3.9", "3.10"] +python = ["3.8", "3.9", "3.10"] django = ["~=3.2"] [[envs.appsec_threats_django.matrix]] @@ -226,11 +226,11 @@ python = ["3.8", "3.10"] django = ["==4.0.10"] [[envs.appsec_threats_django.matrix]] -python = ["3.8", "3.10", "3.12"] +python = ["3.8", "3.11", "3.13"] django = ["~=4.2"] [[envs.appsec_threats_django.matrix]] -python = ["3.10", "3.12"] +python = ["3.10", "3.13"] django = ["~=5.1"] @@ -262,21 +262,21 @@ test = [ # if you add or remove a version here, please also update the parallelism parameter # in .circleci/config.templ.yml [[envs.appsec_threats_flask.matrix]] -python = ["3.7", "3.9"] +python = ["3.8", "3.9"] flask = ["~=1.1"] markupsafe = ["~=1.1"] [[envs.appsec_threats_flask.matrix]] -python = ["3.7", "3.9"] +python = ["3.8", "3.9"] flask = ["==2.1.3"] werkzeug = ["<3.0"] [[envs.appsec_threats_flask.matrix]] -python = ["3.8", "3.9", "3.12"] +python = ["3.8", "3.10", "3.13"] flask = ["~=2.3"] [[envs.appsec_threats_flask.matrix]] -python = ["3.8", "3.10", "3.12"] +python = ["3.8", "3.11", "3.13"] flask = ["~=3.0"] ## ASM Native IAST module @@ -327,16 +327,16 @@ test = [ # if you add or remove a version here, please also update the parallelism parameter # in .circleci/config.templ.yml [[envs.appsec_threats_fastapi.matrix]] -python = ["3.7", "3.9", "3.11"] +python = ["3.8", "3.10", "3.13"] fastapi = ["==0.86.0"] anyio = ["==3.7.1"] [[envs.appsec_threats_fastapi.matrix]] -python = ["3.7", "3.9", "3.12"] +python = ["3.8", "3.10", "3.13"] fastapi = ["==0.94.1"] [[envs.appsec_threats_fastapi.matrix]] -python = ["3.8", "3.10", "3.12"] +python = ["3.8", "3.10", "3.13"] fastapi = ["~=0.114.2"]