composer why-not names the packages blocking an upgrade

Before bumping Adobe Commerce, ask Composer which installed packages refuse the target version. It names each blocker and the constraint it declares.

why-not is Composer’s alias for prohibits.

composer why-not magento/product-enterprise-edition 2.4.9

On Magento Open Source the package is magento/product-community-edition.

Run it in a branch, fix or replace each package it lists, and run it again until it comes back clean. For applying security patches rather than upgrading, see the patch runbook.

Vishwas Bhatnagar

More quick notes

More