Semanticmediawiki: Abandoned guzzlehttp packages

Created on 22 Jan 2021  路  2Comments  路  Source: SemanticMediaWiki/SemanticMediaWiki

Setup

  • SMW version: 3.2.x
  • MW version: 1.35.1 (current REL1_35 branch from GitHub)
  • PHP version: 7.4.3

Issue

Running php composer.phar update --no-dev with an empty composer.local.json against MediaWiki REL1_35 branch from GitHub has no issues. After adding "mediawiki/semantic-media-wiki": "~3.2.0" to composer.local.json, there are two warnings about abandoned guzzlehttp packages:

> ComposerHookHandler::onPreUpdate
Loading composer repositories with package information
Updating dependencies
Package operations: 25 installs, 0 updates, 0 removals
  - Installing composer/installers (v1.10.0): Loading from cache
  - Installing justinrainbow/json-schema (5.2.10): Loading from cache
  - Installing seld/jsonlint (1.8.3): Loading from cache
  - Installing react/promise (v2.8.0): Loading from cache
  - Installing guzzlehttp/streams (3.0.0): Loading from cache
  - Installing guzzlehttp/ringphp (1.1.1): Loading from cache
  - Installing elasticsearch/elasticsearch (v6.7.2): Loading from cache
  - Installing symfony/css-selector (v3.4.47): Loading from cache
  - Installing onoi/shared-resources (0.4.3): Loading from cache
  - Installing wikimedia/textcat (1.3.0): Loading from cache
  - Installing onoi/tesa (0.1.0): Loading from cache
  - Installing onoi/callback-container (2.0.0): Loading from cache
  - Installing onoi/cache (1.2.0): Loading from cache
  - Installing onoi/http-request (1.3.1): Loading from cache
  - Installing onoi/blob-store (1.2.1): Loading from cache
  - Installing onoi/event-dispatcher (1.1.0): Loading from cache
  - Installing onoi/message-reporter (1.4.2): Loading from cache
  - Installing serialization/serialization (4.0.0): Loading from cache
  - Installing data-values/interfaces (0.2.5): Loading from cache
  - Installing data-values/data-values (2.3.0): Loading from cache
  - Installing data-values/validators (0.1.3): Loading from cache
  - Installing data-values/common (0.4.3): Loading from cache
  - Installing param-processor/param-processor (1.10.0): Loading from cache
  - Installing mediawiki/parser-hooks (1.6.1): Loading from cache
  - Installing mediawiki/semantic-media-wiki (3.2.2): Loading from cache
Package guzzlehttp/streams is abandoned, you should avoid using it. No replacement was suggested.
Package guzzlehttp/ringphp is abandoned, you should avoid using it. No replacement was suggested.
Writing lock file
Generating optimized autoload files
9 packages you are using are looking for funding.
Use the `composer fund` command to find out more!
> ComposerVendorHtaccessCreator::onEvent

Steps to reproduce the observation (recommendation is to use the sandbox):

bug mediawiki newcomer

All 2 comments

Cause:

SMW depends on elasticsearch/elasticsearch: ^5.3|^6.0 which depends on those abandoned packages

Fix:

Allow installation with https://packagist.org/packages/elasticsearch/elasticsearch 7.x (or later)

I'd not touch this until CirrusSearch moves on to newer versions of Elasticserach. Labeling this with "mediawiki" too since upstream is the holdup, even if it is not core.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

djoris picture djoris  路  4Comments

plegault3397 picture plegault3397  路  3Comments

WolfgangFahl picture WolfgangFahl  路  3Comments

Larivact picture Larivact  路  4Comments

mwjames picture mwjames  路  3Comments