Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 932478 - media-sound/beets-1.7.0_pre20240501 fails to compile: ModuleNotFoundError: No module named typing_extensions
Summary: media-sound/beets-1.7.0_pre20240501 fails to compile: ModuleNotFoundError: No...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Guillaume Seren
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-05-22 14:54 UTC by Agostino Sarubbo
Modified: 2024-06-03 05:06 UTC (History)
4 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log (build.log,145.30 KB, text/plain)
2024-05-22 14:54 UTC, Agostino Sarubbo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2024-05-22 14:54:36 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: media-sound/beets-1.7.0_pre20240501 fails to compile.
Discovered on: amd64 (internal ref: ci)

Info about the issue:
https://wiki.gentoo.org/wiki/Project:Tinderbox/Common_Issues_Helper#CF0014
Comment 1 Agostino Sarubbo gentoo-dev 2024-05-22 14:54:38 UTC
Created attachment 893862 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2024-05-22 14:54:38 UTC
Error(s) that match a know pattern in addition to what has been reported in the summary:


ERROR setuptools_scm._file_finders.git listing git files failed - pretending there aren't any
ModuleNotFoundError: No module named 'typing_extensions'
Comment 3 Mathieu Carpentier 2024-05-29 18:09:26 UTC
I recently updated to 1.7.0_pre20240501 and I noticed today that beet wouldn't run because of missing module 'typing_extensions'

$ beet import . 
Traceback (most recent call last):
  File "/usr/bin/beet", line 5, in <module>
    from beets.ui import main
  File "/usr/lib/python3.11/site-packages/beets/ui/__init__.py", line 35, in <module>
    from beets import config, library, logging, plugins, util
  File "/usr/lib/python3.11/site-packages/beets/library.py", line 29, in <module>
    from beets import dbcore, logging, plugins, util
  File "/usr/lib/python3.11/site-packages/beets/dbcore/__init__.py", line 19, in <module>
    from .db import Database, Model, Results
  File "/usr/lib/python3.11/site-packages/beets/dbcore/db.py", line 54, in <module>
    from beets.util import functemplate, py3_path
  File "/usr/lib/python3.11/site-packages/beets/util/__init__.py", line 49, in <module>
    from typing_extensions import TypeAlias
ModuleNotFoundError: No module named 'typing_extensions'

It worked earlier this week.

I installed dev-python/typing-extensions and it started to work again. 

Not really sure why it stopped to work today. My only guess is that the package was removed recently on my system after a depclean.
Comment 4 Matt Jolly gentoo-dev 2024-05-30 03:26:25 UTC
I'll update the dependency later on today, there were a lot of changes between 1.6 and the 1.7_pre cut, I missed this :)
Comment 5 Larry the Git Cow gentoo-dev 2024-06-03 05:06:23 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0d169d08379089f1e40a9054fc883e083b45e085

commit 0d169d08379089f1e40a9054fc883e083b45e085
Author:     Matt Jolly <kangie@gentoo.org>
AuthorDate: 2024-06-03 04:23:02 +0000
Commit:     Matt Jolly <kangie@gentoo.org>
CommitDate: 2024-06-03 05:02:53 +0000

    media-sound/beets: add missing RDEPEND
    
    Closes: https://bugs.gentoo.org/932478
    Signed-off-by: Matt Jolly <kangie@gentoo.org>

 media-sound/beets/beets-1.7.0_pre20240501.ebuild | 7 ++++---
 media-sound/beets/beets-9999.ebuild              | 7 ++++---
 2 files changed, 8 insertions(+), 6 deletions(-)