1 |
Hi, |
2 |
|
3 |
Please review the news item below. I would like to send this out early next |
4 |
week. |
5 |
|
6 |
|
7 |
Title: Python ABIFLAGS rebuild needed |
8 |
Author: Mike Gilbert <floppym@g.o> |
9 |
Content-Type: text/plain |
10 |
Posted: 2015-12-11 |
11 |
Revision: 1 |
12 |
News-Item-Format: 1.0 |
13 |
Display-If-Installed: >=dev-lang/python-3.3.5-r4:3.3 |
14 |
Display-If-Installed: >=dev-lang/python-3.4.3-r4:3.4 |
15 |
Display-If-Installed: >=dev-lang/python-3.5.0-r3:3.5 |
16 |
|
17 |
For several years, Gentoo has been patching python3 in a way that is |
18 |
incompatible with PEP 3149 [1]. Gentoo has been enabling the PyMalloc feature, |
19 |
but our python packages have not carried the appropriate ABI flag. |
20 |
|
21 |
We have removed this patch from the most recent dev-lang/python ebuilds at |
22 |
the time of this writing. One result of this is that any packages which |
23 |
install python extension modules must be rebuilt. |
24 |
|
25 |
You should rebuild affected packages using the following command. |
26 |
|
27 |
emerge -1v $(find /usr/lib*/python3* -name '*cpython-3[3-5].so') |
28 |
|
29 |
You may experience build failures in related packages until this has been |
30 |
completed. |
31 |
|
32 |
References: |
33 |
[1] https://www.python.org/dev/peps/pep-3149/ |