From b27d367c4a78fdca4c9835c1de13162efc2579db Mon Sep 17 00:00:00 2001 From: kaloster Date: Mon, 9 Sep 2024 11:35:41 -0400 Subject: [PATCH] fix: mlflow critical upgrade --- .github/workflows/push_tests.yml | 32 ++++++++++++++++---------------- server/requirements-annotate.txt | 2 +- 2 files changed, 17 insertions(+), 17 deletions(-) diff --git a/.github/workflows/push_tests.yml b/.github/workflows/push_tests.yml index 6696bb2e9..5de6038b1 100644 --- a/.github/workflows/push_tests.yml +++ b/.github/workflows/push_tests.yml @@ -14,15 +14,15 @@ jobs: lint: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - run: | git fetch --depth=1 origin +${{github.base_ref}} - - name: Set up Python 3.9 - uses: actions/setup-python@v4 + - name: Set up Python 3.11 + uses: actions/setup-python@v5 with: - python-version: 3.9 + python-version: 3.11 - name: Node cache - uses: actions/cache@v1 + uses: actions/cache@v4 with: path: ~/.npm key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }} @@ -45,22 +45,22 @@ jobs: unit-test: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 - - name: Set up Python 3.9 (pyenv) # pyenv needed for mlflow in cli annotate tests + - uses: actions/checkout@v4 + - name: Set up Python 3.11 (pyenv) # pyenv needed for mlflow in cli annotate tests uses: gabrielfalcao/pyenv-action@v9 with: - default: 3.9 + default: 3.11 command: pip install -U pip # upgrade pip after installing python - run: pip install virtualenv # virtualenv needed for mlflow in cli annotate tests - name: Python cache - uses: actions/cache@v1 + uses: actions/cache@v4 with: path: ~/.cache/pip key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements*.txt') }} restore-keys: | ${{ runner.os }}-pip- - name: Node cache - uses: actions/cache@v1 + uses: actions/cache@v4 with: path: ~/.npm key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }} @@ -78,20 +78,20 @@ jobs: runs-on: macos-latest timeout-minutes: 20 steps: - - uses: actions/checkout@v2 - - name: Set up Python 3.9 - uses: actions/setup-python@v4 + - uses: actions/checkout@v4 + - name: Set up Python 3.11 + uses: actions/setup-python@v5 with: - python-version: 3.9 + python-version: 3.11 - name: Python cache - uses: actions/cache@v1 + uses: actions/cache@v4 with: path: ~/.cache/pip key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements*.txt') }} restore-keys: | ${{ runner.os }}-pip- - name: Node cache - uses: actions/cache@v1 + uses: actions/cache@v4 with: path: ~/.npm key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }} diff --git a/server/requirements-annotate.txt b/server/requirements-annotate.txt index f168ac8dd..99a6e5d46 100644 --- a/server/requirements-annotate.txt +++ b/server/requirements-annotate.txt @@ -1,2 +1,2 @@ -mlflow==1.27.0 +mlflow==2.16.0 scanpy