The Python core team[*1] stopped supporting python 2.6. Some Python libraries started following the same path and trying to support 2.6 becomes painful...
For example, most of you already noticed, oslo.config dropped 2.6 support. I tried to work around it with the following commit: https://github.com/osrg/ryu/commit/22501710983fb79a8a337e6bf650821efdc7cf59 But this forces users of decent distributions (e.g Ubuntu 14.04) to upgrade pip (old pip versions can't understand version conditions). [*1] http://www.curiousefficiency.org/posts/2015/04/stop-supporting-python26.html Signed-off-by: FUJITA Tomonori <[email protected]> --- .travis.yml | 1 - setup.cfg | 1 - tools/pip-requires | 3 +-- tox.ini | 2 +- 4 files changed, 2 insertions(+), 5 deletions(-) diff --git a/.travis.yml b/.travis.yml index f55c0ed..99857d0 100644 --- a/.travis.yml +++ b/.travis.yml @@ -3,7 +3,6 @@ python: - "2.7" env: - - TOX_ENV=py26 - TOX_ENV=py27 - TOX_ENV=py34 - TOX_ENV=pypy diff --git a/setup.cfg b/setup.cfg index 626e0f8..22737a3 100644 --- a/setup.cfg +++ b/setup.cfg @@ -13,7 +13,6 @@ classifier = Topic :: System :: Networking Natural Language :: English Programming Language :: Python - Programming Language :: Python :: 2.6 Programming Language :: Python :: 2.7 Programming Language :: Python :: 3 Programming Language :: Python :: 3.4 diff --git a/tools/pip-requires b/tools/pip-requires index c274774..567600f 100644 --- a/tools/pip-requires +++ b/tools/pip-requires @@ -1,8 +1,7 @@ eventlet>=0.15 msgpack-python>=0.3.0 # RPC library, BGP speaker(net_cntl) netaddr -oslo.config>=1.6.0, <=3.0.0 ; python_version < '2.7' -oslo.config>=1.6.0 ; python_version >= '2.7' +oslo.config>=1.6.0 routes # wsgi six>=1.4.0 webob>=1.2 # wsgi diff --git a/tox.ini b/tox.ini index d13f444..b0cbdd1 100644 --- a/tox.ini +++ b/tox.ini @@ -1,5 +1,5 @@ [tox] -envlist = py26,py27,py34,pypy,pep8 +envlist = py27,py34,pypy,pep8 [testenv] deps = -U -- 2.1.4 ------------------------------------------------------------------------------ Site24x7 APM Insight: Get Deep Visibility into Application Performance APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month Monitor end-to-end web transactions and take corrective actions now Troubleshoot faster and improve end-user experience. Signup Now! http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140 _______________________________________________ Ryu-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/ryu-devel
