Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Comments

@hloeung
Copy link
Contributor

hloeung commented Oct 18, 2022

@hloeung
Copy link
Contributor Author

hloeung commented Oct 18, 2022

I'm able to reproduce this on a clean Focal VM with:

git clone https://git.launchpad.net/autocert-charm
cd autocert-charm
make clean; charmcraft pack --destructive-mode

A workaround I have in place is wheelhouse.txt:

# Focal failures - https://github.com/juju-solutions/layer-basic/issues/210
Jinja2<3.0;python_version == '3.8' # Just for python 3.8

@hloeung
Copy link
Contributor Author

hloeung commented Oct 19, 2022

Also, we're seeing this:

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'

With full logs - https://paste.ubuntu.com/p/xRPyPH39Nf/

It looks like we'll need to pin setuptools and setuptools-scm

@hloeung
Copy link
Contributor Author

hloeung commented Oct 19, 2022

PR - #211

@hloeung 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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant