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

Switch to python3 #186

Merged
merged 1 commit into from
Sep 18, 2019
Merged

Switch to python3 #186

merged 1 commit into from
Sep 18, 2019

Conversation

waghanza
Copy link

@waghanza waghanza commented Dec 28, 2018

Hi,

This PR break python2 compatibility

Thanks for @ygl-rg for his work 🎉

Checklist :

  • Test passes on python3 (at least 3.5 / 3.6 / 3.7)
  • Documentation is updated (to warn about python3 support dropping)

@fiorix To keep this PR as minimalistic as I can, I think this is it (I'll add other feature later and / or maybe drop python3.5 support)

/cc @dpnova @posita

Regards,

@coveralls
Copy link

coveralls commented Dec 28, 2018

Coverage Status

Coverage remained the same at ?% when pulling 533cd5c on waghanza:python3 into 9f75848 on fiorix:master.

@fiorix
Copy link
Owner

fiorix commented Jan 7, 2019

Woah, big PR :)

It actually looks alright. I'm surprised all tests pass, but wouldn't be surprised if it'd still break things silently given not everything is covered in these tests.

Have you looked at the travis output? It fails on python nightly - might be because of something else, but worth a glance.

@fiorix
Copy link
Owner

fiorix commented Jan 7, 2019

What do you think of 2 lasts ?

I don't even know what black is. For editor, I only use vim, so.. :)

@waghanza
Copy link
Author

waghanza commented Jan 7, 2019

@fiorix black is a python formatter => https://black.readthedocs.io

behind the idea of using it is to clean / homogenize the code base

PS : it's the smallest I've found (used massively by mozilla)

@waghanza
Copy link
Author

waghanza commented Jan 7, 2019

@fiorix the last is about keeping code base uniform along PR

@fiorix
Copy link
Owner

fiorix commented Jan 8, 2019

ah, black is like gofmt for go, cool; I'm ok with using it and avoiding people debating style / pepX :)

@fiorix
Copy link
Owner

fiorix commented Jan 8, 2019

I guess it doesn't have to be in the same PR. This one is long enough already.

@waghanza
Copy link
Author

waghanza commented Jan 8, 2019

of course, I think about listing stuff in origin issue instead of here

@ygl-rg
Copy link

ygl-rg commented Jan 10, 2019

glad to see "all checks have passed"

@waghanza waghanza changed the title [WIP] Switch to python3 Switch to python3 Jul 1, 2019
@fiorix
Copy link
Owner

fiorix commented Jul 13, 2019

Hey could you please squash this in 1 commit before I merge it?

@waghanza
Copy link
Author

waghanza commented Jul 13, 2019

Sure, I'll learn how to do it 😄 on monday

BREAKING CHANGE: Drop python2 support before its EOL

@see https://pythonclock.org/
@waghanza
Copy link
Author

I have squashed commits

@subyraman
Copy link

subyraman commented Sep 18, 2019

@fiorix do you have any thoughts about merging/releasing this? A number of us are excited for the possibility of this being Py3 compatible :)

@fiorix fiorix merged commit 143ea45 into fiorix:master Sep 18, 2019
@fiorix
Copy link
Owner

fiorix commented Sep 18, 2019

Hey all, this is fantastic work! Thank you so much.

@fiorix
Copy link
Owner

fiorix commented Sep 18, 2019

Made it release v1.3, and it should be pushed to pypi.

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

Successfully merging this pull request may close these issues.

5 participants