PrefectHQ / legacy-ui

The home of the Prefect 1 UI
https://cloud.prefect.io
Other
179 stars 42 forks source link

BugFix: Upgrade from Python 3.7 to 3.8 #1331

Closed jawnsy closed 2 years ago

jawnsy commented 2 years ago

Description

<! -- What is it meant to do? -->

We have a build error when running with 3.7, which may be due to a change on the Netlify side:

10:44:49 PM: Starting build script
10:44:49 PM: Installing dependencies
10:44:49 PM: /opt/build-bin/run-build-functions.sh: line 223: /opt/buildhome/python3.7/bin/activate: No such file or directory
10:44:49 PM: Error setting python version from runtime.txt
10:44:49 PM: Please see https://github.com/netlify/build-image/blob/focal/included_software.md for current versions

Since Python is likely only used during the build, upgrading is probably safe, though someone else should confirm. In Cloud 1, all of our static artifacts are served out of an Google Cloud Storage bucket and are static content only.

Linked Issues

<! -- Use a key word (e.g. closes or resolves) to close related issues -->

Tests and performance

zanieb commented 2 years ago

See also: https://github.com/PrefectHQ/prefect/pull/6536; this resolved the same error in v1 documentation builds.