Skip to content

Commit

Permalink
Merge pull request #181627 from Homebrew/bump-numpy-2.1.0
Browse files Browse the repository at this point in the history
numpy 2.1.0
  • Loading branch information
BrewTestBot authored Aug 24, 2024
2 parents 8d171d7 + 677b0ea commit 4e020c5
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 28 deletions.
File renamed without changes.
18 changes: 9 additions & 9 deletions Formula/n/numpy.rb
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
class Numpy < Formula
desc "Package for scientific computing with Python"
homepage "https://www.numpy.org/"
url "https://files.pythonhosted.org/packages/1c/8a/0db635b225d2aa2984e405dc14bd2b0c324a0c312ea1bc9d283f2b83b038/numpy-2.0.1.tar.gz"
sha256 "485b87235796410c3519a699cfe1faab097e509e90ebb05dcd098db2ae87e7b3"
url "https://files.pythonhosted.org/packages/54/a4/f8188c4f3e07f7737683588210c073478abcb542048cf4ab6fedad0b458a/numpy-2.1.0.tar.gz"
sha256 "7dc90da0081f7e1da49ec4e398ede6a8e9cc4f5ebe5f9e06b443ed889ee9aaa2"
license "BSD-3-Clause"
head "https://github.com/numpy/numpy.git", branch: "main"

bottle do
sha256 cellar: :any, arm64_sonoma: "a2979a8604af74e0c82a8c71078afcd5100ccb50337dbaf4721c64b99c24276a"
sha256 cellar: :any, arm64_ventura: "152a821f3be4ac2bfcb25082f9794fe079a2e5d5e34156df34e0567de6668dd2"
sha256 cellar: :any, arm64_monterey: "bca268c68a1c18ce0c7ee06491627018a15c8317e4e931bcffa58eba9abfd441"
sha256 cellar: :any, sonoma: "5c2c80c1f503b754e51886bd6d5dceffa703d1d64081b50ab5fce6056b3576e4"
sha256 cellar: :any, ventura: "552700f8d6e9d6fe01daf0e17f5002fe4fa01f53557662e9fbb2f4c6703f0d19"
sha256 cellar: :any, monterey: "a2a08c0c03e5cda783a64196b65478e37526925487cbe45ed2abdd9505ccfd06"
sha256 cellar: :any_skip_relocation, x86_64_linux: "b0c47c7382e22af33327ec27bbff173053a33220f21b853a9873ccb473f1a136"
sha256 cellar: :any, arm64_sonoma: "f8b9106e874145f739e1d0d8e830abbda9c6a720d2d94123f29fcf71e904591d"
sha256 cellar: :any, arm64_ventura: "dcc75bc8b9413a51ed4a64aa99ab66e8b44d3dfdf0b2ebda6e5c8739bb1e39ee"
sha256 cellar: :any, arm64_monterey: "33aedc58b41ba4610ac558e282b630a73feb4333d1d616bab684f0c81854bbb9"
sha256 cellar: :any, sonoma: "4d0d6b5cbbe22218b92d7d6b2dbc9ba2e80905571100aaf43e1f2776731cd176"
sha256 cellar: :any, ventura: "8f0b5e0fd396d9d4863e65473af1a9117ebc050bcb44b7001319acf3ac992dd3"
sha256 cellar: :any, monterey: "c1182d179acd51e221f64d2d7e99277be91e548a1231fe2ea2f39d8e948026d1"
sha256 cellar: :any_skip_relocation, x86_64_linux: "8d6a36aa720449ecdad80cbf3f89b16c2089aa0a92ce9cca584616ed46f59545"
end

depends_on "gcc" => :build # for gfortran
Expand Down
33 changes: 14 additions & 19 deletions Formula/o/openai-whisper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,18 +6,17 @@ class OpenaiWhisper < Formula
url "https://files.pythonhosted.org/packages/d2/6e/50ace2bf704e5ffc786d20d96403ab0d57c5d6ab8729de7fed8c436687df/openai-whisper-20231117.tar.gz"
sha256 "7af424181436f1800cc0b7d75cf40ede34e9ddf1ba4983a910832fcf4aade4a4"
license "MIT"
revision 5
revision 6
head "https://github.com/openai/whisper.git", branch: "main"

bottle do
rebuild 1
sha256 cellar: :any, arm64_sonoma: "c4823602582021d71a112cee7b9fd70d7bb346231ac8a064413fbc4fa5feeae4"
sha256 cellar: :any, arm64_ventura: "dbe1c266af6c9f768aebc92dfb02f0257b823c79835dd20569f8910736c4481d"
sha256 cellar: :any, arm64_monterey: "03f5d31004276a79c6647f3d3acfb23b1458e0b47a5622a7629c3f14bd5cd093"
sha256 cellar: :any, sonoma: "e718c5ecde8a4a034870eb564cd0644c8980ffef1f9373562a7e88402e7c91b0"
sha256 cellar: :any, ventura: "e2d29e93aec4325471339f521bcb0948aafcc688ab19206a6cc470378129f287"
sha256 cellar: :any, monterey: "05ece5b230afd9939107d8c0a327968f697da8713115c2b524678be1eec28ce3"
sha256 cellar: :any_skip_relocation, x86_64_linux: "d3a12abfebd488c81f69346f3bd7c6cfb0bc6f51926893f19c7e298b427d3386"
sha256 cellar: :any, arm64_sonoma: "66994757920b560b0ddba120aa779ca8b69676883716ff5ebac3ed6c72ecf112"
sha256 cellar: :any, arm64_ventura: "d127afd6258ab3b5e1734f1c47b0178b29a55e3ebd5c317c88fe46c721e940b7"
sha256 cellar: :any, arm64_monterey: "b955e1d73e96d0f1c8ea3fd80ff4fe2edac30039cc9edbbf6bca1c6649f81fa8"
sha256 cellar: :any, sonoma: "3a3417495a3f08fad995dc16fc457245b8dd75cd8fc23a37cc8204b6eb677bdd"
sha256 cellar: :any, ventura: "1ad6a7853c20c84786421f592444b34cf7f0e71e8acd0b36fb324702a6f0a1a0"
sha256 cellar: :any, monterey: "3fe3d019c3094fb814976c1573a12867858f89912387a6d472dc5af925343450"
sha256 cellar: :any_skip_relocation, x86_64_linux: "ebe5c9ee278764c7abdeb454aafa3d3009c1ce961170b7562b9089dd0e261500"
end

depends_on "rust" => :build # for tiktoken
Expand All @@ -43,8 +42,9 @@ class OpenaiWhisper < Formula
end

resource "llvmlite" do
url "https://files.pythonhosted.org/packages/9f/3d/f513755f285db51ab363a53e898b85562e950f79a2e6767a364530c2f645/llvmlite-0.43.0.tar.gz"
sha256 "ae2b5b5c3ef67354824fb75517c8db5fbe93bc02cd9671f3c62271626bc041d5"
# Fetch from Git hash for compatibility with the new version of `numba` below.
url "https://github.com/numba/llvmlite/archive/ca123c3ae2a6f7db865661ae509862277ec5d692.tar.gz"
sha256 "a778c3b02f96a57a8c4c2e22cb7b2b0712cf487ac5167d459150e1b1fc42b028"
end

resource "more-itertools" do
Expand All @@ -53,14 +53,9 @@ class OpenaiWhisper < Formula
end

resource "numba" do
url "https://files.pythonhosted.org/packages/3c/93/2849300a9184775ba274aba6f82f303343669b0592b7bb0849ea713dabb0/numba-0.60.0.tar.gz"
sha256 "5df6158e5584eece5fc83294b949fd30b9f1125df7708862205217e068aabf16"

# Fix compat with numpy 2.0.1: https://github.com/numba/numba/pull/9683
patch do
url "https://github.com/numba/numba/commit/afb3d168efa713c235d1bb4586722ad6e5dbb0c1.patch?full_index=1"
sha256 "5045f942be69fe12d0b0f02a4236c01c092f660ee9fa008848b7ebf5cb8fd528"
end
# Fetch from Git hash for numpy 2.1 compatibility
url "https://github.com/numba/numba/archive/a344e8f55440c91d40c5221e93a38ce0c149b803.tar.gz"
sha256 "6295d40e7f2f29dfe06a0403e6e7540f7d286df238085d61637740017acb11ee"
end

resource "regex" do
Expand Down

0 comments on commit 4e020c5

Please sign in to comment.