jobs.python_wheel_task.enty_point can't find entry points defined in dependency packages
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-14-2024 05:04 AM
Let's say I have packageA with no entry points, packageA dependents on dependencyA package, which has entry-points.
In order to be able to use those entrypoints, i.e.
```yaml
python_wheel_task:
package_name: packageA
entry_point:dependencyA_entry
```
I need to redefine the dependencyA_entry inside packageA. i.e.
```pyproject.toml
[project.scripts]
dependencyA_entry = "dependencyA.entrypoint:main"
```
Expected behavior:
entry points are discovered automatically (i.e. through importlib.metadata.entry_points()), without duplicating them in client packages.