On 12/4/20 8:52 PM, n952162 wrote:
On 12/4/20 11:07 AM, Arve Barsnes wrote:
On Fri, 4 Dec 2020 at 10:34, n952162 <[email protected]> wrote:
Forgotten about? I'm flattered! That would imply I understood
something here ...
Here's my python situation:
$ sed -n -e '/^\s*#/d' -e '/python/Ip' * | sort -u
*/* PYTHON_TARGETS: python3_7
>=dev-lang/python-2.7.16:2.7 sqlite
>=dev-lang/python-3.6.9 sqlite
>=dev-libs/libxml2-2.9.9-r1 python
>=dev-python/PySocks-1.7.1 python_targets_python3_6
>=dev-python/certifi-10001-r1 python_targets_python3_7
>=dev-python/certifi-2019.11.28 python_targets_python3_6
>=dev-python/cffi-1.14.0 python_targets_python3_6
>=dev-python/chardet-3.0.4 python_targets_python3_6
>=dev-python/cryptography-2.8-r1 python_targets_python3_6
>=dev-python/docutils-0.16 -python_targets_python2_7
>=dev-python/idna-2.8 python_targets_python3_6
>=dev-python/isodate-0.6.0-r1 python_targets_python3_6
>=dev-python/ply-3.11 python_targets_python3_6
>=dev-python/pycparser-2.20 python_targets_python3_6
>=dev-python/pycryptodome-3.9.4 python_targets_python3_6
>=dev-python/pyopenssl-19.1.0 python_targets_python3_6
>=dev-python/requests-2.23.0 python_targets_python3_6
>=dev-python/setuptools-46.4.0-r1 python_targets_python3_6
>=dev-python/setuptools-50.3.0 python_targets_python3_7
>=dev-python/setuptools_scm-4.1.2-r1 python_targets_python3_6
>=dev-python/setuptools_scm-4.1.2-r1 python_targets_python3_7
>=dev-python/six-1.14.0 python_targets_python3_6
>=dev-python/six-1.15.0-r1 python_targets_python3_7
>=dev-python/urllib3-1.25.8 python_targets_python3_6
>=virtual/python-cffi-0 python_targets_python3_6
dev-lang/python readline
net-print/cups X python
I would try simply removing all of those python_targets_python3_x
lines, and add back only those that you actually need, with an
explicit version (that is '=' instead of '>='). I had a long list of
packages on 3_6 for a while, but it's been several weeks/months since
I could remove them all.
Regards,
Arve
How would I know which ones I need? Aren't those specified by the
package author based on special needs? Otherwise, why would they be
specified, instead of left to default?
I can understand that if I have two packages depending on different
versions of the same dependency, the older one is probably left over
from an earlier update and could be removed ... although at first
glance, I don't see that situation here.
I guess you mean, remove them all and then let emerge tell me which ones
I need. I'll try that. But isn't '=' more restrictive than '>=',
promising me troubles earlier?