Problem/Motivation

The version numbers in the core/INSTALL.txt file are wrong. I've already corrected https://www.drupal.org/requirements with the right numbers taken from:

  • core/lib/Drupal/Core/Database/Driver/pgsql/Install/Tasks.php
  • core/lib/Drupal/Core/Database/Driver/sqlite/Install/Tasks.php

Proposed resolution

Change the text to reflect the correct versions.

Remaining tasks

  • Review and apply the patch.

User interface changes

None.

API changes

None.

Data model changes

None.

Beta phase evaluation

Reference: https://www.drupal.org/core/beta-changes
Issue category Bug because the version numbers are not correct.
Issue priority Major because this text MUST be corrected, but I didn't want to raise it as Critical :)
Unfrozen changes Unfrozen because it only changes documentation.
Prioritized changes The main goal of this issue is to provide correct system requirements information.

Comments

jcnventura created an issue. See original summary.

jcnventura’s picture

StatusFileSize
new744 bytes
jcnventura’s picture

I wonder if this tag is used...

jcnventura’s picture

Issue tags: +Needs backport to D7

And just for fun, D7's install also needs to be corrected as the minimum SQLite version is 3.3.7 and not 3.4.2.

mradcliffe’s picture

I reviewed the changes to the comments in install text and did not find any issues. They match the install task code base.

Good catch, @jcventura. Also, we no longer need to add tests for PHP 5.4 for Drupal 8 as it is not supported.

jcnventura’s picture

@mradcliffe: thanks for the review. Yes. I ran 5.4 just out of curiosity. I'm a bit disappointed that it doesn't even attempt to run.

mradcliffe’s picture

Title: Update required versions of PostgreSQL and SQLite » Update required versions of PostgreSQL and SQLite in INSTALL.txt

Clarifying issue title.

webchick’s picture

Version: 8.0.x-dev » 7.x-dev
Status: Reviewed & tested by the community » Patch (to be ported)

Good catch.

Committed and pushed to 8.0.x. Thanks!

Moving back to 7.x for backport.

  • webchick committed 829415c on 8.0.x
    Issue #2583743 by jcnventura: Update required versions of PostgreSQL and...
mradcliffe’s picture

Issue summary: View changes

Updated issue summary for Drupal 7 task.

jcnventura’s picture

Status: Patch (to be ported) » Needs review
StatusFileSize
new613 bytes

Thanks @webchcick..

Tracing the D7 bug, the "wrong" version number was added to INSTALL.txt in this issue: #407202: Make it clear that PostgreSQL and SQLite are supported

And the version check was added/modified in this: #946968: We are not checking the version of MySQL and PostgreSQL servers anymore (nor we do for SQLite)

Whereas SQLite support was added here #67349: Support SQLite databases, without any indication of any required version number.

The INSTALL.txt preceded the version check by at least 18 months, and I have no indication whatsoever of why Damien Tournoud chose 3.4.2 at that time. In any case, either we correct INSTALL.txt to be inline with the version check, or we should update Drupal's system requirements documentation and the version check. I believe that if 3.3.7 were incorrect, we'd have noticed by now, so I'm opting to correct INSTALL.txt in this patch.

If someone is feeling generous, mark this RTBC.. You don't actually need to do anything more than opening the patch and the following URL with D7's SQLite version check:

http://cgit.drupalcode.org/drupal/tree/includes/database/sqlite/install....

jcnventura’s picture

Issue summary: View changes
jcnventura’s picture

Issue tags: -Needs backport to D7
StatusFileSize
new1.05 KB

We can also get rid of that @todo in D7's code, as we did raise the minimum SQLite version in D8.

jcnventura’s picture

Title: Update required versions of PostgreSQL and SQLite in INSTALL.txt » Correct required version of SQLite in INSTALL.txt

Better title

ksenzee’s picture

Status: Needs review » Reviewed & tested by the community

Yes, this just brings the install documentation into line with the existing code.

The last submitted patch, 2: update_required-2583743-2.patch, failed testing.

David_Rothstein’s picture

Status: Reviewed & tested by the community » Fixed

Committed to 7.x - thanks!

  • David_Rothstein committed bc9cd7d on 7.x
    Issue #2583743 by jcnventura: Correct required version of SQLite in...

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.