Skip to content

Commit 8e90cad

Browse files
authored
Merge pull request #258203 from Homebrew/snowflake-cli-bump
snowflake-cli 3.14.0
2 parents 8973d34 + 04355ee commit 8e90cad

File tree

1 file changed

+26
-35
lines changed

1 file changed

+26
-35
lines changed

Formula/s/snowflake-cli.rb

Lines changed: 26 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -3,18 +3,18 @@ class SnowflakeCli < Formula
33

44
desc "CLI for snowflake"
55
homepage "https://docs.snowflake.com/developer-guide/snowflake-cli/index"
6-
url "https://files.pythonhosted.org/packages/3d/4e/5212fe6c326cc9199284116e5958d5d4c7148c99e40b480f2fda2d73f6ca/snowflake_cli-3.13.1.tar.gz"
7-
sha256 "a671d72758cf5445aad2cf33097a1c338a3aed67fc4c46c6c60123a9a83bd383"
6+
url "https://files.pythonhosted.org/packages/df/79/30b7d1c12f50888252103dffbcc36901dae4cbdc0bcddcc8d2d0a00d3d34/snowflake_cli-3.14.0.tar.gz"
7+
sha256 "126ae3158354b512202bba9dffbcaf32a21e0f442206bbe3f6801ef84d811491"
88
license "Apache-2.0"
99
head "https://github.com/snowflakedb/snowflake-cli.git", branch: "main"
1010

1111
bottle do
12-
sha256 cellar: :any, arm64_tahoe: "660eabb8636192ab8a2b3000085be7946204bc7c7a33ea90a3865358f3046150"
13-
sha256 cellar: :any, arm64_sequoia: "f78def27d7b74b6e102b518e97dedc9ecd440d7dc101457911a1869df86de2a4"
14-
sha256 cellar: :any, arm64_sonoma: "5a66c1267cd397549c86b17e31da2dd9d95a784e93067c665106e55016a15cc7"
15-
sha256 cellar: :any, sonoma: "8530124a6dc5da8653ea08f56daaa162b946ca0a0a2a5b5366e0e95895454b4d"
16-
sha256 cellar: :any_skip_relocation, arm64_linux: "9673251841a5feaacd65289ea16d6266f021866a70a945b85c3b858ed2bdc9d3"
17-
sha256 cellar: :any_skip_relocation, x86_64_linux: "a2d0822bbb5a6f0bcb7f7208db483d3f595007a9f51464fd9a8d15b5c30fe36a"
12+
sha256 cellar: :any, arm64_tahoe: "5367b6b5f8e39e46c1914505e60f205cf253b82ea43bbb5a7ed4321aefed0a17"
13+
sha256 cellar: :any, arm64_sequoia: "a3572826c2e70fab3446d19d75d6b3273bd1fa45877399828232d17c6d53730f"
14+
sha256 cellar: :any, arm64_sonoma: "8df0964d0e69016ea6bdac7f907e21c3c0fddfe648eaa8eeae060fec2c944db8"
15+
sha256 cellar: :any, sonoma: "4ef00bafbc33db5fde193a5b25a3c6c398ddd0e3780abf6da3fe00eac2689ea1"
16+
sha256 cellar: :any_skip_relocation, arm64_linux: "ee2e88e5b4585e0d82563637e40038d6e6cba809f8837c15ee9622dd0dc5b2a5"
17+
sha256 cellar: :any_skip_relocation, x86_64_linux: "4b0b745d306846eda5ad7dc1b34995be93cd175be4d70e929220664ddc0f2586"
1818
end
1919

2020
depends_on "certifi" => :no_linkage
@@ -25,22 +25,28 @@ class SnowflakeCli < Formula
2525

2626
conflicts_with "snow", because: "both install `snow` binaries"
2727

28-
pypi_packages exclude_packages: %w[certifi cryptography pydantic],
29-
extra_packages: "snowflake-core"
28+
# Remove `snowflake-snowpark-python` and related dependencies for now,
29+
# some of their dependencies doesn't have sdist and cause build failure
30+
# https://github.com/snowflakedb/snowflake-cli/commit/602760651e746de475318e5da954dd75c268f312
31+
pypi_packages exclude_packages: %w[certifi cryptography pydantic snowflake-snowpark-python],
32+
extra_packages: %w[asn1crypto boto3 botocore charset-normalizer filelock idna jeepney
33+
jmespath packaging platformdirs pyjwt pyopenssl python-dateutil
34+
pytz pyyaml requests s3transfer secretstorage setuptools six
35+
snowflake-connector-python sortedcontainers tomlkit urllib3]
3036

3137
resource "asn1crypto" do
3238
url "https://files.pythonhosted.org/packages/de/cf/d547feed25b5244fcb9392e288ff9fdc3280b10260362fc45d37a798a6ee/asn1crypto-1.5.1.tar.gz"
3339
sha256 "13ae38502be632115abf8a24cbe5f4da52e3b5231990aff31123c805306ccb9c"
3440
end
3541

3642
resource "boto3" do
37-
url "https://files.pythonhosted.org/packages/f0/9b/eef5346ce3148bf4856318fe629e0fd7f6dd73ffd55ea08e316c967f8af0/boto3-1.42.0.tar.gz"
38-
sha256 "9c67729a6112b7dced521ea70b0369fba138e89852b029a7876041cd1460c084"
43+
url "https://files.pythonhosted.org/packages/8c/07/dfa651dbd57bfc34d952a101280928bab08ed6186f009c660a36c211ccff/boto3-1.42.9.tar.gz"
44+
sha256 "cdd4cc3e5bb08ed8a0c5cc77eca78f98f0239521de0991f14e44b788b0c639b2"
3945
end
4046

4147
resource "botocore" do
42-
url "https://files.pythonhosted.org/packages/03/04/8e8ca38631eeb499a1099dcc2a081faaea399f9d46080720540ff54ec609/botocore-1.41.6.tar.gz"
43-
sha256 "08fe47e9b306f4436f5eaf6a02cb6d55c7745d13d2d093ce5d917d3ef3d3df75"
48+
url "https://files.pythonhosted.org/packages/fd/f3/2d2cfb500e2dc00b0e33e3c8743306e6330f3cf219d19e9260dab2f3d6c2/botocore-1.42.9.tar.gz"
49+
sha256 "74f69bfd116cc7c8215481284957eecdb48580e071dd50cb8c64356a866abd8c"
4450
end
4551

4652
resource "charset-normalizer" do
@@ -94,10 +100,8 @@ class SnowflakeCli < Formula
94100
end
95101

96102
resource "jeepney" do
97-
on_linux do
98-
url "https://files.pythonhosted.org/packages/7b/6f/357efd7602486741aa73ffc0617fb310a29b588ed0fd69c2399acbb85b0c/jeepney-0.9.0.tar.gz"
99-
sha256 "cf0e9e845622b81e4a28df94c40345400256ec608d0e55bb8a3feaa9163f5732"
100-
end
103+
url "https://files.pythonhosted.org/packages/7b/6f/357efd7602486741aa73ffc0617fb310a29b588ed0fd69c2399acbb85b0c/jeepney-0.9.0.tar.gz"
104+
sha256 "cf0e9e845622b81e4a28df94c40345400256ec608d0e55bb8a3feaa9163f5732"
101105
end
102106

103107
resource "jinja2" do
@@ -141,8 +145,8 @@ class SnowflakeCli < Formula
141145
end
142146

143147
resource "platformdirs" do
144-
url "https://files.pythonhosted.org/packages/61/33/9611380c2bdb1225fdef633e2a9610622310fed35ab11dac9620972ee088/platformdirs-4.5.0.tar.gz"
145-
sha256 "70ddccdd7c99fc5942e9fc25636a8b34d04c24b335100223152c2803e4063312"
148+
url "https://files.pythonhosted.org/packages/cf/86/0248f086a84f01b37aaec0fa567b397df1a119f73c16f6c7a9aac73ea309/platformdirs-4.5.1.tar.gz"
149+
sha256 "61d5cdcc6065745cdd94f0f878977f8de9437be93de97c1c12f853c9c0cdcbda"
146150
end
147151

148152
resource "pluggy" do
@@ -265,22 +269,9 @@ class SnowflakeCli < Formula
265269
sha256 "4d478375d31bc5395a3c55c40ccdf3354688364cd61c4f6adacaa9215d0b3605"
266270
end
267271

268-
resource "jeepney" do
269-
on_linux do
270-
url "https://files.pythonhosted.org/packages/7b/6f/357efd7602486741aa73ffc0617fb310a29b588ed0fd69c2399acbb85b0c/jeepney-0.9.0.tar.gz"
271-
sha256 "cf0e9e845622b81e4a28df94c40345400256ec608d0e55bb8a3feaa9163f5732"
272-
end
273-
end
274-
275-
resource "secretstorage" do
276-
on_linux do
277-
url "https://files.pythonhosted.org/packages/31/9f/11ef35cf1027c1339552ea7bfe6aaa74a8516d8b5caf6e7d338daf54fd80/secretstorage-3.4.0.tar.gz"
278-
sha256 "c46e216d6815aff8a8a18706a2fbfd8d53fcbb0dce99301881687a1b0289ef7c"
279-
end
280-
end
281-
282272
def install
283-
virtualenv_install_with_resources
273+
without = %w[jeepney secretstorage] unless OS.linux?
274+
virtualenv_install_with_resources(without:)
284275
# `shellingham` auto-detection doesn't work in Homebrew CI build environment so
285276
# disable it to allow `typer` to use argument as shell for completions
286277
# Ref: https://typer.tiangolo.com/features/#user-friendly-cli-apps

0 commit comments

Comments
 (0)