mahara-contributors team mailing list archive
-
mahara-contributors team
-
Mailing list archive
-
Message #62638
[Bug 1934212] Re: composer.json requires php ^7.0 but your php version (8.0.7) does not satisfy that requirement.
Hi Andi,
Mahara does not yet support PHP 8. We will keep this bug open though for
when we can get to reviewing changes for PHP 8.
Thank you
Kristina
** Changed in: mahara
Status: New => Triaged
** Tags added: php8
--
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: mahara-contributors
https://bugs.launchpad.net/bugs/1934212
Title:
composer.json requires php ^7.0 but your php version (8.0.7) does not
satisfy that requirement.
Status in Mahara:
Triaged
Bug description:
root@c3:/_GIT/mahara# make cleanssphp && make ssphp
Cleaning out SimpleSAMLphp...
rm -rf htdocs/auth/saml/extlib/simplesamlphp
Composer already installed...
Updating external dependencies with Composer...
Loading composer repositories with package information
Updating dependencies
Nothing to modify in lock file
Installing dependencies from lock file (including require-dev)
Nothing to install, update or remove
Package phpunit/php-token-stream is abandoned, you should avoid using it. No replacement was suggested.
Generating autoload files
43 packages you are using are looking for funding.
Use the `composer fund` command to find out more!
Pulling SimpleSAMLphp from download ...
Using version ^1.1 for predis/predis
./composer.json has been updated
Running composer update predis/predis
Loading composer repositories with package information
Updating dependencies
Your requirements could not be resolved to an installable set of packages.
Problem 1
- Root composer.json requires php >=7.1 <8.0 but your php version (8.0.7) does not satisfy that requirement.
Problem 2
- phpunit/phpunit is locked to version 7.5.20 and an update of this package was not requested.
- phpunit/phpunit 7.5.20 requires php ^7.1 -> your php version (8.0.7) does not satisfy that requirement.
Problem 3
- phpunit/phpunit 7.5.20 requires php ^7.1 -> your php version (8.0.7) does not satisfy that requirement.
- simplesamlphp/simplesamlphp-test-framework v0.1.2 requires phpunit/phpunit ^6.5|^7.0|^8.0 -> satisfiable by phpunit/phpunit[7.5.20].
- simplesamlphp/simplesamlphp-test-framework is locked to version v0.1.2 and an update of this package was not requested.
Installation failed, reverting ./composer.json and ./composer.lock to their original content.
make: *** [Makefile:114: ssphp] Error 2
is the Error message we receive on an UBUNTU 20.04 system by trying to run
make cleanssphp && make ssphp
from Git
- - -
changing
htdocs/external/composer.json to reflect
{
"require": {
"php": "^7.0||^8.0",
and in htdocs/auth/saml/extlib/simplesamlphp/composer.json
from
"require": {
"php": ">=7.1 <8.0",
to
{
"require": {
"php": "^7.0||^8.0",
But still not working and displaying same error
To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1934212/+subscriptions
References