mediacloud / metadata-lib

How Media Cloud approaches extracting metadata from online news stories
Apache License 2.0
12 stars 5 forks source link

Update tldextract requirement from ==3.4.* to >=3.4,<3.7 #56

Closed dependabot[bot] closed 1 year ago

dependabot[bot] commented 1 year ago

Updates the requirements on tldextract to permit the latest version.

Release notes

Sourced from tldextract's releases.

3.6.0

What's Changed

  • Breaking bugfixes
    • Always include suffix if private suffix enabled and private suffix exists (#300)
      • Add a 4th field is_private: bool, to the ExtractResult namedtuple, indicating whether the extraction came from the PSL's private domains or not.
      • This could cause issues when iterating over the tuple and assuming only 3 fields.
      • Previously, the docs promoted iteration to rejoin parts of the tuple. This is better achieved by individual access of fields of interest (e.g. ExtractResult.subdomain) or convenience properties (e.g. ExtractResult.{fqdn,registered_domain}).

Full Changelog: https://github.com/john-kurkowski/tldextract/compare/3.5.0...3.6.0

Changelog

Sourced from tldextract's changelog.

3.6.0 (2023-09-19)

  • Breaking bugfixes
    • Always include suffix if private suffix enabled and private suffix exists (#300)
      • Add a 4th field is_private: bool, to the ExtractResult namedtuple, indicating whether the extraction came from the PSL's private domains or not.
      • This could cause issues when iterating over the tuple and assuming only 3 fields.
      • Previously, the docs promoted iteration to rejoin parts of the tuple. This is better achieved by individual access of fields of interest (e.g. ExtractResult.subdomain) or convenience properties (e.g. ExtractResult.{fqdn,registered_domain}).

3.5.0 (2023-09-06)

  • Features
    • Support IPv6 addresses (#298)
  • Bugfixes
    • Accept only 4 decimal octet IPv4 addresses (#292)
    • Support IPv4 addresses with unicode dots (#292)
    • Reject IPv4 addresses with trailing whitespaces + non-whitespaces (#293)
  • Misc.
    • Migrate setup.py to pyproject.toml (#299)

3.4.4 (2023-05-19)

  • Bugfixes
    • Honor private domains flag on self, not only when passed to __call__ (#289)

3.4.3 (2023-05-18)

  • Bugfixes
    • Speed up 10-15% over all inputs
      • Refactor suffix_index() to use a trie (#285)
  • Docs
    • Adopt PEP257 doc style

3.4.2 (2023-05-16)

  • Bugfixes
    • Speed up 10-40% on "average" inputs, and even more on pathological inputs, like long subdomains
      • Optimize suffix_index(): search from right to left (#283)
      • Optimize netloc extraction: switch from regex to if/else (#284)

3.4.1 (2023-04-26)

  • Bugfixes
    • Fix Pyright not finding tldextract public interface (#279)
    • Fix various Pyright checks

... (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 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)
dependabot[bot] commented 1 year ago

Looks like tldextract is no longer updatable, so this is no longer needed.