[packaging] require inputcontext explicitly, removing choice