Skip to content

⬆ Bump emails from 0.6 to 1.1.2 in the python-packages group across 1 directory#2369

Merged
YuriiMotov merged 2 commits into
masterfrom
dependabot/uv/python-packages-faaa587ecd
Jul 3, 2026
Merged

⬆ Bump emails from 0.6 to 1.1.2 in the python-packages group across 1 directory#2369
YuriiMotov merged 2 commits into
masterfrom
dependabot/uv/python-packages-faaa587ecd

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Jul 3, 2026

Copy link
Copy Markdown
Contributor

Bumps the python-packages group with 1 update in the / directory: emails.

Updates emails from 0.6 to 1.1.2

Release notes

Sourced from emails's releases.

v1.1.2

Full Changelog: lavr/python-emails@v1.1.1...v1.1.2

v1.1.1

Full Changelog: lavr/python-emails@v1.1.0...v1.1.1

v1.1.0

What's Changed

Full Changelog: lavr/python-emails@v1.0.2...v1.1.0

v1.0.2

Added

  • Documentation build check in CI (#208)
  • ReadTheDocs configuration (.readthedocs.yaml)

Fixed

  • Jinja2 is now an optional dependency — install with pip install emails[jinja2] (#207, #161)

v1.0.1

Full Changelog: lavr/python-emails@v1.0.0...v1.0.1

v1.0.0

Changelog

1.0

Breaking changes

  • Require Python 3.10+ (dropped 3.9) (#188)
  • HTML transformation dependencies (cssutils, lxml, chardet, requests, premailer) are now optional — install with pip install emails[html] (#190)
  • Removed Python 2 compatibility helpers to_bytes, to_native, to_unicode from emails.utils (#197)
  • Replaced vendored emails.packages.dkim with upstream dkimpy package — use import dkim directly (#196)

Added

  • reply_to parameter for Message (#115)
  • Content-based MIME type detection via puremagic when file extension is missing (#163)
  • Data URI support in transformer — data: URIs are preserved as-is (#62)
  • Type hints for public API (#191)
  • mypy in CI (#194)
  • Python 3.13 and 3.14 support (#184)
  • Django CI jobs with Django 4.2, 5.2, 6.0 (#201)
  • CC/BCC importing in MsgLoader (#182)
  • RFC 6532 support — non-ASCII characters in email addresses (#138)

... (truncated)

Changelog

Sourced from emails's changelog.

Changelog

1.0.2

Added

  • Documentation build check in CI (#208)
  • ReadTheDocs configuration (.readthedocs.yaml)

Fixed

  • Jinja2 is now an optional dependency — install with pip install emails[jinja2] (#207, #161)
  • Message.as_bytes() now serializes messages with CRLF line endings for RFC 5321-compliant SMTP delivery (#213)

1.0

Breaking changes

  • Require Python 3.10+ (dropped 3.9) (#188)
  • HTML transformation dependencies (cssutils, lxml, chardet, requests, premailer) are now optional — install with pip install emails[html] (#190)
  • Removed Python 2 compatibility helpers to_bytes, to_native, to_unicode from emails.utils (#197)
  • Replaced vendored emails.packages.dkim with upstream dkimpy package — use import dkim directly (#196)

Added

  • reply_to parameter for Message (#115)
  • Content-based MIME type detection via puremagic when file extension is missing (#163)
  • Data URI support in transformer — data: URIs are preserved as-is (#62)
  • Type hints for public API (#191)
  • mypy in CI (#194)
  • Python 3.13 and 3.14 support (#184)
  • Django CI jobs with Django 4.2, 5.2, 6.0 (#201)
  • CC/BCC importing in MsgLoader (#182)
  • RFC 6532 support — non-ASCII characters in email addresses (#138)
  • In-memory SMTP backend (#136)
  • SMTP integration tests using Mailpit (#186)

Fixed

  • Double stream read in BaseFile.mime for file-like attachments (#199)
  • as_bytes DKIM signing bug (#194)
  • SMTP connection is now properly closed on any initialization failure (#180)
  • SMTP connection is now properly closed on failed login (#173)
  • Incorrect isinstance check in parse_name_and_email_list (#176)
  • Message encoding to bytes in SMTP backend (#152)
  • Unique filename generation for attachments
  • Regex escape sequence warning (#148)
  • Replaced deprecated cgi module with email.message
  • Coverage reports now correctly exclude emails/testsuite/

... (truncated)

Commits

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore <dependency name> major version will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)
  • @dependabot ignore <dependency name> minor version will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)
  • @dependabot ignore <dependency name> will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)
  • @dependabot unignore <dependency name> will remove all of the ignore conditions of the specified dependency
  • @dependabot unignore <dependency name> <ignore condition> will remove the ignore condition of the specified dependency and ignore conditions

Bumps the python-packages group with 1 update in the / directory: [emails](https://github.com/lavr/python-emails).


Updates `emails` from 0.6 to 1.1.2
- [Release notes](https://github.com/lavr/python-emails/releases)
- [Changelog](https://github.com/lavr/python-emails/blob/master/CHANGELOG.md)
- [Commits](lavr/python-emails@v0.6...v1.1.2)

---
updated-dependencies:
- dependency-name: emails
  dependency-version: 1.1.2
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: python-packages
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file internal Internal changes labels Jul 3, 2026
Comment thread backend/app/utils.py
from typing import Any

import emails # type: ignore[import-untyped]
import emails

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In v1.0 they added typing for public API: https://github.com/lavr/python-emails/blob/master/CHANGELOG.md#10

Comment thread backend/app/utils.py
) -> None:
assert settings.emails_enabled, "no provided configuration for email variables"
message = emails.Message(
assert settings.EMAILS_FROM_EMAIL # For type checker

@YuriiMotov YuriiMotov Jul 3, 2026

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's already checked in emails_enabled property (see), but here we need this to avoid type checking error

Comment thread backend/app/utils.py
assert settings.emails_enabled, "no provided configuration for email variables"
message = emails.Message(
assert settings.EMAILS_FROM_EMAIL # For type checker
message = emails.message.Message(

@YuriiMotov YuriiMotov Jul 3, 2026

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

To fix Module "emails" does not explicitly export attribute "Message" [attr-defined]

@YuriiMotov YuriiMotov merged commit 9a807a1 into master Jul 3, 2026
24 checks passed
@YuriiMotov YuriiMotov deleted the dependabot/uv/python-packages-faaa587ecd branch July 3, 2026 15:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file internal Internal changes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants