requirements/openstack_requirements
Hervé Beraud fac394f79c 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]

[1] https://docs.python.org/3/library/__future__.html
[2] https://governance.openstack.org/tc/goals/selected/ussuri/drop-py27.html
[3] https://www.python.org/dev/peps/pep-0238
[4] https://www.python.org/dev/peps/pep-3105
[5] https://www.python.org/dev/peps/pep-3112
[6] https://www.python.org/dev/peps/pep-0343
[7] https://www.python.org/dev/peps/pep-0328

Change-Id: I15d451f6a832b2e698b28e7351a36ef7aea92abe
2020-06-02 20:56:04 +02:00
..
cmds Stop to use the __future__ module. 2020-06-02 20:56:04 +02:00
tests Stop to use the __future__ module. 2020-06-02 20:56:04 +02:00
__init__.py Move tests into openstack_requirements. 2015-06-08 22:07:01 +12:00
check.py Soften the py3-only warning check 2020-03-23 14:46:34 -05:00
constraints.py Add check for prerelease and further clean up error message. 2019-01-29 15:34:07 -06:00
project_config.py Update project-config validation 2017-10-25 12:22:43 +00:00
project.py Fix the warning to read the configuration file. 2020-01-16 15:28:22 +01:00
requirement.py mark regex as regex for pycodestyle 2019-12-13 23:17:32 -06:00