Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update geoip2 requirement from <5.0.0,>=4.8.0 to >=4.8.0,<6.0.0 #163

Closed

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jan 29, 2025

Updates the requirements on geoip2 to permit the latest version.

Release notes

Sourced from geoip2's releases.

5.0.1

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

Sourced from geoip2's changelog.

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.

4.8.1 (2024-11-18) ++++++++++++++++++

  • setuptools was incorrectly listed as a runtime dependency. This has been removed. Pull request by Mathieu Dupuy. GitHub #174.

4.8.0 (2023-12-05) ++++++++++++++++++

  • IMPORTANT: Python 3.8 or greater is required. If you are using an older version, please use an earlier release.
  • The is_anycast attribute was added to geoip2.record.Traits. This returns True if the IP address belongs to an anycast network <https://en.wikipedia.org/wiki/Anycast>_. This is available for the GeoIP2 Country, City Plus, and Insights web services and the GeoIP2 Country, City, and Enterprise databases.

4.7.0 (2023-05-09) ++++++++++++++++++

  • IMPORTANT: Python 3.7 or greater is required. If you are using an older version, please use an earlier release.

4.6.0 (2022-06-21) ++++++++++++++++++

... (truncated)

Commits

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will 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 version will 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 dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Updates the requirements on [geoip2](https://github.com/maxmind/GeoIP2-python) to permit the latest version.
- [Release notes](https://github.com/maxmind/GeoIP2-python/releases)
- [Changelog](https://github.com/maxmind/GeoIP2-python/blob/v5.0.1/HISTORY.rst)
- [Commits](maxmind/GeoIP2-python@v4.8.0...v5.0.1)

---
updated-dependencies:
- dependency-name: geoip2
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file python Pull requests that update Python code labels Jan 29, 2025
Copy link
Contributor Author

dependabot bot commented on behalf of github Jan 29, 2025

Looks like geoip2 is up-to-date now, so this is no longer needed.

@dependabot dependabot bot closed this Jan 29, 2025
@dependabot dependabot bot deleted the dependabot/pip/geoip2-gte-4.8.0-and-lt-6.0.0 branch January 29, 2025 17:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file python Pull requests that update Python code
Development

Successfully merging this pull request may close these issues.

0 participants