[Python] Google Cloud Run keeps giving from metadata despite the metadata being present...

Discussão em 'Python' iniciado por Stack, Julho 9, 2025.

  1. Stack

    Stack Membro Participativo

    I have a pyproject.toml file that looks like this:

    [build]
    builder = "gcr.io/buildpacks/builder:google-22"

    [project]
    name = "schoolProject"
    version = "0.0.1"
    authors = [
    { name="--REDACTED--", email="--REDACTED--"},
    ]
    dependencies = [
    'Flask',
    'flask_apscheduler',
    'numpy',
    'datetime',
    ]
    description = "Sample Description"
    requires-python=">=3.7"


    Unfortunately, I keep getting an error in my build logs: Error Image Link
    Naturally, I though that there was a capitalization error.
    Nope! New error!

    configuration error: `project` must not contain {'Name', 'Version'} properties


    Now, I'm not quite sure what the issue is. I'm pretty sure that the pyproject.toml file is the issue (as the error changes) but I can't for the life of me figure out what to do with it. I've tried looking at documentation, and it seems like nothing is listed.
    Please, from the bottom of my heart, help me.

    Note: the server is Flask and my app runs locally just fine

    Continue reading...

Compartilhe esta Página