Drupal version : 9.3
Composer 2.3.2 2022-03-30 20:45:25

exec:
```
composer require 'drupal/o365:3.0.x-dev@dev' -vvv

Your requirements could not be resolved to an installable set of packages.

Problem 1
- drupal/o365 dev-3.0.x requires drupal/oauth2_client ^3.0@beta -> found drupal/oauth2_client[dev-3.x, 3.0.0-alpha1, 3.0.0-beta1, 3.x-dev (alias of dev-3.x)] but it does not match your minimum-stability.
- drupal/o365 3.0.x-dev is an alias of drupal/o365 dev-3.0.x and thus requires it to be installed too.
- Root composer.json requires drupal/o365 3.0.x-dev@dev -> satisfiable by drupal/o365[3.0.x-dev (alias of dev-3.0.x)].

Installation failed, reverting ./composer.json and ./composer.lock to their original content.
root@3b05826d028b:/opt/drupal#

```

Issue fork o365-3272879

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

dravenk created an issue. See original summary.

dravenk’s picture

Dependent packages are not handled in the correct way, or the dependent package version is wrong. I must install oauth2_client before I download this package.

```
composer require 'drupal/oauth2_client:^3.0@beta'
```
Additional download commands for dependent packages do not need to be executed correctly

fabianderijk made their first commit to this issue’s fork.

  • fabianderijk committed f6f5c0f on 3.0.x authored by dravenk
    Issue #3272879 by dravenk: install failed with core 9.3.9 on docker...
fabianderijk’s picture

Status: Active » Fixed

Thanks, the MR has been merged.

fabianderijk’s picture

I've just created the 3.0.10 release tag, it will be available soon.

dravenk’s picture

Thank you for your reply quickly. I am still in testing. I feel sorry because the problem may be that the core project is stable. If the Drupal module is a stable version, the minimum-stability setting for the module does not take effect, but removing the minimum-stability parameter from the module and downloading the development version of the module using composer is work.

    "minimum-stability": "stable",
    "prefer-stable": true,

The default drupal:fpm on docker.io is stable. It's must change the Drupal root directory composer.json to below that can download the development version of the module

"minimum-stability": "dev",
"prefer-stable": false,

Status: Fixed » Closed (fixed)

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