diff --git a/metadata-ingestion/pyproject.toml b/metadata-ingestion/pyproject.toml index f30060c5ccdbdf..3d44767e176379 100644 --- a/metadata-ingestion/pyproject.toml +++ b/metadata-ingestion/pyproject.toml @@ -1,6 +1,6 @@ [build-system] build-backend = "setuptools.build_meta" -requires = ["setuptools>=63.0.0", "wheel"] +requires = ["setuptools >= 71.1", "wheel"] [tool.ruff.lint.isort] section-order = ["future", "patch", "standard-library", "third-party", "first-party", "local-folder"] diff --git a/metadata-ingestion/setup.py b/metadata-ingestion/setup.py index d55960aa1750c2..fbeba1e510b645 100644 --- a/metadata-ingestion/setup.py +++ b/metadata-ingestion/setup.py @@ -555,7 +555,6 @@ mypy_stubs = { "types-dataclasses", - "types-setuptools", "types-six", "types-python-dateutil", # We need to avoid 2.31.0.5 and 2.31.0.4 due to diff --git a/metadata-ingestion/tests/unit/test_packaging.py b/metadata-ingestion/tests/unit/test_packaging.py index f9a3ae9562d3eb..56e877a03deaee 100644 --- a/metadata-ingestion/tests/unit/test_packaging.py +++ b/metadata-ingestion/tests/unit/test_packaging.py @@ -8,6 +8,6 @@ ) def test_datahub_version(): # Simply importing pkg_resources checks for unsatisfied dependencies. - import pkg_resources + import pkg_resources # type: ignore[import-untyped] assert pkg_resources.get_distribution(datahub_version.__package_name__).version