···11-#ifndef NOESCAPE_NOOP_H_
22-#define NOESCAPE_NOOP_H_
33-44-// First, do some work to get definitions for *_WIDTH. Normally, Emacs would
55-// have these defined by headers in-tree, but clang's headers clash with those.
66-// Due to how include paths work, we have to include clang headers if we want to
77-// mess with CoreFoundation definitions.
88-#pragma push_macro("__STDC_VERSION__")
99-// Make the preprocessor think that we're on C2x. The macros we want are gated
1010-// on it.
1111-#undef __STDC_VERSION__
1212-#define __STDC_VERSION__ 202000L
1313-// Include limits.h first, as stdint.h includes it.
1414-#include <limits.h>
1515-1616-// XX: clang's stdint.h is shy and won't give us its defs unless it thinks it's
1717-// in freestanding mode.
1818-#undef __STDC_HOSTED__
1919-#include <stdint.h>
2020-#define __STDC_HOSTED__ 1
2121-2222-#pragma pop_macro("__STDC_VERSION__")
2323-2424-// Now, pull in the header that defines CF_NOESCAPE.
2525-#include <CoreFoundation/CFBase.h>
2626-2727-// Redefine CF_NOESCAPE as empty.
2828-#undef CF_NOESCAPE
2929-#define CF_NOESCAPE
3030-3131-#endif // NOESCAPE_NOOP_H_
···11+From 902bcca8cfc84801cf93a6c3ca59da283072a79f Mon Sep 17 00:00:00 2001
22+From: Emily <hello@emily.moe>
33+Date: Wed, 27 Aug 2025 18:58:07 +0100
44+Subject: [PATCH] Fix types in beat tracking code
55+66+The development version of Numba 0.62.0 is unhappy about `range`
77+being applied to floating point values here.
88+---
99+ librosa/beat.py | 2 +-
1010+ 1 file changed, 1 insertion(+), 1 deletion(-)
1111+1212+diff --git a/librosa/beat.py b/librosa/beat.py
1313+index 1a19005d..4ed9e945 100644
1414+--- a/librosa/beat.py
1515++++ b/librosa/beat.py
1616+@@ -582,7 +582,7 @@ def __beat_track_dp(localscore, frames_per_beat, tightness, backlink, cumscore):
1717+ # Search over all possible predecessors to find the best preceding beat
1818+ # NOTE: to provide time-varying tempo estimates, we replace
1919+ # frames_per_beat[0] by frames_per_beat[i] in this loop body.
2020+- for loc in range(i - np.round(frames_per_beat[tv * i] / 2), i - 2 * frames_per_beat[tv * i] - 1, - 1):
2121++ for loc in range(i - round(frames_per_beat[tv * i] / 2), int(i - 2 * frames_per_beat[tv * i] - 1), - 1):
2222+ # Once we're searching past the start, break out
2323+ if loc < 0:
2424+ break
2525+--
2626+2.50.1
2727+