Revert "Disable build isolation during snap dns plugins build (#8319)"#8323
Revert "Disable build isolation during snap dns plugins build (#8319)"#8323
Conversation
This reverts commit feca125.
|
cc: @reaperhulk It looks like build isolation was originally disabled to fix ARM builds... but I don't understand why/how! Certainly using build isolation seems like the forward looking/modern packaging approach to me. |
|
Ah sorry for the noise! I tagged the wrong Alex. I meant to tag @alexzorin for review. There is some fun going on with build isolation that we may want to talk with pyca and/or the |
adferrand
left a comment
There was a problem hiding this comment.
OK. So we need to find a more elegant solution. In the mean time, setuptools is fixed, so we can hope for few months before the next broken release of pip or setuptools!
|
Thanks for the review! |
This reverts commit feca125.
Since this change landed, ARM builds for many of the DNS plugins have failed every night. See https://dev.azure.com/certbot/certbot/_build?definitionId=5 or our public Mattermost channel.
I quickly tried to fix this myself and wasn't trivially able to do so. I tried setting
SNAPCRAFT_PYTHON_VENV_ARGS: --system-site-packagesand addingpython3-wheelas a build dependency, but it didn't work for some reason. Thepython3-wheelpackage didn't seem to be installed.I still suspect something like this is the approach we should take, however, I want to fix the failing tests now so things are no longer broken in
masterand those of us on the Certbot team at EFF stop getting spammed with 54 (!!) emails about failed builds from launchpad every night.Unfortunately, while I was working on this the queue for ARM machines on Launchpad jumped up to an estimated ~20 hour wait, but I confirmed that this fixes the problem by building on an ARM AMI using the instructions at https://github.com/certbot/certbot/blob/master/tools/snap/README.md#use-testing-and-development. If whoever reviews this would like an ARM machine to test on themselves, please let me know.
@adferrand or
@alex@alexzorin, are you able to review this?