mirror of
https://github.com/domainaware/parsedmarc.git
synced 2026-08-19 21:53:18 +00:00
10.4.3 release: bump mailsuite floor to >=2.3.1 (#876)
mailsuite 2.3.1 fixes mailsuite.utils.parse_email() raising TypeError
instead of ValueError("Not an email") on unparseable (non-email) input
under mail-parser 4.6.2 (seanthegeek/mailsuite#61), which parsedmarc's
floors have required since 10.4.2.
Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Fable 5
parent
2352603eda
commit
8e200181e7
@@ -1,5 +1,11 @@
|
||||
# Changelog
|
||||
|
||||
## 10.4.3
|
||||
|
||||
### Changes
|
||||
|
||||
- **Bumped the `mailsuite` floor to `>=2.3.1`**, picking up the fix for `mailsuite.utils.parse_email()` raising `TypeError` instead of `ValueError("Not an email")` on unparseable (non-email) input under mail-parser 4.6.2 and later ([seanthegeek/mailsuite#61](https://github.com/seanthegeek/mailsuite/issues/61)) — a potential crash for anything reading non-email files through that API. mail-parser 4.6.2 changed its contract for unparseable input (it now returns a header-less parse result instead of the input string), so mailsuite's not-an-email detection never fired and parsing crashed on the missing `From` header. Every install of the previous parsedmarc release shipped the affected combination, because mailsuite 2.3.0 — the floor since parsedmarc 10.4.2 — itself requires mail-parser `>=4.6.2`. parsedmarc's own CLI and library report parsing never call that mailsuite API; they use parsedmarc's separate `parse_email` implementation, which rejects non-email input gracefully and behaves identically under both mailsuite versions, so this bump removes the affected combination from installs rather than fixing a parsedmarc crash.
|
||||
|
||||
## 10.4.2
|
||||
|
||||
### Changes
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
__version__ = "10.4.2"
|
||||
__version__ = "10.4.3"
|
||||
|
||||
USER_AGENT = f"parsedmarc/{__version__}"
|
||||
|
||||
|
||||
+1
-1
@@ -50,7 +50,7 @@ dependencies = [
|
||||
"httpx>=0.25",
|
||||
"kafka-python>=2.3.2",
|
||||
"lxml>=4.4.0",
|
||||
"mailsuite[gmail,msgraph]>=2.3.0",
|
||||
"mailsuite[gmail,msgraph]>=2.3.1",
|
||||
"maxminddb>=2.0.0",
|
||||
# Imported directly in cli.py for Graph error handling; otherwise
|
||||
# only a transitive dep of mailsuite[msgraph] -> msgraph-sdk.
|
||||
|
||||
Reference in New Issue
Block a user