-
Notifications
You must be signed in to change notification settings - Fork 12
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
build: install jinja2
from binary
#443
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,3 +11,7 @@ bases: | |
parts: | ||
charm: | ||
charm-python-packages: [setuptools, pip] # Fixes install of some packages | ||
# Install jinja2 (a dependency of charmed-kubeflow-chisme) from binary to avoid build-time issues | ||
# See https://github.com/canonical/bundle-kubeflow/issues/883 | ||
# Remove when https://github.com/canonical/charmcraft/issues/1664 is fixed | ||
charm-binary-python-packages: [jinja2] | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I wonder if this should be left unpinned, or if it should be pinned to the same thing as in requirements.txt. Did some local testing and I saw we currently build the charm by downloading the binary for jinja=3.1.2, which is not the latest but is the version specified in requirements.txt. So I think somehow charmcraft is resolving this unpinned version by using the requirements.txt? I'm asking more about it here, but probably leaving it unpinned here for now is ok |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Does this comment still apply? I think we only wait on 883 to remove this (1664 was a reason why this might be flaky or broken - when 1664 resolves we can't just remove
jija2
from the binary list)There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
(this comment applies to all charms, but no need to make it that many times)