prowler icon indicating copy to clipboard operation
prowler copied to clipboard

chore: support python 3.13

Open branchv opened this issue 3 months ago • 4 comments

Context

Adds 3.13 support

Fixes #6737

Description

3.14 support needs https://github.com/prowler-cloud/py-iam-expand/pull/64 first

Checklist

  • Are there new checks included in this PR? Yes / No
    • If so, do we need to update permissions for the provider? Please review this carefully.
  • [ ] Review if the code is being covered by tests.
  • [ ] Review if code is being documented following this specification https://github.com/google/styleguide/blob/gh-pages/pyguide.md#38-comments-and-docstrings
  • [ ] Review if backport is needed.
  • [ ] Review if is needed to change the Readme.md
  • [ ] Ensure new entries are added to CHANGELOG.md, if applicable.

UI

  • [ ] All issue/task requirements work as expected on the UI
  • [ ] Screenshots/Video of the functionality flow (if applicable) - Mobile (X < 640px)
  • [ ] Screenshots/Video of the functionality flow (if applicable) - Table (640px > X < 1024px)
  • [ ] Screenshots/Video of the functionality flow (if applicable) - Desktop (X > 1024px)
  • [ ] Ensure new entries are added to CHANGELOG.md, if applicable.

API

  • [ ] Verify if API specs need to be regenerated.
  • [ ] Check if version updates are required (e.g., specs, Poetry, etc.).
  • [ ] Ensure new entries are added to CHANGELOG.md, if applicable.

License

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

branchv avatar Nov 22 '25 19:11 branchv

Conflict Markers Resolved

All conflict markers have been successfully resolved in this pull request.

github-actions[bot] avatar Nov 22 '25 19:11 github-actions[bot]

Codecov Report

:white_check_mark: All modified and coverable lines are covered by tests. :white_check_mark: Project coverage is 84.48%. Comparing base (bfce602) to head (808353a). :warning: Report is 15 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #9293      +/-   ##
==========================================
- Coverage   92.95%   84.48%   -8.48%     
==========================================
  Files         126     1498    +1372     
  Lines        3024    46816   +43792     
==========================================
+ Hits         2811    39553   +36742     
- Misses        213     7263    +7050     
Flag Coverage Δ
prowler-py3.10-aws 90.58% <ø> (?)
prowler-py3.10-azure 89.81% <ø> (?)
prowler-py3.10-config 84.44% <ø> (?)
prowler-py3.10-gcp 90.11% <ø> (-2.85%) :arrow_down:
prowler-py3.10-github 89.36% <ø> (?)
prowler-py3.10-iac 89.00% <ø> (?)
prowler-py3.10-kubernetes 89.74% <ø> (?)
prowler-py3.10-lib 84.46% <ø> (?)
prowler-py3.10-m365 89.27% <ø> (?)
prowler-py3.10-mongodbatlas 88.92% <ø> (?)
prowler-py3.10-nhn 89.31% <ø> (?)
prowler-py3.10-oraclecloud 86.56% <ø> (?)
prowler-py3.11-aws 90.55% <ø> (?)
prowler-py3.11-azure 89.79% <ø> (?)
prowler-py3.11-config 84.42% <ø> (?)
prowler-py3.11-gcp 90.09% <ø> (-2.87%) :arrow_down:
prowler-py3.11-github 89.34% <ø> (?)
prowler-py3.11-iac 88.98% <ø> (?)
prowler-py3.11-kubernetes 89.72% <ø> (?)
prowler-py3.11-lib 84.45% <ø> (?)
prowler-py3.11-m365 89.25% <ø> (?)
prowler-py3.11-mongodbatlas 88.90% <ø> (?)
prowler-py3.11-nhn 89.28% <ø> (?)
prowler-py3.11-oraclecloud 86.54% <ø> (?)
prowler-py3.12-aws 90.57% <ø> (?)
prowler-py3.12-azure 89.80% <ø> (?)
prowler-py3.12-config 84.44% <ø> (?)
prowler-py3.12-gcp 90.10% <ø> (-2.86%) :arrow_down:
prowler-py3.12-github 89.35% <ø> (?)
prowler-py3.12-iac 89.00% <ø> (?)
prowler-py3.12-kubernetes 89.73% <ø> (?)
prowler-py3.12-lib 84.47% <ø> (?)
prowler-py3.12-m365 89.28% <ø> (?)
prowler-py3.12-mongodbatlas 88.92% <ø> (?)
prowler-py3.12-nhn 89.29% <ø> (?)
prowler-py3.12-oraclecloud 86.56% <ø> (?)
prowler-py3.13-aws 90.53% <ø> (?)
prowler-py3.13-azure 89.77% <ø> (?)
prowler-py3.13-config 84.41% <ø> (?)
prowler-py3.13-gcp 90.08% <ø> (?)
prowler-py3.13-github 89.33% <ø> (?)
prowler-py3.13-iac 88.97% <ø> (?)
prowler-py3.13-kubernetes 89.71% <ø> (?)
prowler-py3.13-lib 84.44% <ø> (?)
prowler-py3.13-m365 89.24% <ø> (?)
prowler-py3.13-mongodbatlas 88.89% <ø> (?)
prowler-py3.13-nhn 89.27% <ø> (?)
prowler-py3.13-oraclecloud 86.53% <ø> (?)
prowler-py3.9-aws 90.56% <ø> (?)
prowler-py3.9-azure 89.79% <ø> (?)
prowler-py3.9-config 84.43% <ø> (?)
prowler-py3.9-gcp 90.09% <ø> (-2.86%) :arrow_down:
prowler-py3.9-github 89.34% <ø> (?)
prowler-py3.9-iac 88.98% <ø> (?)
prowler-py3.9-kubernetes 89.72% <ø> (?)
prowler-py3.9-lib 84.45% <ø> (?)
prowler-py3.9-m365 89.26% <ø> (?)
prowler-py3.9-mongodbatlas 88.90% <ø> (?)
prowler-py3.9-nhn 89.29% <ø> (?)
prowler-py3.9-oraclecloud 86.54% <ø> (?)

Flags with carried forward coverage won't be shown. Click here to find out more.

Components Coverage Δ
prowler 84.48% <ø> (-8.48%) :arrow_down:
api ∅ <ø> (∅)
:rocket: New features to boost your workflow:
  • :snowflake: Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • :package: JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

codecov[bot] avatar Nov 24 '25 09:11 codecov[bot]

Pushed fixes to the tests. html_test failure was from url changed in cee9a9a75 and other was from newer pydantic complaining about using the json method deprecated since 2.0

branchv avatar Nov 25 '25 06:11 branchv

Thank you @branchvincent !! We'll review it as soon as possible.

jfagoagas avatar Nov 25 '25 07:11 jfagoagas