From 870eab8ddff10d664a03a0a16c529425ae7e92a8 Mon Sep 17 00:00:00 2001 From: "Zhou (Joe) Yuan" Date: Mon, 12 Apr 2021 14:02:14 -0400 Subject: [PATCH 1/3] Bump version to 2.0.2 --- VERSION | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/VERSION b/VERSION index 38f77a6..e9307ca 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -2.0.1 +2.0.2 From bfcd9dc643eeaba52bc8a6f13dee83ba237e5471 Mon Sep 17 00:00:00 2001 From: "Zhou (Joe) Yuan" Date: Tue, 18 Jan 2022 23:59:51 -0500 Subject: [PATCH 2/3] Update app.cfg.example --- src/instance/app.cfg.example | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/instance/app.cfg.example b/src/instance/app.cfg.example index 35afa41..909462b 100644 --- a/src/instance/app.cfg.example +++ b/src/instance/app.cfg.example @@ -9,7 +9,8 @@ DB_NAME = 'hm_uuid' DB_USERNAME = 'root' DB_PASSWORD = '123' -API_TYPE = 'SENNET' +# 'HUBMAP' or 'SENNET' +API_TYPE = 'HUBMAP' BASE_DIR_TYPES = ['DATA_UPLOAD', 'INGEST_PORTAL_UPLOAD'] ID_ENTITY_TYPES = ['ACTIVITY', 'SAMPLE', 'SOURCE', 'DATASET', 'COLLECTION', 'UPLOAD', 'REFERENCE', 'AVR'] @@ -17,4 +18,4 @@ ANCESTOR_REQUIRED_ENTITY_TYPES = ['SAMPLE', 'SOURCE', 'DATASET', 'FILE', 'UPLOAD MULTIPLE_ALLOWED_ORGANS = ['LY', 'SK', 'BD', 'BM'] # Only for HubMap, not SenNet -SUBMISSION_ID_ENTITY_TYPES = ['SAMPLE', 'DONOR']s \ No newline at end of file +SUBMISSION_ID_ENTITY_TYPES = ['SAMPLE', 'DONOR'] From 5043313282d8610dc639c09a30ed1febec1ac30b Mon Sep 17 00:00:00 2001 From: Derek Furst <85903206+DerekFurstPitt@users.noreply.github.com> Date: Tue, 26 Nov 2024 13:38:57 -0500 Subject: [PATCH 3/3] Create python-app.yml added CI workflow to verify that dependencies work with desired python version (3.9) on all push/pulls to dev-integrate and main --- .github/workflows/python-app.yml | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 .github/workflows/python-app.yml diff --git a/.github/workflows/python-app.yml b/.github/workflows/python-app.yml new file mode 100644 index 0000000..c9e91bb --- /dev/null +++ b/.github/workflows/python-app.yml @@ -0,0 +1,26 @@ +# This workflow will install Python dependencies, run tests and lint with a single version of Python +# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-python + +name: Python application +on: + push: + branches: [ "main", "dev-integrate" ] + pull_request: + branches: [ "main", "dev-integrate" ] +permissions: + contents: read +jobs: + build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - name: Set up Python 3.9 + uses: actions/setup-python@v3 + with: + python-version: "3.9" + - name: Upgrade Pip + run: python -m pip install --upgrade pip + working-directory: src + - name: Install Dependencies + run: pip install -r requirements.txt + working-directory: src