Closed (fixed)
Project:
Drupal core
Version:
11.x-dev
Component:
base system
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
8 Jan 2024 at 17:44 UTC
Updated:
25 Apr 2024 at 13:39 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
catchhttps://www.drupal.org/docs/getting-started/system-requirements/overview only deals with one branch at a time. We can probably take it over for Drupal 11 and then have Drupal 10 information https://www.drupal.org/docs/getting-started/system-requirements/php-requ... ? Or do we need an extra overview page for Drupal 10?
Comment #3
catchComment #4
longwaveI think we should keep the requirements on one page, and just split up sections or introduce tables where it differs by major? (PHP version, database versions)
Comment #5
quietone commentedI thought about the docs over the last day and came to the conclusion that the Overview page should show an overview for all supported major versions. It is a somewhat atypical view for me as I do like to sub-divide stuff. However, in this case it is meant to be a short summary of all the requirements so the page should not grow long. We want to keep it short.
I have perhaps over stepped but I have made that change to the Overview page so we can see what it looks like. Most of the Drupal 11 requirements are TBA.
Comment #6
bramdriesenMakes sense @quietone as that is usually the page where I look for this info in the past
Comment #7
bramdriesenThis is unblocked now as #3400984: Make PHP 8.3 the default environment for gitlab CI runs is committed.
Comment #9
andypostComment #10
bramdriesenI think this is everything. Let's see if the tests are happy as well.
Comment #11
bramdriesenIn regards of the CR, should we add similar info as when we bumped to 8.1 about linux distributions?
https://www.drupal.org/node/3264830
Comment #12
bramdriesenLatest test run is green 😇
Comment #13
needs-review-queue-bot commentedThe Needs Review Queue Bot tested this issue. It fails the Drupal core commit checks. Therefore, this issue status is now "Needs work".
This does not mean that the patch needs to be re-rolled or the MR rebased. Read the Issue Summary, the issue tags and the latest discussion here to determine what needs to be done.
Consult the Drupal Contributor Guide to find step-by-step guides for working with issues.
Comment #15
catchI think we should do #3400984: Make PHP 8.3 the default environment for gitlab CI runs first, since we can also backport that to 10.3.x.
Comment #16
longwaveThe dependent issue landed in 11.x. CI runs are only on PHP 8.3 in 11.x now.
Comment #17
longwaveRebased the MR, removed some additional dead code.
Comment #18
smustgrave commentedAppears to need another rebase. Only moving to NW for that.
But questions
- Does the CR need any tweaking or can that tag be removed.
- I'm still not clear when or where documentation updates happen so leaving that one.
Comment #19
catchDocs updates are https://www.drupal.org/docs/getting-started/system-requirements/overview and the 8.3 requirement is on there now.
I don't think we need the distro-by-distro rundown this time because Drupal 10 will be supported for much longer than Drupal 9.5 was, so going to remove that tag as well.
Comment #20
longwaveRebased.
Comment #21
mondrakeComment inline
Comment #22
longwaveComment #23
bramdriesenApplied one suggestion. All other changes still look good to me! But maybe setting my own MR to RTBC is not good ;-) so letting it open for others to look at as well.
Comment #24
longwaveWe might want to be compatible with sebastian/diff v5 but we can't for now:
Unsure why this keeps flipping back and forth, I thought I saw an explanation in another issue but can't find it now.
Comment #25
longwaveWe can explicitly declare it in composer.json then it cascades down to the Diff component's composer.json: https://git.drupalcode.org/project/drupal/-/merge_requests/6143/diffs?co...
Comment #26
spokjeNot saying we shouldn't, but why all the effort when none of our dependencies apparently need v5?
Comment #27
spokjeNot saying we shouldn't, but why all the effort when none of our dependencies apparently need v5?
Comment #28
mondrakeWell Diff is a 'component', it could theoretically be used independently from Drupal, so allowing more version is good if the compnent itself is not breaking. Actually there's already a Diff version 6 out, that is required in PHPUnit 11.
Let's roll. RTBC.
Comment #29
mondrake@longwave re #24 that back and forth was discussed in #3428052: Bump phpstan/phpstan and mglaman/phpstan-drupal to latest.
Comment #30
longwaveI have no real preference whether we allow diff v5 here or not but it does seem a bit out of scope, we aren't testing our Diff component with v5 so we can't be 100% sure it works.
Comment #31
mondrakefwiw we are, in #3417066: Upgrade PHPUnit to 10, drop Symfony PHPUnit-bridge dependency. But agree, it's not HEAD, so oos strictly speaking ATM.
Comment #32
catchDo we need/want an extra announcement apart from the change record so that core contributors are reminded to update to PHP 8.3 potentially before their locals blow up? Just checked and I wasn't on 8.3 yet for mine (now I am though :P).
Comment #33
catchDo we need/want an extra announcement apart from the change record so that core contributors are reminded to update to PHP 8.3 before their locals blow up? Just checked and I wasn't on 8.3 yet for mine (now I am though :P).
Comment #34
longwave@catch we did not officially announce #3330874: [11.x] [policy] Require PHP 8.3 for Drupal 11 anywhere that I can find.
https://www.drupal.org/about/core/blog/drupal-10-php-requirements-announ... notes that "Drupal community members provided feedback that they would have liked to know the Drupal 9 platform requirements further ahead of time" which we did do for Drupal 10 culminating in the PHP 8.1 announcement. So I think that we probably should finalise requirements in #3214954: [11.x] [meta] Set Drupal 11 platform and browser requirements at least six months before the release and make a blog post with the decisions?
Comment #35
gábor hojtsyHappy to help cook up an announcement :) Do we want to announce it at the same time with the other requirements?
Comment #36
longwavehttps://www.drupal.org/about/core/blog/drupal-110-will-require-php-83-an... was announced so I think there is nothing blocking this now.
Comment #38
catchDouble checked gitlabci.yml and noticed this, fixed on commit:
Committed/pushed to 11.x, thanks!
Comment #39
mondrakeLooks like ONLY #38 was committed, not the MR content itself
Comment #41
longwaveCommitted and pushed the MR, think that's OK even though I worked on it as @catch intended to push earlier.
Comment #42
catchDon't know how I managed that, but thanks for spotting!
Comment #43
mondrakePublished CR
Comment #45
gábor hojtsy@andypost sent us https://wiki.php.net/rfc/release_cycle_update which is about to increase support for PHP 8.2 with one year. So that means PHP 8.2 would be supported at least two years or possibly 2.5 years after Drupal 11 is released. This allows us to lower the PHP requirement to PHP 8.2 and make hosting Drupal 11 easier. PHP 8.3 was released 5 months ago. I opened #3440242: Lower PHP requirement from 8.3 to 8.2 in Drupal 11 due to increased security support and #3440114: Update PHP EOL dates based on updated PHP team decisions for these consequences.