-
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
Changes from 15 commits
ec081f6
f215817
0f5dc2e
7dbf212
e5f396d
9f26298
27f5a78
74db13e
a2ffd0f
22db0bc
4024635
393bd25
3f2b191
1458193
c1320f4
0236869
8d1e9e2
35f6670
123251a
973b70d
0467c8b
5931f51
6c4cd78
3580110
0944ee6
ccea5c0
af58b4b
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Large diffs are not rendered by default.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
[tool.poetry] | ||
# Note: Various modules refer to this system as "encoded", not "cgap-portal". | ||
name = "encoded" | ||
version = "14.3.1" | ||
version = "14.3.1.1b2" # TODO: To become 15.0.0 | ||
description = "Computational Genome Analysis Platform" | ||
authors = ["4DN-DCIC Team <[email protected]>"] | ||
license = "MIT" | ||
|
@@ -33,13 +33,16 @@ classifiers = [ | |
'Programming Language :: Python :: 3', | ||
'Programming Language :: Python :: 3.7', | ||
'Programming Language :: Python :: 3.8', | ||
'Programming Language :: Python :: 3.9', | ||
'Programming Language :: Python :: 3.10', | ||
'Programming Language :: Python :: 3.11', | ||
] | ||
|
||
[tool.poetry.dependencies] | ||
python = ">=3.8.1,<3.10" | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe 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 commentThe reason will be displayed to describe this comment to others. Learn more. I didn't change that from master, it used to be: There was a problem hiding this comment. Choose a reason for hiding this commentThe 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 |
||
awscli = ">=1.27.79" | ||
boto3 = "^1.26.133" | ||
botocore = "^1.29.79" | ||
python = ">=3.8.1,<3.12" | ||
awscli = ">=1.29.54" | ||
boto3 = "^1.28.54" | ||
botocore = "^1.31.54" | ||
certifi = ">=2021.5.30" | ||
chardet = "3.0.4" | ||
codeguru-profiler-agent = "^1.2.4" | ||
|
@@ -49,8 +52,8 @@ codeguru-profiler-agent = "^1.2.4" | |
cryptography = "39.0.2" | ||
colorama = "0.3.3" | ||
dcicpyvcf = "1.0.0.1b0" # "^1.0.0" | ||
dcicsnovault = "^10.0.2" | ||
dcicutils = "^7.7.0" | ||
dcicsnovault = "10.0.4.1b18" | ||
dcicutils = "7.12.0.2b6" | ||
elasticsearch = "7.13.4" | ||
execnet = "1.4.1" | ||
future = ">=0.18.2,<1" | ||
|
@@ -88,7 +91,7 @@ python-dateutil = "^2.8.2" | |
# python-magic is presently pinned to 0.4.15 in lockstep with dcicsnovault's requirements. See explanation there. | ||
python_magic = ">=0.4.24,<1" | ||
pytz = ">=2021.3" | ||
PyYAML = "5.3.1" | ||
PyYAML = "^6.0.1" | ||
rdflib = "^4.2.2" | ||
rdflib-jsonld = ">=0.5.0,<1.0.0" | ||
# repoze.debug is needed to use pyramid.pserve - Will Feb 17 2022 | ||
|
@@ -122,12 +125,11 @@ WSGIProxy2 = "0.4.2" | |
"zope.deprecation" = "^4.4.0" | ||
"zope.interface" = ">=4.7.2,<6" | ||
"zope.sqlalchemy" = "1.6" | ||
pyyaml = "5.3.1" | ||
|
||
[tool.poetry.dev-dependencies] | ||
# PyCharm says boto3-stubs contains useful type hints | ||
boto3-stubs = "^1.26.79" | ||
botocore-stubs = "^1.29.79" | ||
boto3-stubs = "^1.28.54" | ||
botocore-stubs = "^1.31.54" | ||
coverage = ">=6.2" | ||
codacy-coverage = ">=1.3.11" | ||
coveralls = ">=3.3.1" | ||
|
@@ -179,6 +181,7 @@ dis2pheno = "encoded.commands.parse_hpoa:main" | |
es-index-data = "snovault.commands.es_index_data:main" | ||
export-data = "encoded.commands.export_data:main" | ||
extract-test-data = "encoded.commands.extract_test_data:main" | ||
generate-local-access-key = "snovault.commands.generate_local_access_key:main" | ||
import-data = "encoded.commands.import_data:main" | ||
jsonld-rdf = "encoded.commands.jsonld_rdf:main" | ||
load-access-keys = "encoded.commands.load_access_keys:main" | ||
|
@@ -203,6 +206,7 @@ submission-test = "encoded.commands.submission_test:main" | |
# submit-metadata-bundle = "encoded.commands.submit_metadata_bundle:main" | ||
update-inserts-from-server = "encoded.commands.update_inserts_from_server:main" | ||
verify-item = "encoded.commands.verify_item:main" | ||
view-local-object= "snovault.commands.view_local_object:main" | ||
# cgap-specific commands | ||
clear-variants-and-genes = "encoded.commands.clear_variants_and_genes:main" | ||
gene-table-intake = "encoded.commands.gene_table_intake:main" | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 commentThe 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. :( |
||
from ..util import resolve_file_path | ||
|
||
logger = logging.getLogger(__name__) | ||
|
This file was deleted.
This file was 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.
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.