diff --git a/pyproject.toml b/pyproject.toml index 3405923..c9b2e10 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -35,7 +35,7 @@ slipcover = "slipcover.__main__:main" requires = [ "setuptools>61", "wheel", - "pip; python_version < '3.11'" # for tomllib + "tomli; python_version < '3.11'" # tomllib alternative ] build-backend = "setuptools.build_meta" diff --git a/setup.py b/setup.py index 4f0e107..7105b33 100644 --- a/setup.py +++ b/setup.py @@ -7,7 +7,7 @@ try: import tomllib # available in Python 3.11+ except ImportError: - from pip._vendor import tomli as tomllib + import tomli as tomllib PYTHON_VERSION = sys.version_info[0:2]