sci icon indicating copy to clipboard operation
sci copied to clipboard

dev-python/librosa: new package

Open uis246 opened this issue 10 months ago • 11 comments

uis246 avatar Feb 07 '25 15:02 uis246

For now I'm waiting for https://github.com/librosa/librosa/commit/7eb0a09e703a72a5979049ec546a522c70285aff to hit release.

uis246 avatar Feb 07 '25 15:02 uis246

Where to put nanobind? BDEPEND or RDEPEND? As I understand it needs to be executed during compilation. And what did I do wrong?

uis246 avatar Feb 07 '25 18:02 uis246

I see. nanobind ebuild does not declare pypy3 support.

uis246 avatar Feb 07 '25 18:02 uis246

  • [x] gentoo/gentoo#40480 for pypy3 in nanobind
  • [x] librosa/librosa#1908 for failed test
  • [x] librosa/librosa#1906 for new release

uis246 avatar Feb 07 '25 19:02 uis246

Test data repository is not tagged. It means I will need to somehow download it from git in release ebuild. Not sure how. Related issue:

  • [ ] https://github.com/librosa/librosa/issues/1845 git test data + network test data

If worst case I plan to disable tests on release ebuild.

uis246 avatar Feb 09 '25 02:02 uis246

Test data repository is not tagged. It means I will need to somehow download it from git in release ebuild.

Usually it is possible to do some patching and add a snapshot from the git to the SRC_URI.

Nowa-Ammerlaan avatar Feb 09 '25 12:02 Nowa-Ammerlaan

Should typing-extensions in soxr go to BDEPEND or IDEPEND or stay in DEPEND? Moving to BDEPEND for now.

uis246 avatar Feb 09 '25 18:02 uis246

I added things for docs generation. Works in soxr. Still broken in librosa, so I did not inherit docs there.

uis246 avatar Feb 09 '25 18:02 uis246

Should typing-extensions in soxr go to BDEPEND or IDEPEND or stay in DEPEND? Moving to BDEPEND for now.

RDEPEND if it is in the dependency list, BDEPEND if it is imported during the build.

Might I suggest to omit the pypy3 target here so this is no longer blocked by the failures in nanobind?

Nowa-Ammerlaan avatar Feb 11 '25 11:02 Nowa-Ammerlaan

After https://github.com/tuxu/python-samplerate/issues/24 gets resolved I should be able to enable all non-network tests for librosa. I already made ebuild for resampy.

uis246 avatar Feb 12 '25 22:02 uis246

I'm back and hope to finish it

uis246 avatar Oct 10 '25 03:10 uis246