django-peterbecom
django-peterbecom copied to clipboard
Bump geoip2 from 4.8.1 to 5.0.1
Bumps geoip2 from 4.8.1 to 5.0.1.
Release notes
Sourced from geoip2's releases.
5.0.1
- Allow
ip_addressin theTraitsrecord to beNoneagain. The primary use case for this is from theminfraudpackage.5.0.0
- BREAKING: The
rawattribute on the model classes has been replaced with ato_dict()method. This can be used to get a representation of the object that is suitable for serialization.- BREAKING: The
ip_addressproperty on the model classes now always returns aipaddress.IPv4Addressoripaddress.IPv6Address.- BREAKING: The model and record classes now require all arguments other than
localesandip_addressto be keyword arguments.- BREAKING:
geoip2.mixinshas 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_codeongeoip2.record.Locationhas been deprecated. The code values are no longer being maintained.- The type hinting for the optional
localeskeyword argument now allows any sequence of strings rather than only list of strings.
Changelog
Sourced from geoip2's changelog.
5.0.1 (2025-01-28) ++++++++++++++++++
- Allow
ip_addressin theTraitsrecord to beNoneagain. The primary use case for this is from theminfraudpackage.5.0.0 (2025-01-28) ++++++++++++++++++
- BREAKING: The
rawattribute on the model classes has been replaced with ato_dict()method. This can be used to get a representation of the object that is suitable for serialization.- BREAKING: The
ip_addressproperty on the model classes now always returns aipaddress.IPv4Addressoripaddress.IPv6Address.- BREAKING: The model and record classes now require all arguments other than
localesandip_addressto be keyword arguments.- BREAKING:
geoip2.mixinshas 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_codeongeoip2.record.Locationhas been deprecated. The code values are no longer being maintained.- The type hinting for the optional
localeskeyword argument now allows any sequence of strings rather than only list of strings.
Commits
5df245dUpdate for v5.0.17615adbUpdate ip_address types in docs28c3b12Allow Traits ip_address to be None again056787fUpdate for v5.0.0eda1f07Improve type hintsd0da163Set release datefb38ff6Fix some mypy issues in test codea88e4afStart adding ruff config04260bfApply ruff unsafe fixes894b2c2Run ruff's fixer- Additional commits viewable in compare view
You can trigger a rebase of this PR by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot mergewill merge this PR after your CI passes on it@dependabot squash and mergewill squash and merge this PR after your CI passes on it@dependabot cancel mergewill cancel a previously requested merge and block automerging@dependabot reopenwill reopen this PR if it is closed@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Note Automatic rebases have been disabled on this pull request as it has been open for over 30 days.