You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Focal issues: "ModuleNotFoundError: No module named 'markupsafe'" and "AttributeError: type object 'Distribution' has no attribute '_finalize_feature_opts'"
#210
Open
hloeung opened this issue
Oct 18, 2022
· 3 comments
Per juju/charm-tools#647, I'm setting up Launchpad to build one of the charms we manage, autocert. Unfortunately, the Focal builds are all failing with missing MarkupSafe module:
It looks like a compatibility issue between Jinja2 and MarkupSafe. Perhaps we need to pin a specific version of MarkupSafe for Focal with Python 3.8.10?
The text was updated successfully, but these errors were encountered:
2022-10-19 01:16:12 WARNING unit.autocert-test/0.upgrade-charm logger.go:60 AttributeError: type object 'Distribution' has no attribute '_finalize_feature_opts'
hloeung
changed the title
Focal: ModuleNotFoundError: No module named 'markupsafe'
Focal issues: "ModuleNotFoundError: No module named 'markupsafe'" and "AttributeError: type object 'Distribution' has no attribute '_finalize_feature_opts'"
Oct 19, 2022
Hi,
Per juju/charm-tools#647, I'm setting up Launchpad to build one of the charms we manage, autocert. Unfortunately, the Focal builds are all failing with missing MarkupSafe module:
https://launchpad.net/~autocert-charmers/autocert-charm/+charm/autocert/+build/4221/+files/buildlog_charm_ubuntu_focal_amd64_autocert_BUILDING.txt.gz
https://launchpad.net/~autocert-charmers/autocert-charm/+charm/autocert/+build/4223/+files/buildlog_charm_ubuntu_focal_arm64_autocert_BUILDING.txt.gz
https://launchpad.net/~autocert-charmers/autocert-charm/+charm/autocert/+build/4225/+files/buildlog_charm_ubuntu_focal_s390x_autocert_BUILDING.txt.gz
https://launchpad.net/~autocert-charmers/autocert-charm/+charm/autocert/+build/4224/+files/buildlog_charm_ubuntu_focal_ppc64el_autocert_BUILDING.txt.gz
It looks like a compatibility issue between Jinja2 and MarkupSafe. Perhaps we need to pin a specific version of MarkupSafe for Focal with Python 3.8.10?
The text was updated successfully, but these errors were encountered: