-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
use py3 instead py2 #3153
use py3 instead py2 #3153
Conversation
Signed-off-by: jnozsc <jnozsc@gmail.com>
This looks good to me, just not sure if this needs to be in release/v5.0 or development. |
Would 3.4 or 3.6 work as well? I don't see anything that would prevent those. Travis defaults to 3.6 so I'm comfortable with their tooling to work with that version. |
I recommend to use the latest version, python3.8, so that people don't have to upgrade from py3.x to py3.y in any time next year. It is just personal preference. https://devguide.python.org/#status-of-python-branches About python 3.4 or python 3.6 compatibly. I think it should work with any python 3 version. But I do notice some packages will/is drop(ing) 3.4 support since it has already EOL ( https://www.python.org/downloads/release/python-3410/ ) |
I'd like 3.6. The reason being that if we say 3.8 then we are making a contract to support any features that may be in 3.8. Ubuntu 18 ships with 3.6, travis is default 3.6 (though you can change that of course). I'd prefer to have it be the lowest possible version required so the largest number of people can contribute to it. |
Signed-off-by: jnozsc <jnozsc@gmail.com>
ok, fixed in 49fc265 |
@PromoFaux Any preference on the branch this should merge in to? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Approved pending branch choice.
Either is fine I think. The only python we have is in the tests, so it's not actually going to affect anything in userland, and no real rush to get it "released" |
For safety sake I think jnozsc, can you send this to |
changed. thanks all |
This pull request has been mentioned on Pi-hole Userspace. There might be relevant details there: https://discourse.pi-hole.net/t/pi-hole-5-1-released/35577/1 |
Signed-off-by: jnozsc jnozsc@gmail.com
By submitting this pull request, I confirm the following:
please fill any appropriate checkboxes, e.g: [X]
git rebase
)Please make sure you Sign Off all commits. Pi-hole enforces the DCO.
What does this PR aim to accomplish?:
replace usage of python2
How does this PR accomplish the above?:
use python3
What documentation changes (if any) are needed to support this PR?:
NA