Skip to content

Commit

Permalink
chore(asm): update python version for threats tests (#11893)
Browse files Browse the repository at this point in the history
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)
  • Loading branch information
christophe-papazian authored Jan 10, 2025
1 parent afe439e commit 1020545
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions hatch.toml
Original file line number Diff line number Diff line change
Expand Up @@ -214,23 +214,23 @@ 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]]
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"]


Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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"]


Expand Down

0 comments on commit 1020545

Please sign in to comment.