Skip to content

Commit

Permalink
fix: fixes mypy complaints about pkgresources (#12790)
Browse files Browse the repository at this point in the history
  • Loading branch information
sgomezvillamor authored Mar 5, 2025
1 parent cc3782e commit aed2433
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion metadata-ingestion/pyproject.toml
Original file line number Diff line number Diff line change
@@ -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"]
Expand Down
1 change: 0 additions & 1 deletion metadata-ingestion/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion metadata-ingestion/tests/unit/test_packaging.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit aed2433

Please sign in to comment.