Unable to generate pydantic-core schema #5518
Labels
bug
dependencies
Dependabot Updates
pip
Dependabot Updates Python
severity/low
Bug won't result in any noticeable breakdown of the execution.
Steps to Reproduce
i have system with installed fastapi which uses pydantic version == 2.9.2
which conflicts with the pydantic version ==1.10.18 which is used by prowler
which gets me the error as
pydantic.errors.PydanticSchemaGenerationError: Unable to generate pydantic-core schema for <class 'prowler.lib.check.compliance_models.CIS_Requirement_Attribute_Profile'>. Set
arbitrary_types_allowed=True
in the model_config to ignore this error or implement__get_pydantic_core_schema__
on your type to fully support it.Expected behavior
prowler should use latest version of pydantic in order for the code to work
Actual Result with Screenshots or Logs
How did you install Prowler?
From pip package (pip install prowler)
Environment Resource
docker containers
OS used
ubuntu
Prowler version
Prowler 4.2.1
Pip version
pip 23.0.1
Context
No response
The text was updated successfully, but these errors were encountered: