From c4780699b7a0f2f594c5ec3e267c59809dd11765 Mon Sep 17 00:00:00 2001 From: Kevin Gartland Date: Wed, 23 Oct 2024 09:16:00 -0400 Subject: [PATCH] cleanup --- .github/workflows/contract.yaml | 2 ++ test/setup/connect_setup.py | 3 +-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/contract.yaml b/.github/workflows/contract.yaml index a92a0e572..b9900845b 100644 --- a/.github/workflows/contract.yaml +++ b/.github/workflows/contract.yaml @@ -54,6 +54,8 @@ jobs: - name: python uses: actions/setup-python@v5 with: + # use python 3.12 for bats + # there are some requirements that are not yet compatible with python 3.13 python-version: 3.12 - name: R uses: r-lib/actions/setup-r@v2 diff --git a/test/setup/connect_setup.py b/test/setup/connect_setup.py index 80036fc56..329de5b5e 100644 --- a/test/setup/connect_setup.py +++ b/test/setup/connect_setup.py @@ -5,7 +5,6 @@ import time import logging import os -import sys # use the perftest fuzzbucket instance since it already has all the deps alias = "ubuntu22-publishing-client-2024.10" @@ -33,7 +32,7 @@ def get_current_connect_version(connect_ip, api_key): response = requests.get( 'http://' + connect_ip + ':3939/__api__/server_settings', headers={'Authorization': 'Key ' + api_key}, - ) + ) current_connect = response.json()['version'] return current_connect