From 957a25b28ff99ce2c40eef56994b2561f9769388 Mon Sep 17 00:00:00 2001 From: Colin Date: Fri, 15 Mar 2024 14:49:10 -0700 Subject: [PATCH] [BUG] Fix connector-x and psycopg dependencies for CI (#2017) Use psycopg-binary as benchmarking runner does not have required libraries installed. Fixed here: https://github.com/Eventual-Inc/daft-benchmarking/actions/runs/8291353023 Use connector-x 0.2.3 on linux on aarch-64. Fixed here: https://github.com/Eventual-Inc/Daft/actions/runs/8291745511 --- requirements-dev.txt | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/requirements-dev.txt b/requirements-dev.txt index 6c7dd0ff6e..843c99955d 100644 --- a/requirements-dev.txt +++ b/requirements-dev.txt @@ -52,10 +52,11 @@ databricks-sdk==0.12.0 #SQL sqlalchemy==2.0.25; python_version >= '3.8' -connectorx==0.3.2; python_version >= '3.8' +connectorx==0.2.3; platform_system == "Linux" and platform_machine == "aarch64" and python_version >= '3.8' +connectorx==0.3.2; (platform_system != "Linux" or platform_machine != "aarch64") and python_version >= '3.8' trino[sqlalchemy]==0.328.0; python_version >= '3.8' PyMySQL==1.1.0; python_version >= '3.8' -psycopg2==2.9.9; python_version >= '3.8' +psycopg2-binary==2.9.9; python_version >= '3.8' # AWS s3fs==2023.1.0; python_version < '3.8'