While using this command composer require 'drupal/quiz:6.0.x-dev@dev' for installing the Quiz in my D10 instance got the following errors

Problem 1
- drupal/quiz dev-6.0.x requires drupal/rules 3.x-dev -> found drupal/rules[dev-3.x, 3.x-dev (alias of dev-3.x)] but it does not match your minimum-stability.
- drupal/quiz 6.0.x-dev is an alias of drupal/quiz dev-6.0.x and thus requires it to be installed too.
- Root composer.json requires drupal/quiz 6.0.x-dev@dev -> satisfiable by drupal/quiz[6.0.x-dev (alias of dev-6.0.x)].

Issue fork quiz-3447772

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

Asheesh kumar Pal created an issue. See original summary.

asheesh kumar pal’s picture

Title: This modules has lots of dependencies and some dependent modules are not have stable release » This modules has lots of dependencies and some dependent modules are not have stable release hence unable to install

aaron.ferris made their first commit to this issue’s fork.

aaron.ferris’s picture

Looking at the state of Rules, comparing Alpha8 vs dev, appears we are missing 2 commits (one being a trivial spelling commit) and the change from this issue: https://www.drupal.org/project/rules/issues/3392529

If we wanted to get Quiz on the latest Alpha of Rules, we could update composer to use it, and patch this https://www.drupal.org/files/issues/2023-10-08/3392529-2-drush-version.p... in, which leaves just this missing https://git.drupalcode.org/project/rules/-/commit/855fb6cf488494f51e8868...

aaron.ferris’s picture

Status: Active » Needs review
avpaderno’s picture

Title: This modules has lots of dependencies and some dependent modules are not have stable release hence unable to install » This module has lots of dependencies and some dependent modules are not have stable release hence unable to install

smustgrave’s picture

erwangel’s picture

Rules has now a 4.0 version.

I followed vselivanov way (#5 of Closed #3463528: cannot install 6.0.0-alpha8 on drupal 10.3.1) but Quiz is still blocking any module update with composer. I am on Drupal 10.3.1 and I had previously updated Rules to the 4.0 branch. Here is what I get:

  Problem 1
    - Root composer.json requires drupal/quiz dev-3463528-cannot-install-6.0.0-alpha8, it is satisfiable by drupal/quiz[dev-3463528-cannot-install-6.0.0-alpha8] from vcs repo (git https://git.drupalcode.org/issue/quiz-3463528.git) but drupal/quiz[dev-4.x, dev-5.x, dev-6.x, dev-6.0.x, dev-7.0.x, 4.x-dev (alias of dev-4.x), 5.x-dev (alias of dev-5.x), 6.0.0-alpha1, ..., 6.x-dev (alias of dev-6.x), 7.0.x-dev (alias of dev-7.0.x)] from composer repo (https://packages.drupal.org/8) has higher repository priority. The packages from the higher priority repository do not match your constraint and are therefore not installable. That repository is canonical so the lower priority repo's packages are not installable. See https://getcomposer.org/repoprio for details and assistance.

smustgrave’s picture

Could someone see if the 6.0.x dev branch works with the change I just pushed.

Been doing a lot of work on the 7.0.x branch which will be 10.3 and 11 and this composer update worked.

vselivanov’s picture

Thank you for this quick update.
Quiz dev-6.0.x works for me with Drupal 10.3.1.

I removed all my composer repository changes from the #5 of Closed #3463528: cannot install 6.0.0-alpha8 on drupal 10.3.1.
Now composer update pulls Rules 4.0.0.

smustgrave’s picture

Status: Needs review » Fixed

I'll do a small release of 6.0.x branch then.

Currently triaging the issue queue and planning a new branch #3464039: [META] 7.0.0 release

Status: Fixed » Closed (fixed)

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