Skip to content

fix: cap setuptools below v82 to retain pkg_resources#1699

Merged
akhilnarang merged 1 commit intofrappe:developfrom
marcramser:patch-1
Feb 9, 2026
Merged

fix: cap setuptools below v82 to retain pkg_resources#1699
akhilnarang merged 1 commit intofrappe:developfrom
marcramser:patch-1

Conversation

@marcramser
Copy link
Contributor

@marcramser marcramser commented Feb 9, 2026

fixes: #1698

setuptools v82.0.0 removed pkg_resources, which breaks Frappe v15 due to Dropbox depending on it.

Caps setuptools at <82.0.0 so pkg_resources remains available.

Solves: #1698

Note: IMHO the correct thing would be to refactor Frappe v15 to use a newer version of Dropbox.

"Important: Make sure you're using v12.0.2 or newer of this SDK by January 2026 for continued compatibility with the Dropbox API servers. Please refer to this blog post for more information: https://dropbox.tech/developers/api-server-certificate-changes" - https://github.com/dropbox/dropbox-sdk-python

setuptools v82.0.0 removed `pkg_resources`, which breaks `bench new-site`
on Frappe v15 due to Dropbox depending on it.

Caps setuptools at `<82.0.0` so `pkg_resources` remains available.
@sonarqubecloud
Copy link

sonarqubecloud bot commented Feb 9, 2026

@marcramser
Copy link
Contributor Author

@akhilnarang Could you URGENTLY take a look at this? This currently breaks all Frappe V15 instances.

marcramser referenced this pull request in frappe/frappe Feb 9, 2026
@akhilnarang akhilnarang merged commit f0a08c3 into frappe:develop Feb 9, 2026
6 of 10 checks passed
@github-actions
Copy link

github-actions bot commented Feb 9, 2026

🎉 This PR is included in version 5.29.1 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Setuptools v82.0.0 breaking compatibility with frappe v15

2 participants