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

Comments

@adrienverge
Copy link
Contributor

@adrienverge adrienverge commented Jun 28, 2017

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

This comment has been minimized.

Copy link
Owner

@cpburnz 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 Jul 1, 2017
@cpburnz

This comment has been minimized.

Copy link
Owner

@cpburnz 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

This comment has been minimized.

Copy link
Contributor Author

@adrienverge adrienverge commented Jul 4, 2017

@cpburnz thanks a lot!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants
You can’t perform that action at this time.