-
Notifications
You must be signed in to change notification settings - Fork 43
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
No module named 'imp' #17
Comments
@ftasbasi thanks for reporting this! I got into the same issue. By the way, the documentation link is broken, it's |
It looks like the cuchi/jinja2-action action is currently broken [1]. Since all we need is to render a jinja2 template with string variables, then roll out a simple script Python using the "jinja2" module to do that. The script adds to the render context all the environment variables starting with the prefix "JINJA_", removing it. [1] cuchi/jinja2-action#17 Signed-off-by: Pino Toscano <[email protected]>
It looks like the cuchi/jinja2-action action is currently broken [1]. Since all we need is to render a jinja2 template with string variables, then roll out a simple script Python using the "jinja2" module to do that. The script adds to the render context all the environment variables starting with the prefix "JINJA_", removing it. [1] cuchi/jinja2-action#17 Signed-off-by: Pino Toscano <[email protected]>
It looks like the cuchi/jinja2-action action is currently broken [1]. Since all we need is to render a jinja2 template with string variables, then roll out a simple script Python using the "jinja2" module to do that. The script adds to the render context all the environment variables starting with the prefix "JINJA_", removing it. [1] cuchi/jinja2-action#17 Signed-off-by: Pino Toscano <[email protected]>
It looks like the cuchi/jinja2-action action is currently broken [1]. Since all we need is to render a jinja2 template with string variables, then roll out a simple script Python using the "jinja2" module to do that. The script adds to the render context all the environment variables starting with the prefix "JINJA_", removing it. [1] cuchi/jinja2-action#17 Signed-off-by: Pino Toscano <[email protected]>
It looks like the cuchi/jinja2-action action is currently broken [1]. Since all we need is to render a jinja2 template with string variables, then roll out a simple script Python using the "jinja2" module to do that. The script adds to the render context all the environment variables starting with the prefix "JINJA_", removing it. The script does not have a ".py" extension on purpose, to avoid being picked by ansible-test. [1] cuchi/jinja2-action#17 Signed-off-by: Pino Toscano <[email protected]>
It looks like the cuchi/jinja2-action action is currently broken [1]. Since all we need is to render a jinja2 template with string variables, then roll out a simple script Python using the "jinja2" module to do that. The script adds to the render context all the environment variables starting with the prefix "JINJA_", removing it. The script does not have a ".py" extension on purpose, to avoid being picked by ansible-test. [1] cuchi/jinja2-action#17 Signed-off-by: Pino Toscano <[email protected]>
It looks like the cuchi/jinja2-action action is currently broken [1]. Since all we need is to render a jinja2 template with string variables, then roll out a simple script Python using the "jinja2" module to do that. The script adds to the render context all the environment variables starting with the prefix "JINJA_", removing it. The script does not have a ".py" extension on purpose, to avoid being picked by ansible-test. [1] cuchi/jinja2-action#17 Signed-off-by: Pino Toscano <[email protected]>
Thank you so much everyone that reported and worked on this. The latest release is available at https://github.com/cuchi/jinja2-action/releases/tag/v1.2.2 |
@cuchi thanks so much for working on this! Would you be interested in adding more (trusted) people to your project to help you maintain it? For example, the @ajeffowens has became a popular fork of your project, but clearly it is better to merge the efforts, rather than maintain multiple forks. (I am assuming @ajeffowens would be ok with this)... or maybe some other devs? |
If I use Python version as 3.12 then this error is thrown. According to documentation, imp is deprecated in Python version 3.12.
The text was updated successfully, but these errors were encountered: