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

Get rid of six dependency #358

Merged
merged 2 commits into from
Feb 6, 2022
Merged

Get rid of six dependency #358

merged 2 commits into from
Feb 6, 2022

Conversation

z3ntu
Copy link
Contributor

@z3ntu z3ntu commented Mar 29, 2019

Obviously this makes pyudev incompatible with Python 2 but Python 2 will
be dead soon anyways.

https://pythonclock.org/

@z3ntu
Copy link
Contributor Author

z3ntu commented Mar 29, 2019

I somehow can't get Travis to run on this commit/PR...

@mulkieran
Copy link
Contributor

@mulkieran
Copy link
Contributor

@z3ntu Thanks, but I doubt this change would go over well with some users. Feel free to leave it open, maybe in 2025 it'll be safe to do it.

@z3ntu z3ntu marked this pull request as ready for review March 30, 2019 07:21
@z3ntu z3ntu force-pushed the no_more_six branch 2 times, most recently from 32453dd to 7f5c09c Compare March 30, 2019 07:24
@z3ntu
Copy link
Contributor Author

z3ntu commented Mar 30, 2019

Now Travis is running.

I'm also dropping the link https://python3statement.org/ here; I think Python 2 can be dropped before that, as Python 2 users can still use old release of pyudev.

Anyways, it's your decision, I just dropped this PR here :)

@mulkieran
Copy link
Contributor

Ok, thanks! Looks like I need to do a pass to fix up some of the CI first, though.

@mulkieran
Copy link
Contributor

Restarted Travis...

@mulkieran
Copy link
Contributor

Looks like the remaining Travis errors are actually occasioned by this PR. So, they would require further investigation as well.

@z3ntu
Copy link
Contributor Author

z3ntu commented Apr 2, 2019

Tests now succeed for all 3.x versions and fail for 2.x (so 2.7 and pypy)

@mulkieran
Copy link
Contributor

Ok, thanks!

@z3ntu
Copy link
Contributor Author

z3ntu commented Jan 18, 2022

Just looking through my old forks, is this still wanted in pyudev? I see py2 support has been dropped more than a year ago but six is still required.

@mulkieran
Copy link
Contributor

Thank you for checking. I hope to cut a new release that officially drops py2 support in maybe a week. If you have time could you close this PR and make a new one against master branch?

@z3ntu z3ntu changed the base branch from develop-0.22 to master January 18, 2022 19:06
@z3ntu z3ntu force-pushed the no_more_six branch 2 times, most recently from b96ae28 to fb3405a Compare January 18, 2022 19:23
@z3ntu
Copy link
Contributor Author

z3ntu commented Jan 18, 2022

CI is green for me now: https://github.com/z3ntu/pyudev/actions/runs/1714699866

@mulkieran mulkieran self-requested a review January 26, 2022 18:04
@mulkieran mulkieran added this to In Review in 2022 Jan 27, 2022
@mulkieran
Copy link
Contributor

@z3ntu Plz rebase one last time and I'll be able to merge immediately. Thx!

Python 2 support is dropped, so time to remove six.
As per last commit six is not required anymore.
@z3ntu
Copy link
Contributor Author

z3ntu commented Feb 5, 2022

Also removed six dependency from CI now.

CI is green again: https://github.com/z3ntu/pyudev/actions/runs/1799264471

@mulkieran mulkieran merged commit 85f6be1 into pyudev:master Feb 6, 2022
2022 automation moved this from In Review to Done Feb 6, 2022
@mulkieran
Copy link
Contributor

thx!

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

Successfully merging this pull request may close these issues.

None yet

2 participants