Commit Graph

4 Commits (master)

Author SHA1 Message Date
Takashi Kajinami b07dd1d2f8 Remove logic for Python <= 2.6
... because that old version is no longer supported.

Also the check_python_version method is removed by this change, because
the required python version is now enforced by setup.cfg.

Change-Id: Ie9c91adcb81a1a5dbca2587b6592a58d4cc91e4a
11 months ago
Hervé Beraud 3d476079a4 Stop to use the __future__ module.
The __future__ module [1] was used in this context to ensure compatibility
between python 2 and python 3.

We previously dropped the support of python 2.7 [2] and now we only support
python 3 so we don't need to continue to use this module and the imports
listed below.

Imports commonly used and their related PEPs:
- `division` is related to PEP 238 [3]
- `print_function` is related to PEP 3105 [4]
- `unicode_literals` is related to PEP 3112 [5]
- `with_statement` is related to PEP 343 [6]
- `absolute_import` is related to PEP 328 [7]


Change-Id: I9dcb02f5417c0f1d0ffce94267953a426252a56b
3 years ago
Andreas Jaeger 279ea4766e Update hacking for Python3
The repo is Python 3 now, so update hacking to version 3.0 which
supports Python 3.

Fix problems found.

Remove hacking and friends from lower-constraints, they are not needed
for installation.

Change-Id: I99b8b24f714858f6b289e5e7b5976e519bb81c11
3 years ago
Brian D. Elliott 5bfe34f744 Add a
An alternative to running tox, similar to other repos like glance and

Change-Id: I0dbab69dbfed2186b0c45036718081abed56d689
9 years ago