Gentoo Archives: gentoo-dev

From: Jeremy Olexa <darkside@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] Deprecation of python_version(), python_mod_exists(), python_tkinter_exists(), distutils_python_version() and distutils_python_tkinter() in EAPI <=2
Date: Wed, 03 Mar 2010 14:03:32
Message-Id: 4B8E6BFA.3030204@gentoo.org
In Reply to: Re: [gentoo-dev] Deprecation of python_version(), python_mod_exists(), python_tkinter_exists(), distutils_python_version() and distutils_python_tkinter() in EAPI <=2 by "Petteri Räty"
1 Petteri Räty wrote:
2 > On 03/02/2010 08:27 PM, Arfrever Frehtes Taifersar Arahesis wrote:
3 >> Members of Gentoo Python Project have agreed to deprecate the following functions
4 >> in EAPI <=2:
5 >> - python_version()
6 >> - python_mod_exists()
7 >> - python_tkinter_exists()
8 >> - distutils_python_version()
9 >> - distutils_python_tkinter()
10 >>
11 >> These functions are already banned in EAPI >=3.
12 >>
13 >> 1. In this week, these functions will start printing deprecation warnings in older EAPIs.
14 >> 2. On 2010-07-01, these functions will start calling die().
15 >> (If any ebuilds in gentoo-x86 still call any of these functions on 2010-07-01,
16 >> then addition of calls to die() will be delayed.)
17 >> 3. On 2011-01-01, these functions will be removed.
18 >>
19 >
20 > Removing eclass functions like this is not allowed by current policy. If
21 > you want to do it, you should discuss about changing policy.
22
23 That is a bogus "policy" - never heard of it myself, either.
24
25 I don't always agree with Arfrever's methods but he has thought this one
26 out and has a decent migration plan, imo. Sounds good to me.
27
28 -Jeremy
29
30 >
31 > Regards,
32 > Petteri
33 >