Skip to content

The easy-to-use open source Business Intelligence and Embedded Analytics tool that lets everyone work with data :bar_chart:

Bump bb pgsql pod to 0.1.6 to remove Rosetta requirement (#78200)

Chris Trutere3a24b8db99c
diff --git a/bb.edn b/bb.edn
index 6d622d9e3a6..06cb9a4f74a 100644
--- a/bb.edn
+++ b/bb.edn
@@ -13,7 +13,7 @@
org.babashka/json {:mvn/version "0.1.6"} ;; json parsing
table/table {:mvn/version "0.5.0"} ;; table printing
}
- :pods {org.babashka/postgresql {:version "0.1.0"}}
+ ;; No :pods key on purpose: tasks lazily load only what they need.
:tasks
{:requires [[mage.cli :as cli]
[mage.color :as c]]
diff --git a/mage/src/mage/bot/setup_worktree.clj b/mage/src/mage/bot/setup_worktree.clj
index 24b5e55fab5..93b90cd5079 100644
--- a/mage/src/mage/bot/setup_worktree.clj
+++ b/mage/src/mage/bot/setup_worktree.clj
@@ -7,7 +7,9 @@
[mage.color :as c]
[mage.shell :as shell]))
-(pods/load-pod 'org.babashka/postgresql "0.1.0")
+;; 0.1.0-0.1.4 ship an x86_64 Mac build, 0.1.5+ ship arm64, and no release ships both.
+;; Pinning 0.1.6 is a deliberate choice to support Apple Silicon and drop Intel Macs.
+(pods/load-pod 'org.babashka/postgresql "0.1.6")
(require '[pod.babashka.postgresql :as pg])
(set! *warn-on-reflection* true)