Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 830344 - dev-python/pygments-2.11.0 - ModuleNotFoundError: No module named wcag_contrast_ratio
Summary: dev-python/pygments-2.11.0 - ModuleNotFoundError: No module named wcag_contra...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 822354
  Show dependency tree
 
Reported: 2021-12-31 09:27 UTC by Toralf Förster
Modified: 2021-12-31 09:42 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,18.91 KB, text/plain)
2021-12-31 09:27 UTC, Toralf Förster
Details
dev-python:pygments-2.11.0:20211230-221851.log (dev-python:pygments-2.11.0:20211230-221851.log,39.55 KB, text/plain)
2021-12-31 09:27 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,334.09 KB, text/plain)
2021-12-31 09:27 UTC, Toralf Förster
Details
environment (environment,118.60 KB, text/plain)
2021-12-31 09:27 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,26.72 KB, application/x-bzip)
2021-12-31 09:27 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,29.05 KB, application/x-bzip)
2021-12-31 09:27 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2021-12-31 09:27:41 UTC
  File "/var/tmp/portage/dev-python/pygments-2.11.0/work/Pygments-2.11.0/doc/conf.py", line 16, in <module>
    import tests.contrast.test_contrasts as test_contrasts
  File "/var/tmp/portage/dev-python/pygments-2.11.0/work/Pygments-2.11.0/tests/contrast/test_contrasts.py", line 18, in <module>
    import wcag_contrast_ratio
ModuleNotFoundError: No module named 'wcag_contrast_ratio'

 * ERROR: dev-python/pygments-2.11.0::gentoo failed (compile phase):

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop_plasma_systemd-j4-20211220-180518

  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-9.3.1
 [2] x86_64-pc-linux-gnu-10.3.1
 [3] x86_64-pc-linux-gnu-11.2.1 *
clang version 13.0.0
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/13/bin
/usr/lib/llvm/13
13.0.0
Python 3.9.9
Available Rust versions:
  [1]   rust-bin-1.57.0
  [2]   rust-1.57.0 *
The following VMs are available for generation-2:
*)	AdoptOpenJDK 8.312_p07 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8  system-vm

The Glorious Glasgow Haskell Compilation System, version 8.10.4
php cli:

  HEAD of ::gentoo
commit ae79b9c5860715832bc1586c53dba16eb82cd91b
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Thu Dec 30 22:06:54 2021 +0000

    2021-12-30 22:06:51 UTC

emerge -qpvO dev-python/pygments
[ebuild     U ] dev-python/pygments-2.11.0 [2.10.0] USE="doc -test" PYTHON_TARGETS="python3_9 -pypy3 -python3_8 -python3_10"
Comment 1 Toralf Förster gentoo-dev 2021-12-31 09:27:42 UTC
Created attachment 760888 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2021-12-31 09:27:43 UTC
Created attachment 760889 [details]
dev-python:pygments-2.11.0:20211230-221851.log
Comment 3 Toralf Förster gentoo-dev 2021-12-31 09:27:45 UTC
Created attachment 760890 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2021-12-31 09:27:46 UTC
Created attachment 760891 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2021-12-31 09:27:47 UTC
Created attachment 760892 [details]
etc.portage.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2021-12-31 09:27:49 UTC
Created attachment 760893 [details]
temp.tar.bz2
Comment 7 Larry the Git Cow gentoo-dev 2021-12-31 09:42:49 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7d45da2e4574a42169b105963363ff18f52a2407

commit 7d45da2e4574a42169b105963363ff18f52a2407
Author:     Michał Górny <mgorny@gentoo.org>
AuthorDate: 2021-12-31 09:42:24 +0000
Commit:     Michał Górny <mgorny@gentoo.org>
CommitDate: 2021-12-31 09:42:46 +0000

    dev-python/pygments: Require wcag-contrast-ratio for docs
    
    Closes: https://bugs.gentoo.org/830344
    Signed-off-by: Michał Górny <mgorny@gentoo.org>

 dev-python/pygments/pygments-2.11.0.ebuild | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)