Drop unsupported Python 2.6#83
Conversation
|
Here's the pip installs for pyyaml from PyPI for the last month -- only 1% for 2.6: |
|
@hugovk Ansible has not dropped support for 2.6, the page referenced above is documenting the support for Python 3 versions, not all Python versions. As of Ansible 2.4, Python2 >=2.6 is supported, it just dropped Python 2.4/2.5 in this version. Python 3 support is >=3.5. |
|
Right you are, I misread that! Thanks for clearing it up and feel free to close this. |
|
@sigmavirus24 and @hugovk and @bcoca: Travis seems to be having issues with Python 2.6. Should this issue be re-opened? |
|
https://travis-ci.org/yaml/pyyaml/jobs/291133194 Wheel has dropped support for Python 2.6, 3.2 and 3.3 because they're EOL. |
|
Well, does that mean that the travis.yml file needs to be edited to remove Python 2.6? (It's actually causing issues with the patch I am working on: #94 ) |
|
If 2.6 is to be dropped, then yes. If not, workarounds are needed to keep the build passing. It's a question for the maintainers, do they want to do the extra work to keep 2.6 ticking over, which will only become harder, to allow Ansible to keep 2.6 support. One option is to drop it, and if Ansible still want to have 2.6, they can pin to the last supported pyyaml version which also did do. |
Issue #47 says:
Well, now Ansible say:
https://docs.ansible.com/ansible/latest/python_3_support.html
So Ansible no longer support Python 2.6. Coupled with the fact Python 2.6 has been EOL since 2013, means it can be dropped. Here are more reasons:
Oh, and something has caused Python 2.6 builds to fail on Travis CI for latest master, so this of course resolves that too.