Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 914487 - www-client/firefox-117.0.1[system-python-libs] cannot detect system Python libs
Summary: www-client/firefox-117.0.1[system-python-libs] cannot detect system Python libs
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Mozilla Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-09-21 12:19 UTC by Michał Dec
Modified: 2023-09-26 06:41 UTC (History)
1 user (show)

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


Attachments
build.log (build.log,28.01 KB, text/x-log)
2023-09-21 14:08 UTC, Michał Dec
Details
output of emerge --info (emerge-info.txt,10.35 KB, text/plain)
2023-09-21 14:10 UTC, Michał Dec
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Michał Dec 2023-09-21 12:19:57 UTC
I have dev-python/setuptools-68.1.2, but www-client/firefox-117.0.1[system-python-libs] complains that I have a much older version. That's not the only library. There's more libraries that aren't detected.

Reproducible: Always

Steps to Reproduce:
1. emerge Firefox with system-python-libs
Actual Results:  
ansicon                       1.89.0      /var/tmp/portage/www-client/firefox-117.0.1/work/firefox-117.0.1/third_party/python/ansicon
attrs                         23.1.0      /var/tmp/portage/www-client/firefox-117.0.1/work/firefox-117.0.1/third_party/python/attrs
blessed                       1.19.1      /var/tmp/portage/www-client/firefox-117.0.1/work/firefox-117.0.1/third_party/python/blessed
certifi                       2022.12.7   /var/tmp/portage/www-client/firefox-117.0.1/work/firefox-117.0.1/third_party/python/certifi
chardet                       4.0.0       /var/tmp/portage/www-client/firefox-117.0.1/work/firefox-117.0.1/third_party/python/chardet
click                         7.1.2       /var/tmp/portage/www-client/firefox-117.0.1/work/firefox-117.0.1/third_party/python/click
colorama                      0.4.5       /var/tmp/portage/www-client/firefox-117.0.1/work/firefox-117.0.1/third_party/python/colorama
distro                        1.8.0       /var/tmp/portage/www-client/firefox-117.0.1/work/firefox-117.0.1/third_party/python/distro
idna                          2.10        /var/tmp/portage/www-client/firefox-117.0.1/work/firefox-117.0.1/third_party/python/idna
importlib-metadata            6.0.0       /var/tmp/portage/www-client/firefox-117.0.1/work/firefox-117.0.1/third_party/python/importlib_metadata
importlib-resources           5.12.0      /var/tmp/portage/www-client/firefox-117.0.1/work/firefox-117.0.1/third_party/python/importlib_resources
Jinja2                        2.11.3      /var/tmp/portage/www-client/firefox-117.0.1/work/firefox-117.0.1/third_party/python/Jinja2
jinxed                        1.2.0       /var/tmp/portage/www-client/firefox-117.0.1/work/firefox-117.0.1/third_party/python/jinxed
jsmin                         3.0.0       /var/tmp/portage/www-client/firefox-117.0.1/work/firefox-117.0.1/third_party/python/jsmin
looseversion                  1.0.1       /var/tmp/portage/www-client/firefox-117.0.1/work/firefox-117.0.1/third_party/python/looseversion
MarkupSafe                    2.0.1       /var/tmp/portage/www-client/firefox-117.0.1/work/firefox-117.0.1/third_party/python/MarkupSafe/src
mozilla-version               2.0.0       /var/tmp/portage/www-client/firefox-117.0.1/work/firefox-117.0.1/third_party/python/mozilla_version
packaging                     21.3        /var/tmp/portage/www-client/firefox-117.0.1/work/firefox-117.0.1/third_party/python/packaging
pip                           23.0.1      /var/tmp/portage/www-client/firefox-117.0.1/work/firefox-117.0.1/third_party/python/pip
pip-tools                     5.5.0       /var/tmp/portage/www-client/firefox-117.0.1/work/firefox-117.0.1/third_party/python/pip_tools
pyparsing                     2.4.7       /var/tmp/portage/www-client/firefox-117.0.1/work/firefox-117.0.1/third_party/python/pyparsing
requests                      2.25.1      /var/tmp/portage/www-client/firefox-117.0.1/work/firefox-117.0.1/third_party/python/requests
sentry-sdk                    0.14.3      /var/tmp/portage/www-client/firefox-117.0.1/work/firefox-117.0.1/third_party/python/sentry_sdk
setuptools                    51.2.0      /var/tmp/portage/www-client/firefox-117.0.1/work/firefox-117.0.1/third_party/python/setuptools
six                           1.13.0      /var/tmp/portage/www-client/firefox-117.0.1/work/firefox-117.0.1/third_party/python/six
tomlkit                       0.11.8      /var/tmp/portage/www-client/firefox-117.0.1/work/firefox-117.0.1/third_party/python/tomlkit
tqdm                          4.62.3      /var/tmp/portage/www-client/firefox-117.0.1/work/firefox-117.0.1/third_party/python/tqdm
typing-extensions             3.10.0.0    /var/tmp/portage/www-client/firefox-117.0.1/work/firefox-117.0.1/third_party/python/typing_extensions
urllib3                       1.26.0      /var/tmp/portage/www-client/firefox-117.0.1/work/firefox-117.0.1/third_party/python/urllib3
wcwidth                       0.2.5       /var/tmp/portage/www-client/firefox-117.0.1/work/firefox-117.0.1/third_party/python/wcwidth
wheel                         0.37.0      /var/tmp/portage/www-client/firefox-117.0.1/work/firefox-117.0.1/third_party/python/wheel
zipp                          3.4.1       /var/tmp/portage/www-client/firefox-117.0.1/work/firefox-117.0.1/third_party/python/zipp

streamlink 6.2.0 has requirement requests<3,>=2.26.0, but you have requests 2.25.1.
streamlink 6.2.0 has requirement typing-extensions>=4.0.0, but you have typing-extensions 3.10.0.0.
psycopg 3.1.10 has requirement typing-extensions>=4.1, but you have typing-extensions 3.10.0.0.
sphinx 7.1.2 has requirement Jinja2>=3.0, but you have jinja2 2.11.3.
setuptools-rust 1.6.0 has requirement setuptools>=62.4, but you have setuptools 51.2.0.

Expected Results:  
All should come from /usr/lib/python3.11/site-packages and it should compile
Comment 1 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-09-21 12:38:30 UTC
Please include the full build.log and emerge --info.
Comment 2 Michał Dec 2023-09-21 14:08:17 UTC
Created attachment 871021 [details]
build.log
Comment 3 Michał Dec 2023-09-21 14:10:32 UTC
Created attachment 871022 [details]
output of emerge --info
Comment 4 Mike Gilbert gentoo-dev 2023-09-25 17:37:18 UTC
I would guess that you have installed an older version of setuptools outside of Portage, possibly by accident.
Comment 5 Joonas Niilola gentoo-dev 2023-09-26 06:41:00 UTC
The use flag is masked for a reason. I haven't had the time or interest to really make it work, and especially now it seems like the pip integration is just getting stronger and stronger. I fear the system-python-libs was a broken experiment and will not ever be finished by the looks of it. Or we need to somehow always carry custom pip patches. 

I don't know, haven't really followed what happens there in many releases. But the use flag is masked so it's known "not to work".