From 8b7f3135e7214455d41c0271adf82e6e5d7fa8cb Mon Sep 17 00:00:00 2001 From: Evan Morris Date: Tue, 23 May 2023 12:19:12 -0400 Subject: [PATCH 1/5] pinning typing-extensions to a version that should currently work with bmt and python 3.9 --- requirements.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/requirements.txt b/requirements.txt index cf4c306..103ff68 100644 --- a/requirements.txt +++ b/requirements.txt @@ -15,3 +15,5 @@ httpx==0.24.1 httpcore==0.17.1 fastapi==0.95.2 uvicorn==0.22.0 +typing-extensions==4.5.0 + From f114033e69bdd3a2d4b3f8aea93de6efef1a6e8a Mon Sep 17 00:00:00 2001 From: Evan Morris Date: Tue, 23 May 2023 12:24:34 -0400 Subject: [PATCH 2/5] testing if testing passes with multiple python versions --- .github/workflows/tester.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/tester.yml b/.github/workflows/tester.yml index 17bd43f..c2f5719 100644 --- a/.github/workflows/tester.yml +++ b/.github/workflows/tester.yml @@ -13,7 +13,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - python-version: [3.11.3] + python-version: ["3.9.10", "3.11.3"] steps: - name: Checkout the repository uses: actions/checkout@v2 From aa31a00c2f1a82e4756bf3e127f9f3ef55b9e101 Mon Sep 17 00:00:00 2001 From: Evan Morris Date: Tue, 23 May 2023 12:35:14 -0400 Subject: [PATCH 3/5] trying to update actions tests --- .github/workflows/tester.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/tester.yml b/.github/workflows/tester.yml index c2f5719..eb68f23 100644 --- a/.github/workflows/tester.yml +++ b/.github/workflows/tester.yml @@ -16,13 +16,13 @@ jobs: python-version: ["3.9.10", "3.11.3"] steps: - name: Checkout the repository - uses: actions/checkout@v2 + uses: actions/checkout@v3 - name: Create environment variables run: | echo "PYTHONPATH=$PWD" >> $GITHUB_ENV - name: Set up Python ${{ matrix.python-version }} - uses: actions/setup-python@v2 + uses: actions/setup-python@v4 with: python-version: ${{ matrix.python-version }} From 58f4a676cd970537b6250db49f65cea29208cec7 Mon Sep 17 00:00:00 2001 From: Evan Morris Date: Tue, 23 May 2023 12:49:16 -0400 Subject: [PATCH 4/5] making default version 3.1.2, adding 3.1.1 to the skip versions list because it breaks --- bl_lookup/bl.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bl_lookup/bl.py b/bl_lookup/bl.py index 9ec58be..76c8986 100644 --- a/bl_lookup/bl.py +++ b/bl_lookup/bl.py @@ -8,12 +8,12 @@ import yaml # set the default version for the UI and web service calls -default_version = os.environ.get('DEFAULT_VERSION', "v3.1.1") +default_version = os.environ.get('DEFAULT_VERSION', "v3.1.2") # do not load these versions # the 3.0.0-v3.1.0 don't have the predicates-mapping.yaml needed to do predicate resolution skip_versions = ['v1.0.0', 'v1.1.0', 'v1.1.1', 'v1.2.0', 'v1.3.0', 'v2.4.2-alpha-qualifiers', 'deprecated-predicates', - 'v3.0.0', 'v3.0.1', 'v3.0.2', 'v3.0.3', 'v3.1.0'] + 'v3.0.0', 'v3.0.1', 'v3.0.2', 'v3.0.3', 'v3.1.0', 'v3.1.1'] def get_latest_bl_model_release_url() -> str: From f2f5c622a05ad2cf383fe35ac050e203c61200a4 Mon Sep 17 00:00:00 2001 From: Evan Morris Date: Tue, 23 May 2023 12:53:05 -0400 Subject: [PATCH 5/5] bumping python version to one that is supported by the latest ubuntu actions runner --- .github/workflows/tester.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/tester.yml b/.github/workflows/tester.yml index eb68f23..ae9fb55 100644 --- a/.github/workflows/tester.yml +++ b/.github/workflows/tester.yml @@ -13,7 +13,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - python-version: ["3.9.10", "3.11.3"] + python-version: ["3.9.12", "3.11.3"] steps: - name: Checkout the repository uses: actions/checkout@v3