What's New
LMS breaking other-apps

Stop razorpay from breaking

RA @raizasafeel · #2603 · merged 28 Jul 2026

Razorpay <2 imports pkg_resources at module level; setuptools 82 dropped it. LMS imported razorpay at module level in a hook that runs on every session, so any bench with setuptools ≥82 returned HTTP 500 for all requests including login and Desk. Bumped razorpay past the broken range and moved the import inside the get_client() call.