At the risk of sending the discussion in this issue off topic, I looked
into other potential problems with the Certbot packages in Focal/Groovy
since they've been being held back. I'm happy to move this discussion
somewhere else if people prefer.

In the current state in Focal/Groovy, the tests we include in our
packages are broken for at least python-certbot, python-certbot-apache,
and python-certbot-nginx. The python-certbot-dns-* packages themselves
are working, but I didn't verify whether or not the tests are. I can if
people think that's important.

Only python-certbot-nginx is actually broken in Focal from a user
perspective though which I described above.

The reason for most of these problems is that these tests/packages were
relying on parts of python-acme's API which has been removed in recent
versions. A version of python-acme with these changes has already been
pushed to Focal/Groovy causing the problem. In one case at
https://people.canonical.com/~ubuntu-archive/proposed-
migration/update_excuses.html#python-certbot though, I saw a different
but similar problem with python-certbot where its proposed update had
removed components being used by the old, packaged version of python-
certbot-apache.

For Groovy, if possible, I'd recommend upgrading all of python-certbot,
python-certbot-apache, and python-certbot-nginx together to their latest
versions and ignoring failures caused by testing older versions with
these new packages. Again, many of the failures being seen are already
present in the current packages and none of them will exist when
everything is updated to a newer version.

For Focal, while I'd love for all Certbot components to be >=1.0, doing
this will cause a number of backwards incompatible changes. From our
changelog, those are:

* Certbot's `config_changes` subcommand has been removed
* `certbot.plugins.common.TLSSNI01` has been removed.
* The functions
  `certbot.plugins.common.Installer.view_config_changes`,
  `certbot.reverter.Reverter.view_config_changes`, and
  `certbot.util.get_systemd_os_info` have been removed
* Certbot's `register --update-registration` subcommand has been removed
* When possible, default to automatically configuring the webserver so all 
requests
  redirect to secure HTTPS access. This is mostly relevant when running Certbot
  in non-interactive mode. Previously, the default was to not redirect all 
requests.

All of these changes are things warned about in the current version of
our packages in Focal and are to minor aspects to our functionality.

If these changes seem acceptable considering our SRU exception, how new
Focal is, and the benefit we'll have of making it easier to update these
packages going forward since they'll have made it through our API/UI
changes and to Certbot 1.0, I'd recommend updating Groovy and then
moving these packages to Focal.

If these changes do not seem acceptable, I'd recommend taking one of the
two paths I described in my previous post to fix python-certbot-nginx in
Focal.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1875471

Title:
  python3-certbot-nginx is incompatible with its dependencies

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/python-certbot-nginx/+bug/1875471/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to