cancel
Showing results for 
Search instead for 
Did you mean: 
Get Started Discussions
Start your journey with Databricks by joining discussions on getting started guides, tutorials, and introductory topics. Connect with beginners and experts alike to kickstart your Databricks experience.
cancel
Showing results for 
Search instead for 
Did you mean: 

jobs.python_wheel_task.enty_point can't find entry points defined in dependency packages

zgreen
New Contributor

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.

0 REPLIES 0

Join Us as a Local Community Builder!

Passionate about hosting events and connecting people? Help us grow a vibrant local community—sign up today to get started!

Sign Up Now