domainaware / checkdmarc

A parser for SPF and DMARC DNS records
https://domainaware.github.io/checkdmarc
Apache License 2.0
244 stars 76 forks source link

5.3.1 seems to be released incorrectly #127

Open kazet opened 6 months ago

kazet commented 6 months ago

e.g. the ignore_unrelated_records for parse_dmarc_record is missing.

Reproduction:

$ docker run -it python bash
root@fd489f41688c:/# 
root@fd489f41688c:/# pip install checkdmarc==5.3.1 --quiet
WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv
root@fd489f41688c:/# sha256sum /usr/local/lib/python3.12/site-packages/checkdmarc/dmarc.py
968a69d07ff94a6af0bb315943ba3e708a6f3eeb9e670cc98a3ac84411bb67af  /usr/local/lib/python3.12/site-packages/checkdmarc/dmarc.py
root@fd489f41688c:/# pip uninstall checkdmarc
Found existing installation: checkdmarc 5.3.1
Uninstalling checkdmarc-5.3.1:
  Would remove:
    /usr/local/bin/checkdmarc
    /usr/local/lib/python3.12/site-packages/checkdmarc-5.3.1.dist-info/*
    /usr/local/lib/python3.12/site-packages/checkdmarc/*
Proceed (Y/n)? y
  Successfully uninstalled checkdmarc-5.3.1
WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv
root@fd489f41688c:/#  pip install git+https://github.com/domainaware/checkdmarc@120ef5a9709fe49c8c452d0b44383b7f7712f066 --quiet
WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv
root@fd489f41688c:/# sha256sum /usr/local/lib/python3.12/site-packages/checkdmarc/dmarc.py
21c807b1c26ed15f758deaeb6b5b8f3e81db0b8d226be21324cd8cd1fafb338e  /usr/local/lib/python3.12/site-packages/checkdmarc/dmarc.py
root@fd489f41688c:/#