Flask app built successfully but failed to deploy

You need to read those logs more closely:

ERROR: Could not find a version that satisfies the requirement contourpy==1.0.7

Looking at the “contourpy” package on Pypi, it requires Python >=3.8.

Back to the deploy logs above:

==> Using Python version: 3.7.10

Specify your Python version to match the one you developed on.

Alan