Gentoo Archives: gentoo-dev

From: Mike Gilbert <floppym@g.o>
To: gentoo-dev@l.g.o
Cc: python@g.o
Subject: [gentoo-dev] News item: Python ABIFLAGS rebuild needed
Date: Fri, 11 Dec 2015 22:02:36
Message-Id: 1449871344-21099-1-git-send-email-floppym@gentoo.org
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/

Replies

Subject Author
Re: [gentoo-dev] News item: Python ABIFLAGS rebuild needed Ulrich Mueller <ulm@g.o>