- 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. - update to version 4.8.1: - ``setuptools`` was incorrectly listed as a runtime dependency. This has been removed. Pull request by Mathieu Dupuy. GitHub #174. OBS-URL: https://build.opensuse.org/package/show/Application:Geo/python-geoip2?expand=0&rev=36
11 KiB
11 KiB