Skip to content

Drop support for EOL Python 2.6, 3.2 and 3.3 #71

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Dec 13, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
language: python
python:
- "2.6"
- "2.7"
- "3.3"
- "3.4"
- "3.5"
- "3.6"
Expand Down
2 changes: 1 addition & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ credential creation and requests signing.
Installation
============

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

The easiest way to get the latest stable release is to grab it from `pypi
<https://pypi.python.org/pypi/ovh>`_ using ``pip``.
Expand Down
4 changes: 2 additions & 2 deletions debian/control
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ Priority: optional
Maintainer: Arnaud Morin <[email protected]>
Build-Depends: debhelper (>= 9), python-all, dh-python, python-setuptools, python3-setuptools, python3-all
Standards-Version: 3.9.5
X-Python-Version: >= 2.6
X-Python3-Version: >= 3.2
X-Python-Version: >= 2.7
X-Python3-Version: >= 3.4

Package: python-ovh
Architecture: all
Expand Down
3 changes: 0 additions & 3 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,8 @@ classifiers =
Intended Audience :: Developers
Operating System :: OS Independent
Programming Language :: Python
Programming Language :: Python :: 2.6
Programming Language :: Python :: 2.7
Programming Language :: Python :: 3
Programming Language :: Python :: 3.3
Programming Language :: Python :: 3.4
Programming Language :: Python :: 3.5
Programming Language :: Python :: 3.6
Expand Down Expand Up @@ -46,7 +44,6 @@ dev =
yanc==0.2.4
Sphinx==1.2.2
coveralls==0.4.4
ordereddict==1.0;python_version<"2.7"
setuptools>=30.3.0
wheel
test =
Expand Down
7 changes: 1 addition & 6 deletions tests/test_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,15 +29,10 @@
import unittest
import mock
import json
from collections import OrderedDict

from ovh.vendor import requests

try:
from collections import OrderedDict
except ImportError:
# Python 2.6
from ordereddict import OrderedDict

from ovh.client import Client, ENDPOINTS
from ovh.exceptions import (
APIError, NetworkError, InvalidResponse, InvalidRegion, ReadOnlyError,
Expand Down