<@ULVA73B9P> Does prefect-email work in Prefect x2...
# ask-marvin
m
@Marvin Does prefect-email work in Prefect x2?
m
Yes,
prefect-email
works with Prefect 2.x. You can install it using the command
pip install 'prefect[email]<3'
. After installation, you need to register the block types in the
prefect-email
module to make them available for use by executing
prefect block register -m prefect_email
. For more details, you can refer to the Prefect 2.x integration guide for prefect-email. Similarly,
prefect-email
is also compatible with Prefect 3.x. The installation command will automatically select a compatible version of
prefect-email
for your installed version of Prefect. You can find more information in the Prefect 3.x integration guide for prefect-email.
m
@Marvin Does it only work with Python 3.12 and greater?
m
The documentation does not specify that
prefect-email
requires Python 3.12 or greater. It should work with the Python versions supported by the Prefect version you are using. Typically, Prefect supports a range of Python versions, not just the latest. For specific version compatibility, it is always a good idea to check the Prefect Release Notes or the Prefect Email Integration Guide for any updates or specific Python version requirements.