Skip to content

Commit d984b48

Browse files
authored
Merge pull request Homebrew#206317 from Homebrew/vunnel
vunnel: fix build with Python 3.13.x
2 parents 2c111ef + 2025f0a commit d984b48

File tree

1 file changed

+13
-6
lines changed

1 file changed

+13
-6
lines changed

Formula/v/vunnel.rb

Lines changed: 13 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,13 @@ class Vunnel < Formula
99
head "https://github.com/anchore/vunnel.git", branch: "main"
1010

1111
bottle do
12-
sha256 cellar: :any, arm64_sequoia: "c34fbe1ffc0910c9adbe4b47a91d2a2a867c96d2af9bab1691c82fcb70be35c7"
13-
sha256 cellar: :any, arm64_sonoma: "64be177f070268cf977e394ca1f88448f90597ea29b3e3feb24b956c25756b92"
14-
sha256 cellar: :any, arm64_ventura: "84e060d7bd37b6338cf72a06bca896a104e7b7da5796ccfb56826c47b9e29c42"
15-
sha256 cellar: :any, sonoma: "2888f119600874f3c2f3bd87564ad36c1f702f6ce7b76ac0f22cc84a947e96a0"
16-
sha256 cellar: :any, ventura: "5488ea44460648270e492a700dcee5357734092e0f5cfce51afca1f227b2e9e0"
17-
sha256 cellar: :any_skip_relocation, x86_64_linux: "315811a2fc797247bcb5d3778c84baf8d0c6bc743a12fd852f84d896c7b58076"
12+
rebuild 1
13+
sha256 cellar: :any, arm64_sequoia: "8c3713972bc02a8f643ae6122dc3398f72f6a461b261145416dfdebb2bb9699e"
14+
sha256 cellar: :any, arm64_sonoma: "b9525111f04d3ab9983c242f7b5c7376c03559fd4c8cd0eb9d8dfae5ad295bed"
15+
sha256 cellar: :any, arm64_ventura: "cf7986b2bb08febc02d0408259d0cdfb063e63bae506c5aff54fb0fd812e98a8"
16+
sha256 cellar: :any, sonoma: "9bf9158616a81b5dbb4a1d9c0adcb7c24df6b50c7415e0920aec2a007c300579"
17+
sha256 cellar: :any, ventura: "83c26694daf9c5448a0b5039d0153b6c253d9bed4b484a5e4685d1801823d745"
18+
sha256 cellar: :any_skip_relocation, x86_64_linux: "40f58b5700e38196225f1e207b3944b5c2043e2c20120f7478ddae5640d68581"
1819
end
1920

2021
depends_on "rust" => :build
@@ -211,6 +212,12 @@ class Vunnel < Formula
211212
end
212213

213214
def install
215+
# Remove with next version, already fixed in
216+
# https://github.com/anchore/vunnel/commit/2831a9a55c80f8d6ba31862219e68f796dde7455.patch
217+
inreplace "pyproject.toml" do |s|
218+
s.gsub! 'python = ">=3.11,<=3.13"', 'python = ">=3.11,<3.14"'
219+
end
220+
214221
# Fix compilation of ijson native extensions, note:
215222
# This would not be needed if latest ijson version is used upstream, but there are reasons it is
216223
# currently held back: https://github.com/anchore/vunnel/pull/103

0 commit comments

Comments
 (0)