Hello, I’m a developer on Certbot, EFF’s Let’s Encrypt plugin. We’re looking to migrate from the core18 base to the core20 base, and encountering some difficulties.
Basically, we have one snap that contains multiple python projects, some of which rely on each other. Since it’s just a venv now, I specify all of those packages in
./package-name. It complains about being unable to build wheels, but I don’t think that’s actually a problem.
Instead, the problem seems to be that it’s not bundling python, despite doing as the docs say and listing a
python3- package in
stage-packages (since we use classic confinement). The shebang in the executable lists
/usr/bin/env python3, which seems to mean that it doesn’t run correctly on other machines. Is there something else we should be doing as well to make sure python3 is bundled, and that we’re using the bundled python version?
Branch where I’ve been working on this is here; the commit log is fairly descriptive, but it might also help to see what we’re working with overall.