Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BugFix: Upgrade from Python 3.7 to 3.8 #1331

Merged
merged 1 commit into from
Sep 8, 2022

Conversation

jawnsy
Copy link
Contributor

@jawnsy jawnsy commented Sep 8, 2022

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

  • Changes to any .js files are covered by existing tests or this PR adds new tests (if not please explain why below)
  • No new packages are added or package size and performance considerations are discussed below
  • PR Title fits our changelog format

Releases/Changelog cuts only

@jawnsy jawnsy marked this pull request as ready for review September 8, 2022 12:43
@jawnsy jawnsy self-assigned this Sep 8, 2022
@zanieb
Copy link
Contributor

zanieb commented Sep 8, 2022

See also: PrefectHQ/prefect#6536; this resolved the same error in v1 documentation builds.

@jawnsy jawnsy changed the title Upgrade from Python 3.7 to 3.8 BugFix: Upgrade from Python 3.7 to 3.8 Sep 8, 2022
@znicholasbrown znicholasbrown merged commit 7e54b2c into master Sep 8, 2022
@znicholasbrown znicholasbrown deleted the jawnsy/update-python38 branch September 8, 2022 14:24
@zhen0 zhen0 mentioned this pull request Sep 14, 2022
4 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants