pkgutils walk_packages stopped working in DBR 17.2
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-18-2025 01:41 AM
Hi,
After moving from Databricks runtime 17.1 to 17.2 suddenly my pkgutils walk_packages doesn't identify any packages within my repository anymore.
This is my example code:
import pkgutil
import os
packages = pkgutil.walk_packages([os.getcwd()])
print(list(packages))previously it found all my packages but since the update to 17.2 it doesn't work anymore.