Skip to content

Commit ba54544

Browse files
committed
chore: support python 3.13
1 parent de5aba6 commit ba54544

File tree

6 files changed

+162
-128
lines changed

6 files changed

+162
-128
lines changed

.github/workflows/sdk-code-quality.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ jobs:
2828
- '3.10'
2929
- '3.11'
3030
- '3.12'
31+
- '3.13'
3132

3233
steps:
3334
- name: Checkout repository

.github/workflows/sdk-tests.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ jobs:
2828
- '3.10'
2929
- '3.11'
3030
- '3.12'
31+
- '3.13'
3132

3233
steps:
3334
- name: Checkout repository

poetry.lock

Lines changed: 156 additions & 124 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

prowler/lib/outputs/ocsf/ocsf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -201,7 +201,7 @@ def batch_write_data_to_file(self) -> None:
201201
for finding in self._data:
202202
try:
203203
self._file_descriptor.write(
204-
finding.json(exclude_none=True, indent=4)
204+
finding.model_dump_json(exclude_none=True, indent=4)
205205
)
206206
self._file_descriptor.write(",")
207207
except Exception as error:

pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ dependencies = [
5757
"msgraph-sdk==1.23.0",
5858
"numpy==2.0.2",
5959
"pandas==2.2.3",
60-
"py-ocsf-models==0.5.0",
60+
"py-ocsf-models==0.8.0",
6161
"pydantic (>=2.0,<3.0)",
6262
"pygithub==2.5.0",
6363
"python-dateutil (>=2.9.0.post0,<3.0.0)",
@@ -76,7 +76,7 @@ license = "Apache-2.0"
7676
maintainers = [{name = "Prowler Engineering", email = "[email protected]"}]
7777
name = "prowler"
7878
readme = "README.md"
79-
requires-python = ">3.9.1,<3.13"
79+
requires-python = ">3.9.1,<3.14"
8080
version = "5.14.0"
8181

8282
[project.scripts]

tests/lib/outputs/html/html_test.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -398,7 +398,7 @@ def get_aws_html_header(args: list) -> str:
398398
<div class="row mt-3">
399399
<div class="col-md-4">
400400
<a href="https://github.com/prowler-cloud/prowler/"><img class="float-left card-img-left mt-4 mr-4 ml-4"
401-
src=https://prowler.com/wp-content/uploads/logo-html.png
401+
src=https://raw.githubusercontent.com/prowler-cloud/prowler/dc7d2d5aeb92fdf12e8604f42ef6472cd3e8e889/docs/img/prowler-logo-black.png
402402
alt="prowler-logo"
403403
style="width: 15rem; height:auto;"/></a>
404404
<div class="card">

0 commit comments

Comments
 (0)