public inbox for gentoo-portage-dev@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-portage-dev] [PATCH] officially drop support for python 2.6, 3.1, and 3.2
@ 2015-05-30 14:58 Mike Frysinger
  2015-06-01 21:16 ` Alexander Berntsen
  0 siblings, 1 reply; 7+ messages in thread
From: Mike Frysinger @ 2015-05-30 14:58 UTC (permalink / raw
  To: gentoo-portage-dev

We no longer support these in the ebuild and don't want to waste time
implementing compatibility shims for them.
---
 .travis.yml | 2 --
 DEVELOPING  | 8 ++++----
 README      | 2 +-
 runtests.sh | 4 ++--
 4 files changed, 7 insertions(+), 9 deletions(-)

diff --git a/.travis.yml b/.travis.yml
index 69e1659..8a86aa6 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -1,8 +1,6 @@
 language: python
 python:
-    - 2.6
     - 2.7
-    - 3.2
     - 3.3
     - 3.4
     - pypy
diff --git a/DEVELOPING b/DEVELOPING
index 55470d8..0b0bb60 100644
--- a/DEVELOPING
+++ b/DEVELOPING
@@ -8,10 +8,10 @@ bad habits that exist in the current codebase.
 Python Version
 --------------
 
-Python 2.6 is the minimum supported version, since it is the first
-version to support Python 3 syntax. All exception handling should use
-Python 3 'except' syntax, and the print function should be used instead
-of Python 2's print statement (from __future__ import print_function).
+Python 2.7 is the minimum supported version as it eases 3.x compatibility.
+All exception handling should use Python 3 'except' syntax, and the print
+function should be used instead of Python 2's print statement (use "from
+__future__ import print_function" everywhere).
 
 Dependencies
 ------------
diff --git a/README b/README
index 5558dde..415a962 100644
--- a/README
+++ b/README
@@ -10,7 +10,7 @@ package managers.
 Dependencies
 ============
 
-Python and Bash should be the only hard dependencies. Python 2.6 is the
+Python and Bash should be the only hard dependencies. Python 2.7 is the
 minimum supported version.
 
 
diff --git a/runtests.sh b/runtests.sh
index 651928f..a7ca101 100755
--- a/runtests.sh
+++ b/runtests.sh
@@ -3,8 +3,8 @@
 # Distributed under the terms of the GNU General Public License v2
 
 # These are the versions we care about.  The rest are just "nice to have".
-PYTHON_SUPPORTED_VERSIONS="2.6 2.7 3.2 3.3 3.4"
-PYTHON_VERSIONS="2.6 2.7 pypy 3.1 3.2 3.3 3.4 3.5"
+PYTHON_SUPPORTED_VERSIONS="2.7 3.3 3.4"
+PYTHON_VERSIONS="2.7 pypy 3.3 3.4 3.5"
 
 # has to be run from portage root dir
 cd "${0%/*}" || exit 1
-- 
2.4.1



^ permalink raw reply related	[flat|nested] 7+ messages in thread

* Re: [gentoo-portage-dev] [PATCH] officially drop support for python 2.6, 3.1, and 3.2
  2015-05-30 14:58 [gentoo-portage-dev] [PATCH] officially drop support for python 2.6, 3.1, and 3.2 Mike Frysinger
@ 2015-06-01 21:16 ` Alexander Berntsen
  2015-06-02  4:42   ` Mike Frysinger
  0 siblings, 1 reply; 7+ messages in thread
From: Alexander Berntsen @ 2015-06-01 21:16 UTC (permalink / raw
  To: gentoo-portage-dev

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

On 30/05/15 16:58, Mike Frysinger wrote:
> We no longer support these in the ebuild and don't want to waste 
> time implementing compatibility shims for them.
In principle I don't mind this at all.

However, should we do some sort of survey? Maybe a forum poll or
something to see if someone desperately needs them?

- -- 
Alexander
bernalex@gentoo.org
https://secure.plaimi.net/~alexander
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQIcBAEBCgAGBQJVbMupAAoJENQqWdRUGk8BdtMQALoiCoB56KKAPA8MQs+VM9L6
kuQyg02ihr3VuhV9ztU08D7BbQtBM3SL0/yglJ1uGKnBy2LuVaB6Mj97sWi7brRO
pvoo/EWaaW68nclBsiL2EohXkQEa+OVi58psugHXSONQi+p9bpyxYfUrVteFVBo3
6GwM6ylmplLWVvNfGwl/GKCkIZrtCs7G7wmbhla3vXYP+ymvA5eAHc5O37GtzM5x
qXVb7ItTHlaqBMySk1yjzgxUfOl16GkCiEtqckQXGzN4l0uKczFjSfAbyUGhD/GP
LcjV2R2BDlUkD8n++oeJYdZbQNg8TXoz3UfJdSIZK4Q4O2I8FpAG96QrzGrICDyM
GDB4hz2hqfcEFqgiygcp87jsdw5Iu/e2qO3/BvarOo20E63Rlqsa9IhU4i4hWXGe
Xm8GecdM3e7mchXUsEzL6bYD9JPOPwH+29JypQOJ9i2ZVGTnnxvcpq7zbrV5u/Wu
pBC90XqkFdyogMADhgHJXyYQIa0t2Cfh2gpObKn2oTtV5v+LsHNgYn/eip4C1gsZ
3cR7RpCYNrxJmk2Dh8eNUEsqTg8y/u1M7/d8lRGn8+WrvSjcdtGV7XoQRoJyb14U
aiS7DFuslsl/8uDMZAKbeW8PfeK5dgf7q1tDiQvtAg9gZRqa8P4YaMcBrcI6N6Fj
jx5jSE4UNVJJu/EVeKcr
=XUJY
-----END PGP SIGNATURE-----


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [gentoo-portage-dev] [PATCH] officially drop support for python 2.6, 3.1, and 3.2
  2015-06-01 21:16 ` Alexander Berntsen
@ 2015-06-02  4:42   ` Mike Frysinger
  2015-06-02  4:49     ` Alexander Berntsen
  0 siblings, 1 reply; 7+ messages in thread
From: Mike Frysinger @ 2015-06-02  4:42 UTC (permalink / raw
  To: gentoo-portage-dev

[-- Attachment #1: Type: text/plain, Size: 1102 bytes --]

On 01 Jun 2015 23:16, Alexander Berntsen wrote:
> On 30/05/15 16:58, Mike Frysinger wrote:
> > We no longer support these in the ebuild and don't want to waste 
> > time implementing compatibility shims for them.
> 
> In principle I don't mind this at all.
> 
> However, should we do some sort of survey? Maybe a forum poll or
> something to see if someone desperately needs them?

the portage ebuild dropped support:
  python 3.1: 21 months ago
  python 2.6: 10 months ago
  python 3.2: 8 weeks ago

the python team itself no longer supports these versions either and it's not 
possible to install other modules using them.  they're already forcing you to 
pick 2.7 or 3.3+.

plus, i'm not talking about changing existing releases, just new ones, which 
means it's going to be a while before people are completely impacted.  at some 
point we have to move forward and the shims for 2.6/3.1/3.2 are holding us 
back now.  2.6 is obvious enough, but 3.1 & 3.2 are a pain due to the unicode 
differences.  conversely, py2.7 and py3.3+ have the same unicode literal format.
-mike

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 819 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [gentoo-portage-dev] [PATCH] officially drop support for python 2.6, 3.1, and 3.2
  2015-06-02  4:42   ` Mike Frysinger
@ 2015-06-02  4:49     ` Alexander Berntsen
  2015-06-02 14:43       ` Mike Frysinger
  0 siblings, 1 reply; 7+ messages in thread
From: Alexander Berntsen @ 2015-06-02  4:49 UTC (permalink / raw
  To: gentoo-portage-dev

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

On 02/06/15 06:42, Mike Frysinger wrote:
> the portage ebuild dropped support:
>   python 3.1: 21 months ago
>   python 2.6: 10 months ago
>   python 3.2: 8 weeks ago
>
> the python team itself no longer supports these versions either and 
> it's not possible to install other modules using them.  they're 
> already forcing you to pick 2.7 or 3.3+.
You make a compelling case here.

> plus, i'm not talking about changing existing releases, just new 
> ones, which means it's going to be a while before people are 
> completely impacted.
I realise that. Anything else would be stupid.

> at some point we have to move forward and the shims for 2.6/3.1/3.2 
> are holding us back now.  2.6 is obvious enough, but 3.1 & 3.2 are a 
> pain due to the unicode differences.  conversely, py2.7 and py3.3+ 
> have the same unicode literal format.
I agree on all points.


So I think this patch would be fine to merge. I'd like Brian to chime in, but I'm a tentative +1.

I'd make the commit msg «Officially drop support for python 2.6, 3.1, & 3.2» to keep within 50c (personal preference). In any event, capital 'O' please.
- -- 
Alexander
bernalex@gentoo.org
https://secure.plaimi.net/~alexander
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQIcBAEBCgAGBQJVbTXjAAoJENQqWdRUGk8BnQUQANZzAnBWoIPACNQ86RSt8nd3
HJ60WtHGUMJthHTf3J0xwK/DLsAd4iesOU/6/sKQJC2Cdvz98OHnneZ8/mLrw3pv
1lfn4oEdkQWhiCiDnJ85rl+f+s3AP9L3wDiX3TUX6rVhIXPz+8KxhNlvBWpdo/aN
EdaQv3xWFi7l8IaN/HkDgOkgQdBJYOn7DnvcQJdGQDtk5/e/xp/JGdMssMhv6Cr3
gX5X40TJZQrkkTLBUdqNZRyNZxo8LrynR5MKD/IivIT7evcj8pGEE4IciM847JzG
tGVruXq1ONay3ecw1SfyPwRUu1MJiy42OovCXGV1lkUrs0vXkG9RaUyUCkuKGzDh
kSmluCDFAOlXbjTjWGpxwFP3hAf3VeRMCJ/Acby/PTGrPPotm/hYWhTJB7SGf8wh
9AR5YBBQj6BrPeFsHYqGMCXHI9ycxyfGSY/X/h9t1RAhLdaZF2QkwxutI55aQ2sh
h3onfmLMtDz21dBsa6B8dFRenPJR34D95qzQ96kQ3tVLTgVlv/P7Xvb4lori2pTk
eUsSVCKnXQL5v4xQCtG80UaS3ENieEwK5Hv3WNGH3LUcZWDhUT8v6fTzufQrBL1D
Q8i66GM0t1FCFwTEZixA9WeBggQOVVqCLqtUm2gAn1SdAbTIz1uFAN0bRL4CuqJ9
dSN2VtsNrL6JjDJBr7i8
=HKg2
-----END PGP SIGNATURE-----


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [gentoo-portage-dev] [PATCH] officially drop support for python 2.6, 3.1, and 3.2
  2015-06-02  4:49     ` Alexander Berntsen
@ 2015-06-02 14:43       ` Mike Frysinger
  2015-06-02 14:49         ` Alexander Berntsen
  0 siblings, 1 reply; 7+ messages in thread
From: Mike Frysinger @ 2015-06-02 14:43 UTC (permalink / raw
  To: gentoo-portage-dev

[-- Attachment #1: Type: text/plain, Size: 1314 bytes --]

On 02 Jun 2015 06:49, Alexander Berntsen wrote:
> On 02/06/15 06:42, Mike Frysinger wrote:
> > the portage ebuild dropped support:
> >   python 3.1: 21 months ago
> >   python 2.6: 10 months ago
> >   python 3.2: 8 weeks ago
> >
> > the python team itself no longer supports these versions either and 
> > it's not possible to install other modules using them.  they're 
> > already forcing you to pick 2.7 or 3.3+.
> You make a compelling case here.
> 
> > plus, i'm not talking about changing existing releases, just new 
> > ones, which means it's going to be a while before people are 
> > completely impacted.
> I realise that. Anything else would be stupid.
> 
> > at some point we have to move forward and the shims for 2.6/3.1/3.2 
> > are holding us back now.  2.6 is obvious enough, but 3.1 & 3.2 are a 
> > pain due to the unicode differences.  conversely, py2.7 and py3.3+ 
> > have the same unicode literal format.
> I agree on all points.
> 
> 
> So I think this patch would be fine to merge. I'd like Brian to chime in, but I'm a tentative +1.

<dol-sen> but yeah, I don't see a problem in dropping them
<zmedico> yeah
<dol-sen> especially since gkeys is not 3.2 capable
<dol-sen> and I'm starting to integrate it in portage
<zmedico> those pythons are ancient
-mike

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 819 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [gentoo-portage-dev] [PATCH] officially drop support for python 2.6, 3.1, and 3.2
  2015-06-02 14:43       ` Mike Frysinger
@ 2015-06-02 14:49         ` Alexander Berntsen
  2015-06-02 15:33           ` Mike Frysinger
  0 siblings, 1 reply; 7+ messages in thread
From: Alexander Berntsen @ 2015-06-02 14:49 UTC (permalink / raw
  To: gentoo-portage-dev

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

On 02/06/15 16:43, Mike Frysinger wrote:
> <dol-sen> but yeah, I don't see a problem in dropping them 
> <zmedico> yeah <dol-sen> especially since gkeys is not 3.2 capable 
> <dol-sen> and I'm starting to integrate it in portage <zmedico>
> those pythons are ancient
OK. Go for it.
- -- 
Alexander
bernalex@gentoo.org
https://secure.plaimi.net/~alexander
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQIcBAEBCgAGBQJVbcJzAAoJENQqWdRUGk8BwYoP/0Qj3sWCYKMwVsT277ERwyvf
piokA2+2Amo9QO0PbAIdx9+Ng7oE8GgDZzyRLV3YRNY+dFxC58Xs5xzrWW1AFOYz
wJOGQPl5cNCltvswJIdkgGRFBTUoYmB7BJy6VsdHYyo2KyLWTWvrJBketAlhKmiN
tLy2XUkjq0T/MxjGWblmCc6+k1Zkj9tYfOUJqDLGxRC2mxLI8YDX68ykg1vK5333
/KiwzZs8va+5+I/JmpasztcrAmSNbQxN4I/pQ9bqoT62fY8N/AZq2krdJWjD0KSE
+EwYTNf7lob/Fg9+eZa4+W08GVFoEcjM3nzGbHcekw0ZCCYlZeBudwKKXMmxIGbU
tn2NyK9J5v5VyDPK7mJQ5jHDJ106DXbG0POF5BVdB9QVdXia/pAvPv8T2DXL8C33
MwvjSZ+CPAvPn4S43uU3TGEbt+oo52fUvDuzXENCvRtYQKbIYaZe5DQ+zdB0Z+xx
GxaU6uLNnfr5YCA/SghQr5h+0E07cgE+E4SUEaY9jjHL8GUYBiOI10a8rq/uVhRW
/vvxqLX4wegBCp1U5/hOouOxXNoznY6mc69rwsu4kfWYdoq3Vs4W3pyACU8Oo/vH
jr/kAdf/YOMLihnTEx3tMnQkB6gmR3C0kivlQFsDueuwtWBB9+iS3YKqQA61epay
QRYD3YddcMHsS5X+gw8c
=gFyG
-----END PGP SIGNATURE-----


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [gentoo-portage-dev] [PATCH] officially drop support for python 2.6, 3.1, and 3.2
  2015-06-02 14:49         ` Alexander Berntsen
@ 2015-06-02 15:33           ` Mike Frysinger
  0 siblings, 0 replies; 7+ messages in thread
From: Mike Frysinger @ 2015-06-02 15:33 UTC (permalink / raw
  To: gentoo-portage-dev

[-- Attachment #1: Type: text/plain, Size: 486 bytes --]

On 02 Jun 2015 16:49, Alexander Berntsen wrote:
> On 02/06/15 16:43, Mike Frysinger wrote:
> > <dol-sen> but yeah, I don't see a problem in dropping them 
> > <zmedico> yeah <dol-sen> especially since gkeys is not 3.2 capable 
> > <dol-sen> and I'm starting to integrate it in portage <zmedico>
> > those pythons are ancient
>
> OK. Go for it.

i shall do so in a day or two in case there are any 11th hour posters.
and to make sure i'm not misrepresenting Brian/Zac.
-mike

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 819 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2015-06-02 15:33 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-05-30 14:58 [gentoo-portage-dev] [PATCH] officially drop support for python 2.6, 3.1, and 3.2 Mike Frysinger
2015-06-01 21:16 ` Alexander Berntsen
2015-06-02  4:42   ` Mike Frysinger
2015-06-02  4:49     ` Alexander Berntsen
2015-06-02 14:43       ` Mike Frysinger
2015-06-02 14:49         ` Alexander Berntsen
2015-06-02 15:33           ` Mike Frysinger

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox