Skip to content

ModuleNotFoundError: No module named 'brevo_python.models.configuration' in version 1.1.1 #2

@ToShareOrNotToShare

Description

@ToShareOrNotToShare

Dear brevo team,
Dear all readers,

When redeploying a Google Cloud Function today (July 4, 2024), I encountered a recurring issue with the brevo-python module.

The error occurred three times consecutively (three re-deployments) with the following message:

ModuleNotFoundError: No module named 'brevo_python.models.configuration'

Steps to Reproduce

  1. Deploy a Google Cloud Function that imports the brevo-python module.
  2. Ensure that brevo-python version is unspecified in requirements.txt.
  3. Deploy the function.

Screenshots

Here are more detailed screenshots of the error messages:

brevo-python1 1 1_No module named 'brevo_python models configuration'_1_of_3 brevo-python1 1 1_No module named 'brevo_python models configuration'_2_of_3 brevo-python1 1 1_No module named 'brevo_python models configuration'_3_of_3

"Move" around

After explicitly setting "brevo_python==1.0.0" in the requirements.txt, the error is gone.
Therefore, I assume the error may have something to do with version 1.1.1

Key Questions

  • Has there been any change in version 1.1.1 that could cause this issue?
  • Specifically, changes related to the brevo_python.models.configuration module?

Thank you everyone and have a great week!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions