-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Closed
Description
Issue: The recent released setuptools v82.0.0 doesn't contain pkg_resources any longer, which dropbox (frappe v15 dependency) depends on. Due to this, bench new-site will always fail due to the missing dependency.
Do the checklist before filing an issue:
- Can you replicate the issue on the supported bench versions?
To Reproduce π
Steps to reproduce the behavior:
- Setup new docker bench development container
- Initialize frappe bench (python 3.11, frappe branch version-15)
- setup config
- run bench new-site sitename
- It will start fine, but fails after ~ 85% with this error:
ImportError: Module import failed for Dropbox Settings, the DocType you're trying to open might be deleted.
Error: No module named 'pkg_resources'
Expected behavior π
Bench new-site should complete without issues (working fine with v16)
OS (please complete the following information): π
- Latest docker bench image (v5.29.0)
- Bench Branch: develop
- Frappe Version: 15
Workaround:
Run uv pip install --reinstall setuptools==81.0.0 before creating a new site.
Possible Solution π
Lock setuptools version to 81.0.0 for now and/or manually add pkg_resources as an additional ressource.
Reactions are currently unavailable