Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 903063 - dev-python/mkdocs-material-9.1.5: missing RDEPEND on dev-python/regex
Summary: dev-python/mkdocs-material-9.1.5: missing RDEPEND on dev-python/regex
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Nowa Ammerlaan
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-03-25 22:07 UTC by Matt Whitlock
Modified: 2023-05-11 08:53 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Matt Whitlock 2023-03-25 22:07:00 UTC
dev-python/mkdocs-material has a runtime dependency on dev-python/regex, but this is not reflected in the ebuild's RDEPEND. This leads to runtime errors like:

  File "/usr/lib/python3.10/site-packages/material/plugins/search/plugin.py", line 24, in <module>
    import regex as re
ModuleNotFoundError: No module named 'regex'
Comment 1 Larry the Git Cow gentoo-dev 2023-04-09 20:56:29 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=48c8c184cc34406c1ef07a0539e8d4c73e64abe0

commit 48c8c184cc34406c1ef07a0539e8d4c73e64abe0
Author:     Andrew Ammerlaan <andrewammerlaan@gentoo.org>
AuthorDate: 2023-04-09 20:56:18 +0000
Commit:     Andrew Ammerlaan <andrewammerlaan@gentoo.org>
CommitDate: 2023-04-09 20:56:18 +0000

    dev-python/mkdocs-material: add missing dependencies for using plugins
    
    Closes: https://bugs.gentoo.org/903063
    Signed-off-by: Andrew Ammerlaan <andrewammerlaan@gentoo.org>

 .../{mkdocs-material-9.1.6.ebuild => mkdocs-material-9.1.6-r1.ebuild}  | 3 +++
 1 file changed, 3 insertions(+)
Comment 2 Matt Whitlock 2023-05-06 03:13:49 UTC
This was fixed in the ebuilds >=9.1.6, but 9.1.5 was overlooked and still exhibits the failure at runtime when dev-python/regex is not installed. As 9.1.5 is the only version that is stabilized, this problem should be fixed on that version too.
Comment 3 Marek Szuba (RETIRED) archtester gentoo-dev 2023-05-11 08:50:33 UTC
As a rule, we do not modify stabilised ebuilds. You are very much welcome to accept ~arch on this package until 9.1.6 has been stabilised - which given how long it has been since the last modification might well be any day now.
Comment 4 Marek Szuba (RETIRED) archtester gentoo-dev 2023-05-11 08:53:07 UTC
...and as a matter of fact, 9.1.9 was stabilised mere hours after you had reopened this bug. Resolving again.