So all recent releases of Fedora have been moving towards python3 as the default and in a lot of use cases now python2 isn't required. Recent releases of certbot now support python3 so it would be nice to build the core bindings/binaries as python3 based on Fedora so python2 doesn't need to get pulled in to use certbot.
Now that it supports it our guidelines make it imperative that python3 is preferred as well. I'll look into this during the weekend, and the next Fedora release will be py3 based. On the EPEL7 side I think there's a couple of packages that aren't packaged for python3 which might need changing possibly, so that will have to stay py2 for now.
I think for EPEL it should remain as python2 as it's the distro base version so we're not pulling in the entire stack.
That's what I'm building and testing towards. Just put together a spec that works nicely and cleanly upgrades from certbot py2 to certbot py3 I'll be pushing it to git in a short while and will have a build in koji not long after that. I'll do the bodhi update after the present one has gone stable in F25 (just waiting on the next push now).
This bug appears to have been reported against 'rawhide' during the Fedora 26 development cycle. Changing version to '26'.
certbot-0.11.1-4.fc24 has been submitted as an update to Fedora 24. https://bodhi.fedoraproject.org/updates/FEDORA-2017-41ca72da29
certbot-0.11.1-4.fc25 has been submitted as an update to Fedora 25. https://bodhi.fedoraproject.org/updates/FEDORA-2017-c5943ff10a
certbot-0.11.1-4.fc25 has been pushed to the Fedora 25 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2017-c5943ff10a
certbot-0.11.1-4.fc24 has been pushed to the Fedora 24 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2017-41ca72da29
python-acme-0.12.0-2.fc25 python-certbot-apache-0.12.0-1.fc25 certbot-0.12.0-1.fc25 has been submitted as an update to Fedora 25. https://bodhi.fedoraproject.org/updates/FEDORA-2017-bad59d8d68
python-acme-0.12.0-2.fc24 python-certbot-apache-0.12.0-1.fc24 certbot-0.12.0-1.fc24 has been submitted as an update to Fedora 24. https://bodhi.fedoraproject.org/updates/FEDORA-2017-ccc3e000c5
I'm a Certbot dev and while I'm happy to say progress has been made in making Certbot and python-certbot-apache Python 3 compatible, we're not quite there yet. Our unit tests pass on Python 3, but our integration tests with Let's Encrypt fail and people who try to use Certbot using Python 3 often report problems. For the time being, we're still telling people that Certbot isn't Python 3 compatible. Released versions of Fedora should definitely continue to run Certbot on Python 2 for now. I would also recommend switching the Fedora 26/rawhide packages back to Python 2 as Certbot is known to not work with Python 3.
Ah thanks Brad. I going by what Peter had above, with some basic testing. No py3 based package has hit a stable repo yet so I'll flip it back over tonight. Looking forward to the day you poke me that we can flip it to py3 properly :)
Oh to save me looking, do you happen to have a tracker bug in github I can link here as the upstream dependency?
> Released versions of Fedora should definitely continue to run Certbot on > Python 2 for now. I would also recommend switching the Fedora 26/rawhide > packages back to Python 2 as Certbot is known to not work with Python 3. This is quite ridiculous for a project that has been around for a little over a year not being py3 compatible from the outset. Basically for small images that would other wise not need python2 we now need to pull in an entire other software stack. I would like to see it left enabled for F-26+ and the lets encrypt people work with us to smooth this out.
certbot-0.12.0-1.fc25, python-acme-0.12.0-2.fc25, python-certbot-apache-0.12.0-1.fc25 has been pushed to the Fedora 25 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2017-bad59d8d68
certbot-0.12.0-1.fc24, python-acme-0.12.0-2.fc24, python-certbot-apache-0.12.0-1.fc24 has been pushed to the Fedora 24 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2017-ccc3e000c5
Okay after sleeping on it here's what I'm going to do. The packages will ship jws-2, jws-3, certbot-2 and certbot-3 with symlinks pointing jws and certbot to their -2 varieties for now. This will default them all to py2 as per upstream's request but will allow easy testing of py3 behaviour on Fedora. This will be packaged in this way in the next 24 hours.
certbot-0.12.0-1.fc24 python-acme-0.12.0-2.fc24 has been submitted as an update to Fedora 24. https://bodhi.fedoraproject.org/updates/FEDORA-2017-ccc3e000c5
certbot-0.12.0-2.fc24 python-acme-0.12.0-3.fc24 python-certbot-apache-0.12.0-1.fc24 has been submitted as an update to Fedora 24. https://bodhi.fedoraproject.org/updates/FEDORA-2017-0b35be64b3
certbot-0.12.0-1.fc25 python-acme-0.12.0-2.fc25 has been submitted as an update to Fedora 25. https://bodhi.fedoraproject.org/updates/FEDORA-2017-bad59d8d68
certbot-0.12.0-2.fc25 python-acme-0.12.0-3.fc25 python-certbot-apache-0.12.0-1.fc25 has been submitted as an update to Fedora 25. https://bodhi.fedoraproject.org/updates/FEDORA-2017-e06b5ed81c
> Oh to save me looking, do you happen to have a tracker bug in github I can link here as the upstream dependency? I'm sorry I didn't see this sooner. Our GH issue tracking Python 3 support is https://github.com/certbot/certbot/issues/3179.
No problem, that's linked up now :)
certbot-0.12.0-3.fc25, python-acme-0.12.0-3.fc25, python-certbot-apache-0.12.0-1.fc25 has been pushed to the Fedora 25 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2017-e06b5ed81c
certbot-0.12.0-4.fc25 python-acme-0.12.0-3.fc25 python-certbot-apache-0.12.0-1.fc25 has been submitted as an update to Fedora 25. https://bodhi.fedoraproject.org/updates/FEDORA-2017-e06b5ed81c
certbot-0.12.0-4.fc26 has been submitted as an update to Fedora 26. https://bodhi.fedoraproject.org/updates/FEDORA-2017-c51c77f333
certbot-0.12.0-3.fc24, python-acme-0.12.0-3.fc24, python-certbot-apache-0.12.0-1.fc24 has been pushed to the Fedora 24 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2017-0b35be64b3
certbot-0.12.0-4.fc24 python-acme-0.12.0-3.fc24 python-certbot-apache-0.12.0-1.fc24 has been submitted as an update to Fedora 24. https://bodhi.fedoraproject.org/updates/FEDORA-2017-0b35be64b3
certbot-0.12.0-4.fc24, python-acme-0.12.0-3.fc24, python-certbot-apache-0.12.0-1.fc24 has been pushed to the Fedora 24 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2017-0b35be64b3
certbot-0.12.0-4.fc25, python-acme-0.12.0-3.fc25, python-certbot-apache-0.12.0-1.fc25 has been pushed to the Fedora 25 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2017-e06b5ed81c
certbot-0.12.0-4.fc26 has been pushed to the Fedora 26 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2017-c51c77f333
certbot-0.12.0-4.fc24, python-acme-0.12.0-3.fc24, python-certbot-apache-0.12.0-1.fc24 has been pushed to the Fedora 24 stable repository. If problems still persist, please make note of it in this bug report.
certbot-0.12.0-4.fc25, python-acme-0.12.0-3.fc25, python-certbot-apache-0.12.0-1.fc25 has been pushed to the Fedora 25 stable repository. If problems still persist, please make note of it in this bug report.
certbot-0.12.0-4.fc26 has been pushed to the Fedora 26 stable repository. If problems still persist, please make note of it in this bug report.
So with the latest upstream update that py3 is supported as of 0.14.0 release I think it should be at least enabled in rawhide/f27 to get wider testing so we can report back any issues, then back ported to F-26 then stable Fedora releases based on that feedback https://github.com/certbot/certbot/issues/3179#issuecomment-299923523
Having chatted with pdee today on IRC I agree I'm initially going to do the builds as usual so that all the builds on py2 are done and in koji and easy to switch to if need be Then in a few days I'll do a new build for rawhide and F26 flipping to py3 ahead of the F26 beta for a solid round of testing in that After a few weeks of F26 then I'll issue an update for F25 as well.
> Then in a few days I'll do a new build for rawhide and F26 flipping to py3 > ahead of the F26 beta for a solid round of testing in that Just to note that F-26 freezes for Beta on Tues 16th May so it's likely it'll hang around in updates-testing until Beta gets signed off.
certbot-0.14.1-3.fc26 python-acme-0.14.1-1.fc26 python-certbot-apache-0.14.1-1.fc26 python-certbot-nginx-0.14.1-1.fc26 has been submitted as an update to Fedora 26. https://bodhi.fedoraproject.org/updates/FEDORA-2017-64270716a0
certbot-0.14.1-3.fc26, python-acme-0.14.1-1.fc26, python-certbot-apache-0.14.1-1.fc26, python-certbot-nginx-0.14.1-1.fc26 has been pushed to the Fedora 26 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2017-64270716a0
certbot-0.14.1-3.fc26, python-acme-0.14.1-1.fc26, python-certbot-apache-0.14.1-1.fc26, python-certbot-nginx-0.14.1-1.fc26 has been pushed to the Fedora 26 stable repository. If problems still persist, please make note of it in this bug report.