Skip to content

Commit f348782

Browse files
committed
chore(compat): drop Python 2 support, add Python 3.8, 3.9, 3.10 support
Python 2.7 and 3.4, 3.5 are now EOL https://devguide.python.org/devcycle/#end-of-life-branches. For Python 2 support, version 0.6.0 should be used. Signed-off-by: Romain Beuque <556072+rbeuque74@users.noreply.github.com>
1 parent 6b85e1b commit f348782

File tree

2 files changed

+9
-13
lines changed

2 files changed

+9
-13
lines changed

README.rst

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
:alt: Python & OVH APIs
33
:target: https://pypi.python.org/pypi/ovh
44

5-
Lightweight wrapper around OVH's APIs. Handles all the hard work including
5+
Lightweight wrapper around OVHcloud's APIs. Handles all the hard work including
66
credential creation and requests signing.
77

88
.. image:: https://img.shields.io/pypi/v/ovh.svg
@@ -45,7 +45,7 @@ credential creation and requests signing.
4545
Installation
4646
============
4747

48-
The python wrapper works with Python 2.7 and Python 3.4+.
48+
The python wrapper works with Python 3.6+.
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``.
@@ -60,6 +60,8 @@ Alternatively, you may get latest development version directly from Git.
6060
6161
pip install -e git+https://github.com/ovh/python-ovh.git#egg=ovh
6262
63+
People looking for Python 2 compatibility should use 0.6.x version.
64+
6365
Example Usage
6466
=============
6567

@@ -132,12 +134,6 @@ customer's information:
132134
.. code:: python
133135
134136
# -*- encoding: utf-8 -*-
135-
136-
try:
137-
input = raw_input
138-
except NameError:
139-
pass
140-
141137
import ovh
142138
143139
# create a client using configuration

setup.cfg

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
[metadata]
22
name = ovh
3-
description = "Official OVH.com API wrapper"
3+
description = "Official module to perform HTTP requests to the OVHcloud APIs"
44
long_description = file: README.rst
5-
version = 0.6.0
5+
version = 1.0.0
66
author = OVHcloud team - Romain Beuque
77
author_email = api@ml.ovh.net
88
url = https://api.ovh.com
@@ -15,12 +15,12 @@ classifiers =
1515
Intended Audience :: Developers
1616
Operating System :: OS Independent
1717
Programming Language :: Python
18-
Programming Language :: Python :: 2.7
1918
Programming Language :: Python :: 3
20-
Programming Language :: Python :: 3.4
21-
Programming Language :: Python :: 3.5
2219
Programming Language :: Python :: 3.6
2320
Programming Language :: Python :: 3.7
21+
Programming Language :: Python :: 3.8
22+
Programming Language :: Python :: 3.9
23+
Programming Language :: Python :: 3.10
2424
Topic :: Software Development :: Libraries :: Python Modules
2525
Topic :: System :: Archiving :: Packaging
2626

0 commit comments

Comments
 (0)