Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update mention of entry points API in help text #22046

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions src/python/pants/backend/python/target_types.py
Original file line number Diff line number Diff line change
Expand Up @@ -940,8 +940,10 @@ class PythonTestsEntryPointDependenciesField(DictStringToStringSequenceField):
Plus, an `entry_points.txt` file will be generated in the sandbox so that
each of the `{PythonDistribution.alias}`s appear to be "installed". The
`entry_points.txt` file will only include the entry points requested on this
field. This allows the tests, or the code under test, to lookup entry points
metadata using something like `pkg_resources.iter_entry_points` from `setuptools`.
field. This allows the tests, or the code under test, to lookup entry points'
metadata using an API like the `importlib.metadata.entry_points()` API in the
standard library (available on older Python interpreters via the
`importlib-metadata` distribution).
"""
)

Expand Down
Loading