Trellis: Remove Prestissimo when Composer 2.x is released

Created on 18 Jun 2019  路  2Comments  路  Source: roots/trellis

we're currently using https://github.com/hirak/prestissimo to make composer packages download faster and it works great

it looks like it's been added upstream to composer and will be released whenever v2 drops:

https://github.com/composer/composer/pull/5293#issuecomment-458995794

Most helpful comment

All 2 comments

It seems that the time has come. Composer 2 is out and prestissimo now fails to install (from a trellis vanilla install, PHP forced to 7.4 in order to avoid #1233 ).

TASK [composer : Install configured globally-required packages.] ***************
System info:
  Ansible 2.9.13; Vagrant 2.2.10; Darwin
  Trellis version (per changelog): "Allow WP cron intervals to be configurable"
---------------------------------------------------
non-zero return code
Changed current directory to /root/.composer
Do not run Composer as root/super user! See https://getcomposer.org/root for
details


  [InvalidArgumentException]
  Package hirak/prestissimo at version @stable has a PHP requirement
incompatible with your PHP version, PHP extensions and Composer version

see also https://github.com/hirak/prestissimo/issues/233

Was this page helpful?
0 / 5 - 0 ratings

Related issues

connerbw picture connerbw  路  9Comments

swalkinshaw picture swalkinshaw  路  4Comments

vercotux picture vercotux  路  3Comments

MasonFI picture MasonFI  路  5Comments

louim picture louim  路  5Comments