15
0

Accepting request 1304460 from devel:languages:python

OBS-URL: https://build.opensuse.org/request/show/1304460
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-checkdmarc?expand=0&rev=9
This commit is contained in:
2025-09-14 16:50:13 +00:00
committed by Git OBS Bridge
5 changed files with 60 additions and 10 deletions

3
checkdmarc-5.10.6.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:966af363d336593650f114d6a12827962d3cb3306da236b0f3746fdd4af99812
size 69587

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:6b073182963d64554c9ccc7e592d5a8ff3d126f3635093a5b0cfc3a291d946b7
size 62118

View File

@@ -1,3 +1,54 @@
-------------------------------------------------------------------
Fri Sep 12 18:38:37 UTC 2025 - Martin Hauke <mardnh@gmx.de>
- Update to version 5.10.6
* Fix BIMI certificate validation error generation.
* Add support for the avp bimi tag.
- Update to version 5.10.5
* Switch from DNS over UDP to DNS over TCP for DNSSEC and TLSA
queries.
- Update to version 5.9.3
* Clarify warnings for DMARC p=none and sp=none.
* Use a different warning if DMARC pct is set to 0.
* Add location to the JSON output for BIMI.
- Update to version 5.9.1
* Fix BIMI record parsing error introduced in 5.9.0.
- Update to version 5.9.0
Bug fixes:
* Remove zero-width characters from domain inputs.
* Add a warning when the DMARC record p or sp value is none.
* Evaluate DMARC when checking BIMI.
* Do lot show a BIMI certificate warning when the l tag is set
to "".
* Include warnings if a domain is using BIMI, but does not have
an enforced DMARC policy.
New features:
* Parsed SPF record details are now provided even if it uses
too many DNS lookups.
API changes:
* Require keyword arguments to be passed as keyword=value pairs
instead of positional arguments.
* Add the option ignore_too_many_lookups to
checkdmarc.spf.parse_spf_record()
+ This option will stop checkdmarc.spf.parse_spf_record() from
rasing exceptions related to too many DNS lookups, in
support of the new feature.
+ False by default to maintain backwards compatibility.
+ checkdmarc.spf.check_spf() uses this functionality to
support the new feature.
- Update to version 5.8.8
* Provide an easier to understand error message when a mark
certificate is not is not issued by a recognized Mark
Verifying Authority (MVA).
* Bug fix: failure to download a BIMI image is noted in the
certificate section instead of the image section.
- Update to version 5.8.7
* fix discrepencies on http_timeout usage.
* Fixing a bug in policy/subdomain policy check for parked
domains.
- Update patch:
* skip-network-tests.patch
-------------------------------------------------------------------
Fri Jun 27 15:07:33 UTC 2025 - Markéta Machová <mmachova@suse.com>

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-checkdmarc
#
# Copyright (c) 2025 SUSE LLC
# Copyright (c) 2025 SUSE LLC and contributors
# Copyright (c) 2021-2025, Martin Hauke <mardnh@gmx.de>
#
# All modifications and additions to the file contributed by third parties
@@ -20,7 +20,7 @@
%bcond_without libalternatives
%{?sle15_python_module_pythons}
Name: python-checkdmarc
Version: 5.8.6
Version: 5.10.6
Release: 0
Summary: A Python module and command line parser for SPF and DMARC records
License: Apache-2.0
@@ -63,8 +63,7 @@ BuildRequires: %{python_module xmltodict}
A Python module and command line parser for SPF and DMARC records.
%prep
%setup -q -n checkdmarc-%{version}
%autopatch -p1
%autosetup -p1 -n checkdmarc-%{version}
%build
%pyproject_wheel

View File

@@ -1,9 +1,9 @@
diff --git a/tests.py b/tests.py
index fd22132..b684ecb 100755
index 9cfda48..cdaf4fe 100755
--- a/tests.py
+++ b/tests.py
@@ -291,6 +291,7 @@ class Test(unittest.TestCase):
"{0} does not have any MX records".format(domain), results["warnings"]
@@ -296,6 +296,7 @@ class Test(unittest.TestCase):
results["warnings"],
)
+ @unittest.skipUnless(os.path.exists("/etc/resolv.conf"), "no network")