Problem/Motivation

The module can't be installed in Drupal 10.

Steps to reproduce

Install in Drupal 10:

$ composer require -n drupal/backup_migrate
[...]
  Problem 1
    - Root composer.json requires drupal/backup_migrate ^5.0 -> satisfiable by drupal/backup_migrate[5.0.0-rc1, ..., 5.0.x-dev].
    - drupal/backup_migrate[5.0.0-rc1, ..., 5.0.x-dev] require drupal/core ^8.7.7 || ^9 -> found drupal/core[8.7.7, ..., 8.9.x-dev, 9.0.0-alpha1, ..., 9.4.x-dev] but the package is fixed to 10.0.x-dev (lock file version) by a partial update and that version does not match. Make sure you list it as an argument for the update command.

Remaining tasks

  • Add Drupal 10 as a core_version_requirement and remove Drupal 8
  • Fix PHPUnit test errors (8) and self deprecation notices (27)
Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

ressa created an issue. See original summary.

ressa’s picture

Status: Active » Needs review
damienmckenna’s picture

That's the only change? o.O

I think you could drop the D8 part.

ressa’s picture

Issue summary: View changes
Status: Needs review » Needs work

Ah yes, you're right, there is more work to be done :) I have removed D8 from core_version_requirement.

damienmckenna’s picture

Status: Needs work » Fixed

Thank you for putting this together. I ended up committing #3296606 before seeing this, but thank you anyway.

damienmckenna’s picture

Status: Fixed » Closed (duplicate)
Parent issue: » #3296606: Automated Drupal 10 compatibility fixes
ressa’s picture

That's all right, getting the module D10 ready is what counts. And thanks for maintaining the module!

I found a log bug with Drupal 10, so I created #3304922: Drupal 10: Fatal error, logger must be compatible with Psr\Log\AbstractLogger.