Re: [gentoo-dev] News item: Python ABIFLAGS rebuild needed

2016-01-11 Thread Justin Lecher (jlec)
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA512

On 12/12/15 16:11, Mike Gilbert wrote:
> On Sat, Dec 12, 2015 at 3:54 AM, Ulrich Mueller 
> wrote:
>>> On Fri, 11 Dec 2015, Mike Gilbert wrote:
>> 
>>> It is worth noting that GLEP 42 makes no mention of EAPI, and 
>>> current versions of portage do support slots in dependency
>>> atoms used in news items.
>> 
>>> I guess it's a matter of documenting this somewhere. Where
>>> would that be?
>> 
>> We should update GLEP 42 and introduce a News-Item-Format 1.1
>> that supports EAPI 5 for dependency syntax.
>> 
>> (This has come up several times in the past already, but for
>> some reason nobody is willing to take the initiative for updating
>> the GLEP. Everyone seems to be happy with a workaround for their
>> own news item.)
> 
> Thank you. After skimming thought GLEP 1 to refresh my memory, I
> have filed bug 568068 to propose the change.
> 
> https://bugs.gentoo.org/show_bug.cgi?id=568068
> 

The council has been approved NEWS item format 1.1 supporting EAPI=5
style package dependency specification.

Justin
-BEGIN PGP SIGNATURE-
Version: GnuPG/MacGPG2 v2.0

iQJ8BAEBCgBmBQJWk3FPXxSAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w
ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQ0QUU0N0I4NzFERUI0MTJFN0EyODE0NUFF
OTQwMkE3OUIwMzUyOUEyAAoJEOlAKnmwNSmi29sP/Rsz7INlTIZiPNJiM1vksPQk
s2jgBA3J6CeFc8L8H6WsCEvNpPGmPbj/X+5cYpkbaGRaKfEBarRMuld4328wd4bh
z9LlKvrHo+83yB5y6njgDiFW0w/CrskoOW4JoJN5XNanvzQkt5FbJwNoUY/l2IYg
ezC6B3TlbDnCci2tnkzAZtjbeHd3DB6hrKuY4SWsSB55blmE24EqNp78e7BId4PA
oZZM7ju97OsdjgEFJ6eGa0csi/UiZVGwVLj94I5580Ai+2BGWBDXsoevUqg62PlN
eKm1j3afq/bTrcK1MciY+zv4IT5w0/x3gJmn+Tj2V8apxcurgJjbC8h3tWQ67DJ8
99hpiGqCBwCNU8Mpl59ZIkce239S8X8XZ4tmWbLeqZIWJ6yPiF2sRFxD3N5d+Asp
zlo7/EzJDrbDr3RXtq9x79VgG+PNJGci1CYoyzr/Pf2WkW9ss4Fie5oB8dXET9+n
HJdslP/zlqcAr5kogNeg+Mt68Jms7RQavRJDpaFqvmWGWMV9iAJp4W9dFEovfmoI
8ekMBuEgSU2he0gp6CpAuZy5ufV97q8uz3nv1KcPqCIDtg7J/dvmKZSOmp7Qg+Id
ZR1l0vAE6gXzwx1dIw/gbHXWVNudoKRNjQmQ6Ki5ApOKl4PZRb04XTGHeDONT90E
V9+Ltk9kxNfPQgHMo1I+
=wBq6
-END PGP SIGNATURE-



Re: [gentoo-dev] News item: Python ABIFLAGS rebuild needed

2015-12-12 Thread Ulrich Mueller
> On Fri, 11 Dec 2015, Mike Gilbert wrote:

> It is worth noting that GLEP 42 makes no mention of EAPI, and
> current versions of portage do support slots in dependency atoms
> used in news items.

> I guess it's a matter of documenting this somewhere. Where would
> that be?

We should update GLEP 42 and introduce a News-Item-Format 1.1 that
supports EAPI 5 for dependency syntax.

(This has come up several times in the past already, but for some
reason nobody is willing to take the initiative for updating the GLEP.
Everyone seems to be happy with a workaround for their own news item.)

Ulrich


pgpNJKZ8QzIGx.pgp
Description: PGP signature


Re: [gentoo-dev] News item: Python ABIFLAGS rebuild needed

2015-12-12 Thread Mike Gilbert
On Sat, Dec 12, 2015 at 3:54 AM, Ulrich Mueller  wrote:
>> On Fri, 11 Dec 2015, Mike Gilbert wrote:
>
>> It is worth noting that GLEP 42 makes no mention of EAPI, and
>> current versions of portage do support slots in dependency atoms
>> used in news items.
>
>> I guess it's a matter of documenting this somewhere. Where would
>> that be?
>
> We should update GLEP 42 and introduce a News-Item-Format 1.1 that
> supports EAPI 5 for dependency syntax.
>
> (This has come up several times in the past already, but for some
> reason nobody is willing to take the initiative for updating the GLEP.
> Everyone seems to be happy with a workaround for their own news item.)

Thank you. After skimming thought GLEP 1 to refresh my memory, I have
filed bug 568068 to propose the change.

https://bugs.gentoo.org/show_bug.cgi?id=568068



[gentoo-dev] News item: Python ABIFLAGS rebuild needed

2015-12-11 Thread Mike Gilbert
Hi,

Please review the news item below. I would like to send this out early next
week.


Title: Python ABIFLAGS rebuild needed
Author: Mike Gilbert 
Content-Type: text/plain
Posted: 2015-12-11
Revision: 1
News-Item-Format: 1.0
Display-If-Installed: >=dev-lang/python-3.3.5-r4:3.3
Display-If-Installed: >=dev-lang/python-3.4.3-r4:3.4
Display-If-Installed: >=dev-lang/python-3.5.0-r3:3.5

For several years, Gentoo has been patching python3 in a way that is
incompatible with PEP 3149 [1]. Gentoo has been enabling the PyMalloc feature,
but our python packages have not carried the appropriate ABI flag.

We have removed this patch from the most recent dev-lang/python ebuilds at
the time of this writing. One result of this is that any packages which
install python extension modules must be rebuilt.

You should rebuild affected packages using the following command.

emerge -1v $(find /usr/lib*/python3* -name '*cpython-3[3-5].so')

You may experience build failures in related packages until this has been
completed.

References:
[1] https://www.python.org/dev/peps/pep-3149/



Re: [gentoo-dev] News item: Python ABIFLAGS rebuild needed

2015-12-11 Thread Ulrich Mueller
> On Fri, 11 Dec 2015, Mike Gilbert wrote:

> News-Item-Format: 1.0
> Display-If-Installed: >=dev-lang/python-3.3.5-r4:3.3
> Display-If-Installed: >=dev-lang/python-3.4.3-r4:3.4
> Display-If-Installed: >=dev-lang/python-3.5.0-r3:3.5

Syntax of these headers is limited to EAPI 0, therefore you cannot use
slot dependencies there.

Ulrich


pgpkR1qrk0oqn.pgp
Description: PGP signature


Re: [gentoo-dev] News item: Python ABIFLAGS rebuild needed

2015-12-11 Thread Mike Gilbert
On Fri, Dec 11, 2015 at 9:48 PM, Mike Gilbert  wrote:
> On Fri, Dec 11, 2015 at 6:48 PM, Ulrich Mueller  wrote:
>>> On Fri, 11 Dec 2015, Mike Gilbert wrote:
>>
>>> News-Item-Format: 1.0
>>> Display-If-Installed: >=dev-lang/python-3.3.5-r4:3.3
>>> Display-If-Installed: >=dev-lang/python-3.4.3-r4:3.4
>>> Display-If-Installed: >=dev-lang/python-3.5.0-r3:3.5
>>
>> Syntax of these headers is limited to EAPI 0, therefore you cannot use
>> slot dependencies there.
>
> That sucks.
>
> How do we change that?

It is worth noting that GLEP 42 makes no mention of EAPI, and current
versions of portage do support slots in dependency atoms used in news
items.

I guess it's a matter of documenting this somewhere. Where would that be?



Re: [gentoo-dev] News item: Python ABIFLAGS rebuild needed

2015-12-11 Thread Mike Gilbert
On Fri, Dec 11, 2015 at 6:48 PM, Ulrich Mueller  wrote:
>> On Fri, 11 Dec 2015, Mike Gilbert wrote:
>
>> News-Item-Format: 1.0
>> Display-If-Installed: >=dev-lang/python-3.3.5-r4:3.3
>> Display-If-Installed: >=dev-lang/python-3.4.3-r4:3.4
>> Display-If-Installed: >=dev-lang/python-3.5.0-r3:3.5
>
> Syntax of these headers is limited to EAPI 0, therefore you cannot use
> slot dependencies there.

That sucks.

How do we change that?

Any suggestions for how I can adjust my news item in the short term?



Re: [gentoo-dev] News item: Python ABIFLAGS rebuild needed

2015-12-11 Thread Michał Górny
On Fri, 11 Dec 2015 21:48:59 -0500
Mike Gilbert  wrote:

> On Fri, Dec 11, 2015 at 6:48 PM, Ulrich Mueller  wrote:
> >> On Fri, 11 Dec 2015, Mike Gilbert wrote:  
> >  
> >> News-Item-Format: 1.0
> >> Display-If-Installed: >=dev-lang/python-3.3.5-r4:3.3
> >> Display-If-Installed: >=dev-lang/python-3.4.3-r4:3.4
> >> Display-If-Installed: >=dev-lang/python-3.5.0-r3:3.5  
> >
> > Syntax of these headers is limited to EAPI 0, therefore you cannot use
> > slot dependencies there.  
> 
> That sucks.
> 
> How do we change that?
> 
> Any suggestions for how I can adjust my news item in the short term?

=dev-lang/python-3.3.5-r4
=dev-lang/python-3.3.5-r5
...
=dev-lang/python-3.3.5-r99
~dev-lang/python-3.3.6
~dev-lang/python-3.3.7
...
~dev-lang/python-3.3.99

;-D

-- 
Best regards,
Michał Górny



pgp6AZy5NIDy1.pgp
Description: OpenPGP digital signature