From: James HK <jam...@gm...> - 2014-09-15 19:34:46
|
Hi, > to keep Maps. Even explicitly requiring SemanticMaps 3.1.1 did not work. > In the end it was necessary to completely re-install SemanticMaps, i.e. > > 1. Remove SemanticMaps (and Maps, should you have it) from composer.json > 2. Run composer update > 3. Re-insert SemanticMaps into composer.json (no need for Maps!) > 4. Run composer update again Doing `compose require mediawiki/semantic-maps:3.1.1 --update-with-dependencies` should definitely work without touching the json file. In case you need to remove a package from your list, use `composer remove myVendor/myPackage` instead and avoid editing the file manually. For a complete removal (with its dependencies) it is of advantage to use option `--update-with-dependencies`. Cheers On 9/16/14, Stephan Gambke <s7...@gm...> wrote: > On 2014-09-14 17:55, Jeroen De Dauw wrote: >> I just created a new release of Semantic Maps, version 3.1.1, that >> prevents pulling in incompatible versions of it's dependencies. > > This issue has just come up on IRC. A simple composer update might not > be enough here. > > Apparently composer gets confused when it has to decide to which module > to keep at the latest version. In the case we just had on IRC it decided > to keep Maps. Even explicitly requiring SemanticMaps 3.1.1 did not work. > In the end it was necessary to completely re-install SemanticMaps, i.e. > > 1. Remove SemanticMaps (and Maps, should you have it) from composer.json > 2. Run composer update > 3. Re-insert SemanticMaps into composer.json (no need for Maps!) > 4. Run composer update again > > > ------------------------------------------------------------------------------ > Want excitement? > Manually upgrade your production database. > When you want reliability, choose Perforce > Perforce version control. Predictably reliable. > http://pubads.g.doubleclick.net/gampad/clk?id=157508191&iu=/4140/ostg.clktrk > _______________________________________________ > Semediawiki-user mailing list > Sem...@li... > https://lists.sourceforge.net/lists/listinfo/semediawiki-user > |