mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-08-30 16:58:03 +08:00
a05c2c22d4
common_startup.sh resolved only galaxy.yml, so a Tool Shed deployment installed nothing from conditional-requirements.txt. That is why the sentry-sdk>=2.63.0 pin never reached toolshed.test, which kept an older sentry-sdk and hit the FastAPI >= 0.137 wrapper-loop crash: sentry re-wraps dependant.call on every request there, and inspect.unwrap raises once the chain passes the recursion limit. Move the machinery and the app-agnostic checks into BaseConditionalDependencies so the Tool Shed evaluates the database driver and sentry-sdk checks against its own config section, and let run_tool_shed.sh select it with GALAXY_CONDITIONAL_DEPENDENCIES_APP. Galaxy-only checks stay on ConditionalDependencies, where check() keeps treating a missing check_<name> method as "not needed".