Page MenuHomePhabricator

Unable to update translatewiki.net: romaricdrigon/metayaml 1.1 requires symfony/yaml ~2.3|~3.0
Open, HighPublic

Description

This is a conflict between a dependency on Translate and MediaWiki core.

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald TranscriptOct 14 2019, 7:20 AM
Nikerabbit triaged this task as Unbreak Now! priority.Oct 14 2019, 7:26 AM
Nikerabbit added subscribers: Reedy, Jdforrester-WMF.

Caused by rMWcd6f99e97f71: Upgrade symfony/yaml from 3.4.31 to 4.3.4. I see a few options:

  • Ask upstream to allow 4.x
  • Relax MediaWiki requirements to allow 3.x|4.x (as far as I know nothing depends on 4.x)
  • Fork upstream to allow 4.x (meh)
  • Replace metayaml with something else (not a good use of time)
  • Stop using metayaml (don't want to drive without seatbelts)
Restricted Application added a subscriber: Liuxinyu970226. · View Herald TranscriptOct 14 2019, 7:26 AM
Reedy added a comment.EditedOct 14 2019, 7:53 AM

Master has a fix for that, so it could mostly just be asking them to release the fix - https://github.com/romaricdrigon/MetaYaml/commit/1481b99679b29cbb50c88f3e10e4951ac64b8ad3

https://github.com/romaricdrigon/MetaYaml/compare/1.1...master

Certainly relaxing the requirement in MW (to allow 3 or 4) seems reasonable in the meantime

Okay, I'll ask them about doing a release.

Currently carrying a local patch to override composer.json.

The local patch just had a merge conflict.

Change 545780 had a related patch set uploaded (by Nikerabbit; owner: Nikerabbit):
[mediawiki/core@master] Allow symfony/yaml 3.x

https://gerrit.wikimedia.org/r/545780

Change 545780 merged by jenkins-bot:
[mediawiki/core@master] composer: Allow symfony/yaml ~3.4

https://gerrit.wikimedia.org/r/545780

Still silent in upstream. Should we close this task now?

abi_ lowered the priority of this task from Unbreak Now! to High.Nov 18 2019, 10:01 AM
abi_ added a subscriber: abi_.

Reducing the priority to High since we've made a local patch.

Change 570621 had a related patch set uploaded (by Daimona Eaytoy; owner: Daimona Eaytoy):
[mediawiki/core@master] composer: Re-add symfony/yaml 3.4

https://gerrit.wikimedia.org/r/570621

Change 570621 merged by jenkins-bot:
[mediawiki/core@master] Relax symfony/yaml to allow ~3.4|~4.5|~5.0

https://gerrit.wikimedia.org/r/570621

Reedy added a comment.Wed, Nov 4, 2:00 AM

Upstream seems a bit dead...

Change 638780 had a related patch set uploaded (by Reedy; owner: Reedy):
[mediawiki/core@master] Update symfony/yaml supported versions

https://gerrit.wikimedia.org/r/638780

Change 638780 merged by jenkins-bot:
[mediawiki/core@master] Update symfony/yaml supported versions

https://gerrit.wikimedia.org/r/638780