Skip to content

Commit

Permalink
Rely on coherent.deps for import detection.
Browse files Browse the repository at this point in the history
  • Loading branch information
jaraco committed Aug 31, 2024
1 parent 1b6e6bc commit 9492957
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions __init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
'importlib_resources; python_version < "3.12"',
'jaraco.vcs',
'more-itertools',
'coherent.deps',
]


Expand Down
4 changes: 2 additions & 2 deletions discovery.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@
from packaging.version import Version
from pip_run import scripts

from . import imports
from . import pypi
from ..deps import imports
from ..deps import pypi

log = logging.getLogger(__name__)

Expand Down
2 changes: 1 addition & 1 deletion metadata.py
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ def _discover_fields():
yield 'Author-Email', discovery.author_from_vcs()
yield 'Summary', discovery.summary_from_github()
yield 'Requires-Python', discovery.python_requires_supported()
deps = list(discovery.declared_deps())
deps = list(discovery.combined_deps())
for dep in deps:
yield 'Requires-Dist', dep
for extra in discovery.full_extras(discovery.extras_from_deps(deps)):
Expand Down

0 comments on commit 9492957

Please sign in to comment.