···1-#ifndef NOESCAPE_NOOP_H_
2-#define NOESCAPE_NOOP_H_
3-4-// First, do some work to get definitions for *_WIDTH. Normally, Emacs would
5-// have these defined by headers in-tree, but clang's headers clash with those.
6-// Due to how include paths work, we have to include clang headers if we want to
7-// mess with CoreFoundation definitions.
8-#pragma push_macro("__STDC_VERSION__")
9-// Make the preprocessor think that we're on C2x. The macros we want are gated
10-// on it.
11-#undef __STDC_VERSION__
12-#define __STDC_VERSION__ 202000L
13-// Include limits.h first, as stdint.h includes it.
14-#include <limits.h>
15-16-// XX: clang's stdint.h is shy and won't give us its defs unless it thinks it's
17-// in freestanding mode.
18-#undef __STDC_HOSTED__
19-#include <stdint.h>
20-#define __STDC_HOSTED__ 1
21-22-#pragma pop_macro("__STDC_VERSION__")
23-24-// Now, pull in the header that defines CF_NOESCAPE.
25-#include <CoreFoundation/CFBase.h>
26-27-// Redefine CF_NOESCAPE as empty.
28-#undef CF_NOESCAPE
29-#define CF_NOESCAPE
30-31-#endif // NOESCAPE_NOOP_H_
···11 {
12 poetry = self.callPackage ./unwrapped.nix { };
1300000000000014 # The versions of Poetry and poetry-core need to match exactly,
15 # and poetry-core in nixpkgs requires a staging cycle to be updated,
16 # so apply an override here.
···11 {
12 poetry = self.callPackage ./unwrapped.nix { };
1314+ # Poetry 2.1.4 officially requires virtualenv >=20.26.6, <20.33.0
15+ # otherwise will be incompatible with python312
16+ # see: https://github.com/python-poetry/poetry/issues/10490
17+ virtualenv = super.virtualenv.overridePythonAttrs (old: rec {
18+ version = "20.30.0";
19+ src = fetchPypi {
20+ inherit (old) pname;
21+ inherit version;
22+ hash = "sha256-gAhjFivKpUUKbk1yEElzDn8trgdyDgkCsOQEC9b5rag=";
23+ };
24+ });
25+26 # The versions of Poetry and poetry-core need to match exactly,
27 # and poetry-core in nixpkgs requires a staging cycle to be updated,
28 # so apply an override here.
···1+From 902bcca8cfc84801cf93a6c3ca59da283072a79f Mon Sep 17 00:00:00 2001
2+From: Emily <hello@emily.moe>
3+Date: Wed, 27 Aug 2025 18:58:07 +0100
4+Subject: [PATCH] Fix types in beat tracking code
5+6+The development version of Numba 0.62.0 is unhappy about `range`
7+being applied to floating point values here.
8+---
9+ librosa/beat.py | 2 +-
10+ 1 file changed, 1 insertion(+), 1 deletion(-)
11+12+diff --git a/librosa/beat.py b/librosa/beat.py
13+index 1a19005d..4ed9e945 100644
14+--- a/librosa/beat.py
15++++ b/librosa/beat.py
16+@@ -582,7 +582,7 @@ def __beat_track_dp(localscore, frames_per_beat, tightness, backlink, cumscore):
17+ # Search over all possible predecessors to find the best preceding beat
18+ # NOTE: to provide time-varying tempo estimates, we replace
19+ # frames_per_beat[0] by frames_per_beat[i] in this loop body.
20+- for loc in range(i - np.round(frames_per_beat[tv * i] / 2), i - 2 * frames_per_beat[tv * i] - 1, - 1):
21++ for loc in range(i - round(frames_per_beat[tv * i] / 2), int(i - 2 * frames_per_beat[tv * i] - 1), - 1):
22+ # Once we're searching past the start, break out
23+ if loc < 0:
24+ break
25+--
26+2.50.1
27+