Subject: CVS commit: pkgsrc/geography/py-geoip2
From: Adam Ciarcinski
Date: 2025-02-12 13:55:46
Message id: 20250212125546.7A367FBE0@cvs.NetBSD.org

Log Message:
py-geoip2: updated to 5.0.1

5.0.1 (2025-01-28)

* Allow ``ip_address`` in the ``Traits`` record to be ``None`` again. The
  primary use case for this is from the ``minfraud`` package.

5.0.0 (2025-01-28)

* BREAKING: The ``raw`` attribute on the model classes has been replaced
  with a ``to_dict()`` method. This can be used to get a representation of
  the object that is suitable for serialization.
* BREAKING: The ``ip_address`` property on the model classes now always returns
  a ``ipaddress.IPv4Address`` or ``ipaddress.IPv6Address``.
* BREAKING: The model and record classes now require all arguments other than
  ``locales`` and ``ip_address`` to be keyword arguments.
* BREAKING: ``geoip2.mixins`` has been made internal. This normally would not
  have been used by external code.
* IMPORTANT: Python 3.9 or greater is required. If you are using an older
  version, please use an earlier release.
* ``metro_code`` on ``geoip2.record.Location`` has been deprecated. The
  code values are no longer being maintained.
* The type hinting for the optional ``locales`` keyword argument now allows
  any sequence of strings rather than only list of strings.

Files:
RevisionActionfile
1.6modifypkgsrc/geography/py-geoip2/Makefile
1.3modifypkgsrc/geography/py-geoip2/PLIST
1.5modifypkgsrc/geography/py-geoip2/distinfo