Update the minimum python versions to install (#46230)
* Update the minimum python versions to install This will prevent modern pip from installing ansible-2.7.x in python-2.6. Users will get the Ansible-2.6.x maintenance releases instead.
This commit is contained in:
parent
04ddadd89b
commit
ccf41bb2fe
1 changed files with 3 additions and 2 deletions
5
setup.py
5
setup.py
|
@ -244,7 +244,7 @@ static_setup_params = dict(
|
||||||
license='GPLv3+',
|
license='GPLv3+',
|
||||||
# Ansible will also make use of a system copy of python-six and
|
# Ansible will also make use of a system copy of python-six and
|
||||||
# python-selectors2 if installed but use a Bundled copy if it's not.
|
# python-selectors2 if installed but use a Bundled copy if it's not.
|
||||||
python_requires='>=2.6,!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*,!=3.4.*',
|
python_requires='>=2.7,!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*,!=3.4.*',
|
||||||
package_dir={'': 'lib'},
|
package_dir={'': 'lib'},
|
||||||
packages=find_packages('lib'),
|
packages=find_packages('lib'),
|
||||||
package_data={
|
package_data={
|
||||||
|
@ -270,8 +270,9 @@ static_setup_params = dict(
|
||||||
'License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)',
|
'License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)',
|
||||||
'Natural Language :: English',
|
'Natural Language :: English',
|
||||||
'Operating System :: POSIX',
|
'Operating System :: POSIX',
|
||||||
'Programming Language :: Python :: 2.6',
|
'Programming Language :: Python :: 2',
|
||||||
'Programming Language :: Python :: 2.7',
|
'Programming Language :: Python :: 2.7',
|
||||||
|
'Programming Language :: Python :: 3',
|
||||||
'Programming Language :: Python :: 3.5',
|
'Programming Language :: Python :: 3.5',
|
||||||
'Programming Language :: Python :: 3.6',
|
'Programming Language :: Python :: 3.6',
|
||||||
'Programming Language :: Python :: 3.7',
|
'Programming Language :: Python :: 3.7',
|
||||||
|
|
Loading…
Reference in a new issue