Skip to content

Upgrading pluggy 0.4 to 0.5

Breaking0.4.0 → 0.5.2Breaking1Deprecated1New2Changed3Fixed4Other5

BreakingUpgrade verdict

1 breaking change.

  • You can no longer register arbitrary callable objects as hook implementations; only real functions work.
  • The __multicall__ mechanism is deprecated in favor of a faster internal call loop.
2 items need code or config changes
Breaking1
Considers only actual functions for hooks, removing the ability to register arbitrary callable objects.
Deprecated1
Deprecates __multicall__ and adds a faster call loop implementation.
__multicall__