Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 893540 - dev-python/pygments-2.14.0 - ImportError: cannot import name LegacyVersion from packaging.version (/usr/lib/python3.10/site-packag
Summary: dev-python/pygments-2.14.0 - ImportError: cannot import name LegacyVersion fr...
Status: RESOLVED DUPLICATE of bug 893630
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-02-07 20:16 UTC by Toralf Förster
Modified: 2023-02-08 18:52 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,16.83 KB, text/plain)
2023-02-07 20:16 UTC, Toralf Förster
Details
dev-python:pygments-2.14.0:20230207-182104.log (dev-python:pygments-2.14.0:20230207-182104.log,3.87 KB, text/plain)
2023-02-07 20:16 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,11.92 KB, text/plain)
2023-02-07 20:16 UTC, Toralf Förster
Details
environment (environment,133.52 KB, text/plain)
2023-02-07 20:16 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,15.62 KB, application/x-bzip)
2023-02-07 20:16 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,29.65 KB, application/x-bzip)
2023-02-07 20:16 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 2023-02-07 20:16:41 UTC
  File "/usr/lib/python3.10/site-packages/setuptools/monkey.py", line 134, in patch_for_msvc_specialized_compiler
    msvc = import_module('setuptools.msvc')
  File "/usr/lib/python3.10/importlib/__init__.py", line 126, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "/usr/lib/python3.10/site-packages/setuptools/msvc.py", line 24, in <module>
    from packaging.version import LegacyVersion
ImportError: cannot import name 'LegacyVersion' from 'packaging.version' (/usr/lib/python3.10/site-packages/packaging/version.py)
 * ERROR: dev-python/pygments-2.14.0::gentoo failed (compile phase):
 *   (no error message)

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.0_musl-j4-20230207-150031

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

GNUMAKEFLAGS="$GNUMAKEFLAGS --jobserver-style=pipe"
GNUMAKEFLAGS="$GNUMAKEFLAGS --shuffle"
gcc-config -l:
 [1] x86_64-gentoo-linux-musl-12 *
clang/llvm (if any):
Python 3.10.9
Available Rust versions:
  [1]   rust-1.67.0 *
php cli (if any):

  HEAD of ::gentoo
commit c92c5d0ffe87591d8533e5484bcce523b51c3172
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Tue Feb 7 14:31:59 2023 +0000

    2023-02-07 14:31:58 UTC

emerge -qpvO dev-python/pygments
[ebuild  N    ] dev-python/pygments-2.14.0  USE="-test" PYTHON_TARGETS="python3_10 -pypy3 -python3_9 -python3_11"
Comment 1 Toralf Förster gentoo-dev 2023-02-07 20:16:42 UTC
Created attachment 850108 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2023-02-07 20:16:43 UTC
Created attachment 850110 [details]
dev-python:pygments-2.14.0:20230207-182104.log
Comment 3 Toralf Förster gentoo-dev 2023-02-07 20:16:44 UTC
Created attachment 850112 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2023-02-07 20:16:45 UTC
Created attachment 850114 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2023-02-07 20:16:46 UTC
Created attachment 850116 [details]
etc.portage.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2023-02-07 20:16:47 UTC
Created attachment 850118 [details]
temp.tar.bz2
Comment 7 Toralf Förster gentoo-dev 2023-02-08 18:52:35 UTC

*** This bug has been marked as a duplicate of bug 893630 ***