From 002d67346dbb4366e5ced1adb9324ec9dedb8ade Mon Sep 17 00:00:00 2001 From: colin-rogers-dbt <111200756+colin-rogers-dbt@users.noreply.github.com> Date: Thu, 31 Aug 2023 17:46:11 -0700 Subject: [PATCH] Update dbt-redshift.rb (#360) * Update dbt-redshift.rb * use github instead of pypi for redhsift-connector --- .github/process-python-resources.py | 4 ++-- Formula/dbt-redshift.rb | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/process-python-resources.py b/.github/process-python-resources.py index 658a26a2..4186d928 100755 --- a/.github/process-python-resources.py +++ b/.github/process-python-resources.py @@ -26,8 +26,8 @@ }, "redshift-connector": { "2.0.913": { - "url": "https://files.pythonhosted.org/packages/63/86/fb94423bc8c385fdce1bfe2afe720bf415d9df56e137e4f321e13844c498/redshift_connector-2.0.913-py3-none-any.whl", - "sha256": "bd70395c5b7ec9fcae9565daff6bcb88c7d3ea6182dafba2bac6138f68d00582", + "url": "https://github.com/aws/amazon-redshift-python-driver/archive/refs/tags/v2.0.913.tar.gz", + "sha256": "ec829df92817657ce6ff94f48a1f00a5624031d6f9da0a43e4bf4d5ff7f1f236", }, }, } diff --git a/Formula/dbt-redshift.rb b/Formula/dbt-redshift.rb index 9e712bc5..5a56c6e6 100644 --- a/Formula/dbt-redshift.rb +++ b/Formula/dbt-redshift.rb @@ -222,8 +222,8 @@ class DbtRedshift < Formula end resource "redshift-connector" do # pinned to 2.0.913 - url "https://files.pythonhosted.org/packages/63/86/fb94423bc8c385fdce1bfe2afe720bf415d9df56e137e4f321e13844c498/redshift_connector-2.0.913-py3-none-any.whl" - sha256 "bd70395c5b7ec9fcae9565daff6bcb88c7d3ea6182dafba2bac6138f68d00582" + url "https://github.com/aws/amazon-redshift-python-driver/archive/refs/tags/v2.0.913.tar.gz" + sha256 "ec829df92817657ce6ff94f48a1f00a5624031d6f9da0a43e4bf4d5ff7f1f236" end resource "referencing" do