-
Notifications
You must be signed in to change notification settings - Fork 2
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
Upgrade to Python 3.11 #1852
Upgrade to Python 3.11 #1852
Conversation
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.
You need to bump the Docker Python version by changing the base image, deploy to mastertest and test out particularly the access key change (generate, ensure 4DN specific fields are there etc)
…t failure of test_create_mapping.py::test_run_create_mapping_with_upgrader
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'm making comments but withholding approval pending the ORDER() issue being addressed.
awscli = ">=1.25.36" | ||
boto3 = "^1.26.133" | ||
botocore = "^1.27.36" | ||
python = ">=3.8.1,<3.12" |
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.
3.8.1 or 3.8? See my comments on cgap-portal.
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 didn't change that from master, it used to be: python = ">=3.8.1,<3.10" ... not sure why it would be 3.8.1 ...
(Same comment from cgap-portal ... and Will replied: I think I recall from a long time ago 3.8.1 has some specific issues with cgap-portal IRC hence the explicit exclusion)
pyproject.toml
Outdated
@@ -32,23 +32,26 @@ classifiers = [ | |||
# that you indicate whether you support Python 2, Python 3 or both. | |||
'Programming Language :: Python :: 3', | |||
'Programming Language :: Python :: 3.7', |
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.
Remove 3.7 here.
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.
Oversight, thanks, done.
@@ -122,7 +122,7 @@ def anon_pipeline(): | |||
|
|||
|
|||
def run(pipeline, inpath, outpath): | |||
for item_type in ORDER: | |||
for item_type in ORDER(): |
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've made comments about this change to ORDER on other PRs. I really don't like this change.
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.
Oh shoot, I made that change in snovault, and in smaht-portal, but forgot to propagate to fourfront - will do - thanks.
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.
Made that change - not updated here - see the Files changed tab.
…om snovault which was renamed from ORDER
…t doing it for some reason.
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.
Approving now since integrated testing looks good
No description provided.