Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 887739 - www-apps/moodle: allow php:8.0 for moodle >= 3.11.8
Summary: www-apps/moodle: allow php:8.0 for moodle >= 3.11.8
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Anthony Basile
URL: https://moodledev.io/general/developm...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-12-21 16:25 UTC by Timo Gurr
Modified: 2023-08-14 15:34 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Timo Gurr 2022-12-21 16:25:07 UTC
Currently the ebuilds force SLOT :7.4 on moodle, even for versions already supporting PHP 8.0 as documented upstream on https://moodledev.io/general/development/policies/php#php-80

Reproducible: Always

Steps to Reproduce:
1. Install php:8.0
2. Install moodle >= 3.11.8
Actual Results:  
See moodle forcing the install of php :7.4

Expected Results:  
Also allow php :8.0
Comment 1 Timo Gurr 2023-07-28 08:27:40 UTC
PHP 8.1 became supported by newer moodle versions in the meantime as well:

https://moodledev.io/general/development/policies/php#php-81:

PHP 8.1 can be used with Moodle 4.1.2, Moodle 4.2 and later releases. See MDL-73016 for details.
Comment 2 Anthony Basile gentoo-dev 2023-08-14 13:22:53 UTC
(In reply to Timo Gurr from comment #1)
> PHP 8.1 became supported by newer moodle versions in the meantime as well:
> 
> https://moodledev.io/general/development/policies/php#php-81:
> 
> PHP 8.1 can be used with Moodle 4.1.2, Moodle 4.2 and later releases. See
> MDL-73016 for details.

Sorry for the delay but this should get fixed with today's updates of moodle ebuilds.
Comment 3 Larry the Git Cow gentoo-dev 2023-08-14 15:34:40 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=43864555e2ea6175dda89c422382d93faa932c6f

commit 43864555e2ea6175dda89c422382d93faa932c6f
Author:     Anthony G. Basile <blueness@gentoo.org>
AuthorDate: 2023-08-14 15:10:50 +0000
Commit:     Anthony G. Basile <blueness@gentoo.org>
CommitDate: 2023-08-14 15:34:30 +0000

    www-apps/moodle: 3.11.16, 4.0.10, 4.1.5, 4.2.2
    
    Closes: https://bugs.gentoo.org/887739
    Signed-off-by: Anthony G. Basile <blueness@gentoo.org>

 www-apps/moodle/Manifest                                         | 8 ++++----
 www-apps/moodle/{moodle-3.11.15.ebuild => moodle-3.11.16.ebuild} | 6 +++---
 www-apps/moodle/{moodle-4.0.9.ebuild => moodle-4.0.10.ebuild}    | 4 ++--
 www-apps/moodle/{moodle-4.1.4.ebuild => moodle-4.1.5.ebuild}     | 4 ++--
 www-apps/moodle/{moodle-4.2.1.ebuild => moodle-4.2.2.ebuild}     | 4 ++--
 5 files changed, 13 insertions(+), 13 deletions(-)