Skip to content

GuzzleHttp version conflicting with other plugins for lack of centralized libraries #41

@drzraf

Description

@drzraf

I would like to bring your attention on stephan-strate/grav-plugin-logger-channels#4

  • grav-plugin-login-oauth2 : guzzlehttp/guzzle : 6.5.4, GuzzleHttp::choose_handler()
  • grav-plugin-logger-channels : guzzlehttp/guzzle : 7.2.0, GuzzleHttp\Utils::chooseHandler()

Both do return require __DIR__ . '/vendor/autoload.php'; (and corresponding spl_autoload_register with different entries for GuzzleHttp) in a first-win fashion which make both plugins de facto incompatibles.

I'm pretty sure it's not the first time such an issue arise since it's deemed to happen if each plugin manages its own set of dependencies (which are likely redundant across a Grav installation).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions