From d47aa29c8f06cce754785218551fe310105fed13 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Mon, 24 Feb 2025 10:22:27 -0500 Subject: [PATCH] Update dependency tldextract to v5 (#2031) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> --- poetry.lock | 17 +++++++++++------ pyproject.toml | 2 +- 2 files changed, 12 insertions(+), 7 deletions(-) diff --git a/poetry.lock b/poetry.lock index 8fa5510e7f..1f2bba49bb 100644 --- a/poetry.lock +++ b/poetry.lock @@ -7226,20 +7226,25 @@ test = ["pytest", "ruff"] [[package]] name = "tldextract" -version = "2.2.3" -description = "Accurately separate the TLD from the registered domain and subdomains of a URL, using the Public Suffix List. By default, this includes the public ICANN TLDs and their exceptions. You can optionally support the Public Suffix List's private domains as well." +version = "5.1.3" +description = "Accurately separates a URL's subdomain, domain, and public suffix, using the Public Suffix List (PSL). By default, this includes the public ICANN TLDs and their exceptions. You can optionally support the Public Suffix List's private domains as well." optional = false -python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*" +python-versions = ">=3.9" files = [ - {file = "tldextract-2.2.3-py2.py3-none-any.whl", hash = "sha256:c2a8a392edf3ea6fa8be80930f04c3ac29e91fa604cb2139bdf6a37fc1e1ac6d"}, - {file = "tldextract-2.2.3.tar.gz", hash = "sha256:ab0e38977a129c72729476d5f8c85a8e1f8e49e9202e1db8dca76e95da7be9a8"}, + {file = "tldextract-5.1.3-py3-none-any.whl", hash = "sha256:78de310cc2ca018692de5ddf320f9d6bd7c5cf857d0fd4f2175f0cdf4440ea75"}, + {file = "tldextract-5.1.3.tar.gz", hash = "sha256:d43c7284c23f5dc8a42fd0fee2abede2ff74cc622674e4cb07f514ab3330c338"}, ] [package.dependencies] +filelock = ">=3.0.8" idna = "*" requests = ">=2.1.0" requests-file = ">=1.4" +[package.extras] +release = ["build", "twine"] +testing = ["mypy", "pytest", "pytest-gitignore", "pytest-mock", "responses", "ruff", "syrupy", "tox", "tox-uv", "types-filelock", "types-requests"] + [[package]] name = "tokenizers" version = "0.21.0" @@ -7844,4 +7849,4 @@ testing = ["coverage[toml]", "zope.event", "zope.testing"] [metadata] lock-version = "2.0" python-versions = "3.12.6" -content-hash = "19a6194e1e74fc5a8bb3ab881c9b30118cfec612402a6b943ebb22bc80fa572b" +content-hash = "720f25b86477babc8dc3b3d70c6483f6789187f30c9ec1d7343d1f146e1e6dd5" diff --git a/pyproject.toml b/pyproject.toml index e91ae4d570..4f3ba8fd7f 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -59,7 +59,7 @@ sentry-sdk = "^2.13.0" social-auth-app-django = "^5.2.0" static3 = "^0.7.0" tika = "^2.6.0" -tldextract = "^2.2.0" +tldextract = "^5.0.0" toolz = "^1.0.0" ulid-py = "^0.2.0" urllib3 = "^2.0.0"