Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Python 2.6 support #16

Closed
adrienverge opened this issue Jun 28, 2017 · 3 comments
Closed

Python 2.6 support #16

adrienverge opened this issue Jun 28, 2017 · 3 comments

Comments

@adrienverge
Copy link
Contributor

Hi,

Since today, pathspec is used by yamllint, which is used by Ansible, OpenStack and others.

The problem is: all these software must support Python 2.6, but pathspec currently doesn't. This leads to issues like adrienverge/yamllint#55 and ansible/ansible#26186.

In your opinion, what's the amount of work needed to support Python 2.6?

@cpburnz
Copy link
Owner

cpburnz commented Jun 28, 2017

@adrienverge As much as I think everyone should be migrating to Python 3, supporting Python 2.6 would be trivial. It looks like there's that dict-comprehension and a utility method that needs a slight tweak. So very little work is needed.

@cpburnz cpburnz closed this as completed Jul 1, 2017
@cpburnz
Copy link
Owner

cpburnz commented Jul 1, 2017

@adrienverge Python 2.6 support has been added. I tested it through tox and everything seems to be in order.

@adrienverge
Copy link
Contributor Author

@cpburnz thanks a lot!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants