Gentoo Archives: gentoo-dev

From: Arfrever Frehtes Taifersar Arahesis <Arfrever@g.o>
To: Gentoo Development <gentoo-dev@l.g.o>
Subject: [gentoo-dev] Deprecation of python_version(), python_mod_exists(), python_tkinter_exists(), distutils_python_version() and distutils_python_tkinter() in EAPI <=2
Date: Tue, 02 Mar 2010 18:24:04
Message-Id: 201003021927.18379.Arfrever@gentoo.org
1 Members of Gentoo Python Project have agreed to deprecate the following functions
2 in EAPI <=2:
3 - python_version()
4 - python_mod_exists()
5 - python_tkinter_exists()
6 - distutils_python_version()
7 - distutils_python_tkinter()
8
9 These functions are already banned in EAPI >=3.
10
11 1. In this week, these functions will start printing deprecation warnings in older EAPIs.
12 2. On 2010-07-01, these functions will start calling die().
13 (If any ebuilds in gentoo-x86 still call any of these functions on 2010-07-01,
14 then addition of calls to die() will be delayed.)
15 3. On 2011-01-01, these functions will be removed.
16
17 I will also send the announcement to gentoo-dev-announce mailing list to ensure
18 that developers not subscribed to gentoo-dev mailing list will notice the deprecation.
19 The attached patch shows text of deprecation warnings.
20
21 --
22 Arfrever Frehtes Taifersar Arahesis

Attachments

File name MIME type
deprecation_warnings.patch text/x-patch
signature.asc application/pgp-signature

Replies