vintasoftware / django-templated-email

Django module to easily send templated emails using django templates, or using a transactional mail provider (mailchimp, silverpop, etc.)
MIT License
702 stars 130 forks source link

Incompatible with django-render-block==0.9 -> ModuleNotFoundError: No module named 'render_block' #135

Closed bj00rn closed 2 years ago

bj00rn commented 2 years ago

django-render-block 0.9 was released 14 december

python 3.8.10

django-templated-email==2.3.0 Django==2.2.25

Getting error since recreating my virtualenv and running pip install

...
    from templated_email import get_templated_mail
  File "/home/vagrant/.pyenv/versions/xxx_2474/lib/python3.8/site-packages/templated_email/__init__.py", line 6, in <module>
    from templated_email.backends.vanilla_django import TemplateBackend
  File "/home/vagrant/.pyenv/versions/xxx_2474/lib/python3.8/site-packages/templated_email/backends/vanilla_django.py", line 14, in <module>
    from render_block import render_block_to_string, BlockNotFound
ModuleNotFoundError: No module named 'render_block'
mpibpc-mroose commented 2 years ago

I've been hit by this, too. Seems to be a distribution issue

clokep commented 2 years ago

I had an issue packaging it which should be resolved with django-render-block 0.9.1. I've also yanked 0.9 so otheres should not run into this issue.

I don't think there's anything to be done on django-templated-email side, so this can probably be closed.

bj00rn commented 2 years ago

closing as issue has been resolved in render_block