Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

aubio: migrate to python@3.13 #194003

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 8 additions & 7 deletions Formula/a/aubio.rb
Original file line number Diff line number Diff line change
Expand Up @@ -27,12 +27,7 @@
depends_on "python-setuptools" => :build
depends_on "libsndfile"
depends_on "numpy"
depends_on "python@3.12"

resource "homebrew-aiff" do
url "https://archive.org/download/TestAifAiffFile/02DayIsDone.aif"
sha256 "bca81e8d13f3f6526cd54110ec1196afd5bda6c93b16a7ba5023e474901e050d"
end
depends_on "python@3.13"

# Fix build with Python 3.12 using Fedora patch. Failure is due to old waf 2.0.14.
# Remove on next release as HEAD has newer waf.
Expand All @@ -46,7 +41,7 @@
end

def python3
"python3.12"
"python3.13"
end

def install
Expand All @@ -60,7 +55,12 @@
system python3, "-m", "pip", "install", *std_pip_args, "."
end

test do

Check failure on line 58 in Formula/a/aubio.rb

View workflow job for this annotation

GitHub Actions / macOS 14-arm64

`brew test --verbose aubio` failed on macOS Sonoma (14) on Apple Silicon!

% Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 33.1M 0 49098 0 0 59064 0 0:09:47 --:--:-- 0:09:47 59012 0 33.1M 0 287k 0 0 161k 0 0:03:30 0:00:01 0:03:29 160k 1 33.1M 1 351k 0 0 127k 0 0:04:25 0:00:02 0:04:23 127k 1 33.1M 1 415k 0 0 111k 0 0:05:03 0:00:03 0:05:00 111k 1 33.1M 1 479k 0 0 100k 0 0:05:35 0:00:04 0:05:31 100k 1 33.1M 1 559k 0 0 97k 0 0:05:46 0:00:05 0:05:41 104k 1 33.1M 1 623k 0 0 95163 0 0:06:04 0:00:06 0:05:58 69872 2 33.1M 2 703k 0 0 92776 0 0:06:14 0:00:07 0:06:07 71938 2 33.1M 2 783k 0 0 91525 0 0:06:19 0:00:08 0:06:11 74667 2 33.1M 2 831k 0 0 86764 0 0:06:40 0:00:09 0:06:31 71214 2 33.1M 2 847k 0 0 80933 0 0:07:09 0:00:10 0:06:59 58941 2 33.1M 2 895k 0 0 78074 0 0:07:24 0:00:11 0:07:13 55290 2 33.1M 2 927k 0 0 74732 0 0:07:44 0:00:12 0:07:32 46362 2 33.1M 2 959k 0 0 71630 0 0:08:04 0:00:13 0:07:51 36376 2 33.1M 2 991k 0 0 68817 0 0:08:24 0:00:14 0:08:10 33142 3 33.1M 3 1039k 0 0 67688 0 0:08:32 0:00:15 0:08:17 39330 3 33.1M 3 1103k 0 0 67596 0 0:08:33 0:00:16 0:08:17 42863 3 33.1M 3 1151k 0 0 66558 0 0:08:41 0:00:17 0:08:24 45839 3 33.1M 3 1183k 0 0 64434 0 0:08:58 0:00:18 0:08:40 45074 3 33.1M 3 1231k 0 0 63761 0 0:09:04 0:00:19 0:08:45 48929 3 33.1M 3 1279k 0 0 63190 0 0:09:09 0:00:20 0:08:49 49058 3 33.1M 3 1327k 0 0 62610 0 0:09:14 0:00:21 0:08:53 45898 3 33.1M 3 1343k 0 0 60570 0 0:09:33 0:00:22 0:09:11 39317 4 33.1M 4 1391k 0 0 59833 0 0:09:40 0:00:23 0:09:17 42534 4 33.1M 4 1423k 0 0 58716 0 0:09:51 0:00:24 0:09:27 38935 4 33.1M 4 1471k 0 0 58239 0 0:09:56 0:00:25 0:09:31 38245 4 33.1M 4 1503k 0 0 57366 0 0:10:05 0:00:26 0:09:39 35147 4 33.1M 4 1567k 0 0 57754 0 0:10:01 0:00:27 0:09:34 45180 4 33.1M 4 1631k 0 0 57814 0 0:10:00 0:00:28 0:09:32 48371 4 33.1M 4 1663k 0 0 57303 0 0:10:05 0:00:29 0:09:36 50145 4 33.1M 4 1679k 0 0 55786 0 0:10:22 0:00:30 0:09:52 42993 5 33.1M 5 1711k 0 0 55035 0 0:10:30 0:00:31 0:09:59 42556 5 33.1M 5 1743k 0 0 54270 0 0:10:39 0:00:32 0:10:07 35292 5 33.1M 5 1775k 0 0 53819 0 0:10:45 0:00:33 0:10:12 30164 5 33.1M 5 1823k 0 0 53535 0 0:10:48 0:00:34 0:10:14 31784 5 33.1M 5 1871k 0 0 53670 0 0:10:46 0:00:35 0:10:11 40277 5 33.1M 5 1951k 0 0 54354 0 0:10:38 0:00:36 0:10:02 49936 5 33.1M 5 2031k 0 0 55051 0 0:10:30 0:00:37 0:09:53 60304 6 33.1M 6 2095k 0 0 55327 0 0:10:27 0:00:38 0:09:49 65513 6 33.1M 6 2143k 0 0 55231 0 0:10:28 0:00:39 0:09:49 67385 6 33.1M 6 2239k 0 0 56126 0 0:10:18 0:00:40 0:09:38 73160 6 33.1M 6 2287k 0 0 56110 0 0:10:18 0:00:41 0:09:37 69045 6 33.1M 6 2335k 0 0 55949 0 0:10:20 0:00:42 0:09:38 62770 7 33.1M 7 2399k 0 0 56076 0 0:10:19 0:00:43 0:09:36 61869 7 33.1M 7 2431k 0 0 55603 0 0:10:24 0:00:44 0:09:40 58542 7 33.1M 7 2463k 0 0 55187 0 0:10:29 0:00:45 0:09:44 47271 7 33.1M 7 2495k 0 0 54661 0 0:10:35 0:00:46 0:09:49 42560 7 33.1M 7 2527k 0 0 54023 0 0:10:42 0:00:47 0:09:55 38075 7 33.1M 7 2560k 0 0 53793 0 0:10:45 0:00:48
resource "homebrew-aiff" do
url "https://archive.org/download/TestAifAiffFile/02DayIsDone.aif"
sha256 "bca81e8d13f3f6526cd54110ec1196afd5bda6c93b16a7ba5023e474901e050d"
end

testpath.install resource("homebrew-aiff")
system bin/"aubiocut", "--verbose", "02DayIsDone.aif"
system bin/"aubioonset", "--verbose", "02DayIsDone.aif"
Expand All @@ -76,6 +76,7 @@
break
print(total_frames)
EOS

assert_equal "8680056", shell_output("#{python3} test.py").chomp
end
end
Loading