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

Upgrade to Python 3.11 #1852

Merged
merged 17 commits into from
Oct 10, 2023
Merged

Upgrade to Python 3.11 #1852

merged 17 commits into from
Oct 10, 2023

Conversation

dmichaels-harvard
Copy link
Contributor

No description provided.

Copy link
Member

@willronchetti willronchetti left a 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)

Copy link
Collaborator

@netsettler netsettler left a 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"
Copy link
Collaborator

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.

Copy link
Contributor Author

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',
Copy link
Collaborator

Choose a reason for hiding this comment

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

Remove 3.7 here.

Copy link
Contributor Author

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():
Copy link
Collaborator

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.

Copy link
Contributor Author

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.

Copy link
Contributor Author

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.

Copy link
Member

@willronchetti willronchetti left a 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

@dmichaels-harvard dmichaels-harvard merged commit 5fe67cc into master Oct 10, 2023
3 checks passed
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