-
Notifications
You must be signed in to change notification settings - Fork 17
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
Conversation
3103734
to
4e250b6
Compare
62c760d
to
69ed7ea
Compare
043f110
to
9d441be
Compare
@@ -71,7 +70,7 @@ all: build ; | |||
|
|||
# Build everything | |||
.PHONY: build | |||
build: \ | |||
build: tea-dependency-builder \ |
There was a problem hiding this comment.
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
.
There was a problem hiding this comment.
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
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
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.
c3466d1
to
6f7b500
Compare
6f7b500
to
28bbd61
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good
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
, andrelease
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).