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

TEMPORARY FOR DEBUGGING GA FAILURE 2023-09-27 #755

Closed
Closed
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
matrix:
test_type: ['UNIT', 'INDEX', 'DOCKER']
# We are really not set up for these next two to be multiplicative, so be careful adding more.
python_version: ['3.8']
python_version: ['3.8', '3.11']
node_version: ['18']

# Steps represent a sequence of tasks that will be executed as part of the job
Expand Down
13 changes: 13 additions & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,19 @@ cgap-portal
Change Log
----------

15.0.0
======
* Upgrade to Python 3.11.
* Changed pyyaml version to ^6.0.1.
* Updated boto versions.
* Removed types/access_key.py and schemas/access_key.json as the ones in snovault are sufficient.
* Added generate-local-access-key script (from snovault) to pyproject.toml;
orignally created for smaht-portal since early in development no way to
create an access-key normally using the UI; but generall useful/convenient.
* Added generate-local-access-key script (defined in snovault).
* Added view-local-object script (defined in snovault).


14.3.1
======
`PR 753: Auth0 Symlink Bugfix <https://github.com/dbmi-bgm/cgap-portal/pull/753>`_
Expand Down
992 changes: 447 additions & 545 deletions poetry.lock

Large diffs are not rendered by default.

26 changes: 15 additions & 11 deletions pyproject.toml
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"
Expand Down Expand Up @@ -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"
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"
Expand All @@ -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"
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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"
Expand Down Expand Up @@ -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"
Expand All @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion src/encoded/ingestion/table_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
import io
import json
import logging
from collections import Mapping
from collections.abc import Mapping
from ..util import resolve_file_path

logger = logging.getLogger(__name__)
Expand Down
69 changes: 0 additions & 69 deletions src/encoded/schemas/access_key.json

This file was deleted.

2 changes: 1 addition & 1 deletion src/encoded/tests/test_schemas.py
Original file line number Diff line number Diff line change
Expand Up @@ -249,7 +249,7 @@ def test_linkTo_saves_uuid(root, bgm_user, institution):


def test_mixinProperties():
schema = load_schema('encoded:schemas/access_key.json')
schema = load_schema('snovault:schemas/access_key.json')
assert schema['properties']['uuid']['type'] == 'string'


Expand Down
161 changes: 0 additions & 161 deletions src/encoded/types/access_key.py

This file was deleted.

Loading