-
Notifications
You must be signed in to change notification settings - Fork 0
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 #754
Conversation
…wait_for_index in test_create_mapping.py.
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.
Same comment as in Fourfront - need to bump the Docker base image and deploy/test in devtest
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.
My comments are not blocking.
@@ -3,7 +3,7 @@ | |||
import io | |||
import json | |||
import logging | |||
from collections import Mapping | |||
from collections.abc import Mapping |
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.
Bleah. Yeah, this is fine. But we see Python 3.11 makes an incompatible change. Sigh. (They might console themselves that they announced it earlier, but not as a 3.0 change. It only had compatibility support added in 3.4.) Once again we see semantic versioning apparently means nothing in Python. :(
pyproject.toml
Outdated
@@ -33,13 +33,16 @@ classifiers = [ | |||
'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.
This line (about 3.7) should be deleted.
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, deleted.
] | ||
|
||
[tool.poetry.dependencies] | ||
python = ">=3.8.1,<3.10" |
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.
Do we definitely mean 3.8.1 or did you just change the 7 to an 8? Is it not just >=3.8?
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 ...
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 think I recall from a long time ago 3.8.1 has some specific issues with cgap-portal IRC hence the explicit exclusion
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
…csnovault in pyproject.toml, and then update poetry.lock to agree.
Use dcicpyvcf version 3 (C4-1106)
orignally created for smaht-portal since early in development no way to
create an access-key normally using the UI; but generall useful/convenient.