From 36df42cf645aae73dd29715a3acd92f72f3295db Mon Sep 17 00:00:00 2001 From: Prowler Bot Date: Tue, 15 Apr 2025 19:21:56 +0200 Subject: [PATCH] fix(pypi): package name location in pyproject.toml while replicating for prowler-cloud (#7534) Co-authored-by: Pepe Fagoaga Co-authored-by: Sergio Garcia --- prowler/CHANGELOG.md | 5 +++++ util/replicate_pypi_package.py | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/prowler/CHANGELOG.md b/prowler/CHANGELOG.md index 83df480cd4..50f99ac5db 100644 --- a/prowler/CHANGELOG.md +++ b/prowler/CHANGELOG.md @@ -9,6 +9,11 @@ All notable changes to the **Prowler SDK** are documented in this file. - Add SOC2 compliance framework to Azure [(#7489)](https://github.com/prowler-cloud/prowler/pull/7489). - Add check for unused Service Accounts in GCP [(#7419)](https://github.com/prowler-cloud/prowler/pull/7419). +### Fixed + +- Fix package name location in pyproject.toml while replicating for prowler-cloud [(#7531)](https://github.com/prowler-cloud/prowler/pull/7531). +- Remove cache in PyPI release action [(#7532)](https://github.com/prowler-cloud/prowler/pull/7532). + --- ## [v5.5.1] (Prowler v5.5.1) diff --git a/util/replicate_pypi_package.py b/util/replicate_pypi_package.py index f1bb552f3a..3abbdcd751 100644 --- a/util/replicate_pypi_package.py +++ b/util/replicate_pypi_package.py @@ -2,7 +2,7 @@ import toml data = toml.load("pyproject.toml") # Modify field -data["tool"]["poetry"]["name"] = "prowler-cloud" +data["project"]["name"] = "prowler-cloud" # To use the dump function, you need to open the file in 'write' mode f = open("pyproject.toml", "w")