Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

[gentoo-user] World update and changed PYTHON_TARGETS

107 views
Skip to first unread message

Frank Steinmetzger

unread,
Nov 24, 2014, 10:40:03 PM11/24/14
to
Hey list

during yesterday's upgrade I read the news about python 3.4 being the
new profile default. In its course a lot of python-related packages were
indeed rebuilt (up until then I had set PYTHON_TARGETS to 2.7, 3.3 and
3.4 manually due to blender, which already required 3.4). But in the
end, depclean will still not remove python 3.3. So I dug and after some
more cleanup (some packages had to be un-keyword to support 3.4) I got:

---[ $ emerge -cpv python:3.3 ]-------------------------------------------------
Calculating dependencies... done!
dev-lang/python-3.3.5-r1 pulled in by:
dev-python/lxml-3.3.5 requires >=dev-lang/python-3.3.2-r2:3.3
dev-python/setuptools-7.0 requires >=dev-lang/python-3.3.2-r2:3.3
--------------------------------------------------------------------------------

What I don't understand:

---[ $ emerge -pvuD --changed-use --with-bdeps=y world ]------------------------
[...]
Total: 0 packages, Size of downloads: 0 kB

---[ $ emerge -p lxml setuptools ]----------------------------------------------
[ebuild U ~] dev-python/lxml-3.4.1 [3.3.5] PYTHON_TARGETS="-python3_3*"
[ebuild R ~] dev-python/setuptools-7.0 PYTHON_TARGETS="-pypy3% -python3_3*"

The following keyword changes are necessary to proceed:
(see "package.accept_keywords" in the portage(5) man page for more details)
# required by lxml (argument)
=dev-python/lxml-3.4.1 ~amd64

---[ $ eix -e lxml ]-------------------------------------------------------------
[I] dev-python/lxml
Available versions: 3.3.5 ~3.3.6 ~3.4.0 ~3.4.1 {beautifulsoup3 doc examples +threads PYTHON_TARGETS="python2_7 python3_3 python3_4"}
Installed versions: 3.3.5(22:03:28 05.11.2014)(threads -beautifulsoup3 -doc -examples PYTHON_TARGETS="python2_7 python3_3 python3_4 -python3_2")
--------------------------------------------------------------------------------

If I upgrade the "stable" lxml 3.3.5 to the keyworded 3.4.1, this
problem will probably go away. But I want to understand it. How can I
find out why portage thinks I need lxml 3.4.1? 3.3.5 knows about python
just 3.4 as well, it only uses a different shell syntax to express it:

3.3.5: PYTHON_COMPAT=( python{2_7,3_{2,3,4}} )
3.4.1: PYTHON_COMPAT=( python{2_7,3_3,3_4} )

---[ $ emerge -pvc lxml ]-------------------------------------------------------
Calculating dependencies... done!
dev-python/lxml-3.3.5 pulled in by:
app-text/calibre-1.20 requires >=dev-python/lxml-2.2.1
media-gfx/inkscape-0.48.5 requires dev-python/lxml[python_targets_python2_7(-),-python_single_target_jython2_5(-),-python_single_target_jython2_7(-),-python_single_target_pypy(-),-python_single_target_pypy3(-),-python_single_target_python3_3(-),-python_single_target_python3_4(-),python_single_target_python2_7(+)]
--------------------------------------------------------------------------------

Both inkscape and calibre only care about python 2.7.


Cheers and good night for now.
--
Gruß | Greetings | Qapla’
Please do not share anything from, with or about me with any social network.

I happen to have some time. Where is nothing to do?
signature.asc

Marc Joliet

unread,
Nov 26, 2014, 1:30:03 PM11/26/14
to
Am Tue, 25 Nov 2014 04:35:37 +0100
schrieb Frank Steinmetzger <War...@gmx.de>:

> Hey list
>
> during yesterday's upgrade I read the news about python 3.4 being the
> new profile default.
[...]

Perhaps you've noticed by now, but the change was reverted in the meantime.

Furthermore, eselect news shows that the news entry got deleted, too:

% eselect news list
News items:
<snip>
[36] 2014-11-23 (2014-11-23-python-targets - removed?)

At least that is the state as of my last sync at 23:00 UTC+1 last night.

HTH
--
Marc Joliet
--
"People who think they know everything really annoy those of us who know we
don't" - Bjarne Stroustrup
signature.asc

thegeezer

unread,
Nov 26, 2014, 2:30:04 PM11/26/14
to
On 26/11/14 18:23, Marc Joliet wrote:
> Am Tue, 25 Nov 2014 04:35:37 +0100
> schrieb Frank Steinmetzger <War...@gmx.de>:
>
>> Hey list
>>
>> during yesterday's upgrade I read the news about python 3.4 being the
>> new profile default.
> [...]
>
> Perhaps you've noticed by now, but the change was reverted in the meantime.
>
> Furthermore, eselect news shows that the news entry got deleted, too:
yeah i noticed this too - that was naughty should have been a news item
saying oops surely

»Q«

unread,
Nov 26, 2014, 3:10:04 PM11/26/14
to
On Wed, 26 Nov 2014 19:23:48 +0100
Marc Joliet <mar...@gmx.de> wrote:

> Am Tue, 25 Nov 2014 04:35:37 +0100
> schrieb Frank Steinmetzger <War...@gmx.de>:
>
> > Hey list
> >
> > during yesterday's upgrade I read the news about python 3.4 being
> > the new profile default.
> [...]
>
> Perhaps you've noticed by now, but the change was reverted in the
> meantime.
>
> Furthermore, eselect news shows that the news entry got deleted, too:
>
> % eselect news list
> News items:
> <snip>
> [36] 2014-11-23 (2014-11-23-python-targets - removed?)
>
> At least that is the state as of my last sync at 23:00 UTC+1 last
> night.
>
> HTH

Oh, great. I changed my settings in make.conf, eselected 3.4, rebuilt
some packages, and depcleaned 3.3. No bugs are apparent on my machine
so far, so I guess I'll keep it like this until something explodes or
there's another news item.

Jarry

unread,
Nov 26, 2014, 3:20:03 PM11/26/14
to
On 26-Nov-14 21:03, »Q« wrote:
>>>
>>> during yesterday's upgrade I read the news about python 3.4 being
>>> the new profile default.
>> [...]
>>
>> Perhaps you've noticed by now, but the change was reverted in the
>> meantime.
>>
>> Furthermore, eselect news shows that the news entry got deleted, too:
>>
>> % eselect news list
>> News items:
>> <snip>
>> [36] 2014-11-23 (2014-11-23-python-targets - removed?)
>>
>> At least that is the state as of my last sync at 23:00 UTC+1 last
>> night.
>
> Oh, great. I changed my settings in make.conf, eselected 3.4, rebuilt
> some packages, and depcleaned 3.3. No bugs are apparent on my machine
> so far, so I guess I'll keep it like this until something explodes or
> there's another news item.

I did the same. Except I could not depclean 3.3 because it is still
used by something. So now I have 2.7, 3.3 and 3.4

Jarry
--
_______________________________________________________________
This mailbox accepts e-mails only from selected mailing-lists!
Everything else is considered to be spam and therefore deleted.

wraeth

unread,
Nov 26, 2014, 5:00:03 PM11/26/14
to
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256



On 27/11/14 06:28, thegeezer wrote:
> On 26/11/14 18:23, Marc Joliet wrote:
>> Am Tue, 25 Nov 2014 04:35:37 +0100 schrieb Frank Steinmetzger
>> <War...@gmx.de>:
>>> during yesterday's upgrade I read the news about python 3.4
>>> being the new profile default.
>> Furthermore, eselect news shows that the news entry got deleted,
>> too:
> yeah i noticed this too - that was naughty should have been a news
> item saying oops surely

- From what I understand from IRC chatter, the consensus is "no user
intervention is required", so they've elected to not post a news item.

For reference, the change was reverted as per [1], though there's been
no further significant followup from that that I'm aware of.

[1]: http://article.gmane.org/gmane.linux.gentoo.devel/93899
- --
wraeth <wra...@wraeth.id.au>
GnuPG Key: B2D9F759
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iF4EAREIAAYFAlR2TUAACgkQXcRKerLZ91ncGgD/U0+puhUZi1qx9D4yl+oc42Eg
YzwSt652FJM5qu2RV4cA/1AO+y+pwZPWtk5hgkur3cQ7RHkd1/NJ7G9xosn1Sh0B
=ROlR
-----END PGP SIGNATURE-----

»Q«

unread,
Nov 26, 2014, 6:20:03 PM11/26/14
to
On Thu, 27 Nov 2014 08:59:28 +1100
wraeth <wra...@wraeth.id.au> wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA256
>
>
>
> On 27/11/14 06:28, thegeezer wrote:
> > On 26/11/14 18:23, Marc Joliet wrote:
> >> Am Tue, 25 Nov 2014 04:35:37 +0100 schrieb Frank Steinmetzger
> >> <War...@gmx.de>:
> >>> during yesterday's upgrade I read the news about python 3.4
> >>> being the new profile default.
> >> Furthermore, eselect news shows that the news entry got deleted,
> >> too:
> > yeah i noticed this too - that was naughty should have been a news
> > item saying oops surely
>
> - From what I understand from IRC chatter, the consensus is "no user
> intervention is required", so they've elected to not post a news item.
>
> For reference, the change was reverted as per [1], though there's been
> no further significant followup from that that I'm aware of.
>
> [1]: http://article.gmane.org/gmane.linux.gentoo.devel/93899

Thanks -- somehow I'd missed that post. I think these are the bugs to
watch for progress:

(python-3.4) [TRACKER] Python 3.4 incompatible packages
<https://bugs.gentoo.org/show_bug.cgi?id=504336>

(python-3.4-stable) [TRACKER] Python 3.4 stable requests
<https://bugs.gentoo.org/show_bug.cgi?id=530258>
0 new messages