Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 836401 - app-text/pelican-4.7.2: No module named 'rich'
Summary: app-text/pelican-4.7.2: No module named 'rich'
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Dirkjan Ochtman (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-03-30 07:35 UTC by poncho
Modified: 2022-04-13 14:08 UTC (History)
1 user (show)

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


Attachments
app-text/pelican-4.7.2.ebuild with fixed dependencies (pelican-4.7.2.ebuild,1.39 KB, text/plain)
2022-04-01 23:10 UTC, CFuga
Details
pelican-4.7.2-deps.patch (pelican-4.7.2.patch,832 bytes, patch)
2022-04-01 23:11 UTC, CFuga
Details | Diff
pelican-4.7.2-deps.patch (pelican-4.7.2.patch,831 bytes, patch)
2022-04-01 23:14 UTC, CFuga
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description poncho 2022-03-30 07:35:37 UTC
Traceback (most recent call last):
  File "/usr/lib/python-exec/python3.9/pelican", line 33, in <module>
    sys.exit(load_entry_point('pelican==4.7.2', 'console_scripts', 'pelican')())
  File "/usr/lib/python-exec/python3.9/pelican", line 25, in importlib_load_entry_point
    return next(matches).load()
  File "/usr/lib/python3.9/importlib/metadata.py", line 77, in load
    module = import_module(match.group('module'))
  File "/usr/lib/python3.9/importlib/__init__.py", line 127, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 1030, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1007, in _find_and_load
  File "<frozen importlib._bootstrap>", line 972, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 228, in _call_with_frames_removed
  File "<frozen importlib._bootstrap>", line 1030, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1007, in _find_and_load
  File "<frozen importlib._bootstrap>", line 986, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 680, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 850, in exec_module
  File "<frozen importlib._bootstrap>", line 228, in _call_with_frames_removed
  File "/usr/lib/python3.9/site-packages/pelican/__init__.py", line 19, in <module>
    from pelican.log import console
  File "/usr/lib/python3.9/site-packages/pelican/log.py", line 4, in <module>
    from rich.console import Console
ModuleNotFoundError: No module named 'rich'
make: *** [Makefile:85: devserver] Error 1





=================================================================
                        Package Settings
=================================================================

app-text/pelican-4.7.2::gentoo was built with the following:
USE="markdown -doc -examples -test" ABI_X86="(64)" PYTHON_TARGETS="python3_9 -python3_10 -python3_8"
FEATURES="mount-sandbox ipc-sandbox multilib-strict pid-sandbox binpkg-docompress unmerge-orphans ebuild-locks sandbox config-protect-if-modified usersandbox sfperms unmerge-logs distlocks xattr preserve-libs binpkg-logs buildpkg-live network-sandbox assume-digests strict parallel-fetch protect-owned parallel-install fixlafiles qa-unresolved-soname-deps cgroup userpriv usersync userfetch merge-sync binpkg-dostrip news unknown-features-warn"
Comment 1 CFuga 2022-04-01 23:07:33 UTC
app-text/pelican requires dev-python/rich since version 4.7.0. Also, they dropped dev-python/six as a dependency since version 4.5.0.
Comment 2 CFuga 2022-04-01 23:10:14 UTC
Created attachment 768446 [details]
app-text/pelican-4.7.2.ebuild with fixed dependencies

Changes:

- add dev-python/rich dep
- remove dev-python/six dep
- sort deps alphabetically
Comment 3 CFuga 2022-04-01 23:11:50 UTC
Created attachment 768447 [details, diff]
pelican-4.7.2-deps.patch


Same changes, in patch format:

- add dev-python/rich dep
- remove dev-python/six dep
- sort deps alphabetically
Comment 4 CFuga 2022-04-01 23:14:44 UTC
Created attachment 768448 [details, diff]
pelican-4.7.2-deps.patch


Same changes, in patch format:

- add dev-python/rich dep
- remove dev-python/six dep
- sort deps alphabetically
Comment 5 Larry the Git Cow gentoo-dev 2022-04-10 17:13:13 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0153750e42b8274f35fd4f5e5e7652e48eb27bfd

commit 0153750e42b8274f35fd4f5e5e7652e48eb27bfd
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2022-04-10 17:10:32 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2022-04-10 17:13:06 +0000

    app-text/pelican: add missing dependency; sync live; sort deps
    
    Closes: https://bugs.gentoo.org/836401
    Signed-off-by: Sam James <sam@gentoo.org>

 ...elican-4.7.2.ebuild => pelican-4.7.2-r1.ebuild} | 22 +++++++++----------
 app-text/pelican/pelican-9999.ebuild               | 25 +++++++++++-----------
 2 files changed, 24 insertions(+), 23 deletions(-)
Comment 6 Dirkjan Ochtman (RETIRED) gentoo-dev 2022-04-13 11:45:11 UTC
Sam, I'm a bit surprised to see that you merged this without any feedback from me as the maintainer. Might've been nice to ping me at least?
Comment 7 David Seifert gentoo-dev 2022-04-13 13:42:00 UTC
(In reply to Dirkjan Ochtman from comment #6)
> Sam, I'm a bit surprised to see that you merged this without any feedback
> from me as the maintainer. Might've been nice to ping me at least?

Ok, let's summarise:

1. You added a broken (due to missing deps) ebuild on 29/3.
2. A day later, someone reports it's broken, with a tentative fix.
3. 10 days later, sam fixes it.
4. more than 14 days after the bug was filed, you complain about your prerogative.

I'm sorry, given the triviality of the involved fix, the amount of time you ignored this bug which is close to maintainer timeout, I'm unwilling to give you the benefit of the doubt here.
Comment 8 Dirkjan Ochtman (RETIRED) gentoo-dev 2022-04-13 14:08:36 UTC
I guess it's just about time for me to retire.