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

PR-6096: Upgrade to Python 3.10 #842

Merged
merged 1 commit into from
Sep 20, 2024
Merged

PR-6096: Upgrade to Python 3.10 #842

merged 1 commit into from
Sep 20, 2024

Conversation

gjclark
Copy link
Contributor

@gjclark gjclark commented Sep 11, 2024

I've made the decision to go with Python 3.10. Python 3.10 works out of the box and 3.11+ had issues with chalice that were not extremely clear on how to fix.

In lint, test, and release yml files I had to use python version 3.10.15 (latest ATM). Setting to 3.10 causes an error that other people are experiencing. Same error can be found here: actions/setup-python#401 (comment).

@gjclark gjclark changed the title feat: Use python3.9 PR-6096: Upgrade Past Python 3.8 Sep 11, 2024
@gjclark gjclark marked this pull request as ready for review September 17, 2024 22:27
.github/workflows/deploy-docs-website.yml Outdated Show resolved Hide resolved
@@ -71,7 +70,7 @@ all: build ;

# Build everything
.PHONY: build
build: \
build: tea-dependency-builder \
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think this is desired, this will rebuild the docker image every time you run make build.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

BTW the GNU make documentation is pretty good:
https://www.gnu.org/software/make/manual/html_node/Phony-Targets.html

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If there is nothing new with the dockerfile, it takes half a second to run that portion. I don't see an issue with that.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Since we removed the line DOCKER_LAMBDA_CI = $(DOCKER_COMMAND) lambci/lambda:build-python3.8, and instead are using our own docker image, we need to build the docker image before we can run make build.

cloudformation/thin-egress-app.yaml.j2 Outdated Show resolved Hide resolved
@gjclark gjclark requested a review from reweeden September 19, 2024 19:18
@gjclark gjclark changed the title PR-6096: Upgrade Past Python 3.8 PR-6096: Upgrade to Python 3.10 Sep 20, 2024
Copy link
Contributor

@mattp0 mattp0 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good

@gjclark gjclark merged commit 027b0c8 into devel Sep 20, 2024
9 checks passed
@gjclark gjclark deleted the gjc/upgrade/python branch September 20, 2024 18:09
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.

4 participants