Skip to content

Commit f14b919

Browse files
committed
Drop support for EOL Python 2.6, 3.2 and 3.3
Signed-off-by: Hugo <[email protected]>
1 parent 6e9835d commit f14b919

File tree

5 files changed

+4
-14
lines changed

5 files changed

+4
-14
lines changed

.travis.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
language: python
22
python:
3-
- "2.6"
43
- "2.7"
5-
- "3.3"
64
- "3.4"
75
- "3.5"
86
- "3.6"

README.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ credential creation and requests signing.
4545
Installation
4646
============
4747

48-
The python wrapper works with Python 2.6+ and Python 3.2+.
48+
The python wrapper works with Python 2.7 and Python 3.4+.
4949

5050
The easiest way to get the latest stable release is to grab it from `pypi
5151
<https://pypi.python.org/pypi/ovh>`_ using ``pip``.

debian/control

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ Priority: optional
44
Maintainer: Arnaud Morin <[email protected]>
55
Build-Depends: debhelper (>= 9), python-all, dh-python, python-setuptools, python3-setuptools, python3-all
66
Standards-Version: 3.9.5
7-
X-Python-Version: >= 2.6
8-
X-Python3-Version: >= 3.2
7+
X-Python-Version: >= 2.7
8+
X-Python3-Version: >= 3.4
99

1010
Package: python-ovh
1111
Architecture: all

setup.cfg

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,8 @@ classifiers =
1515
Intended Audience :: Developers
1616
Operating System :: OS Independent
1717
Programming Language :: Python
18-
Programming Language :: Python :: 2.6
1918
Programming Language :: Python :: 2.7
2019
Programming Language :: Python :: 3
21-
Programming Language :: Python :: 3.3
2220
Programming Language :: Python :: 3.4
2321
Programming Language :: Python :: 3.5
2422
Programming Language :: Python :: 3.6
@@ -46,7 +44,6 @@ dev =
4644
yanc==0.2.4
4745
Sphinx==1.2.2
4846
coveralls==0.4.4
49-
ordereddict==1.0;python_version<"2.7"
5047
setuptools>=30.3.0
5148
wheel
5249
test =

tests/test_client.py

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -29,15 +29,10 @@
2929
import unittest
3030
import mock
3131
import json
32+
from collections import OrderedDict
3233

3334
from ovh.vendor import requests
3435

35-
try:
36-
from collections import OrderedDict
37-
except ImportError:
38-
# Python 2.6
39-
from ordereddict import OrderedDict
40-
4136
from ovh.client import Client, ENDPOINTS
4237
from ovh.exceptions import (
4338
APIError, NetworkError, InvalidResponse, InvalidRegion, ReadOnlyError,

0 commit comments

Comments
 (0)