Module version 8.x-1.3 does not install on Drupal 11.1.4

Try to install with composer upgrade -W or by referring directly to the module

Comments

hassebasse created an issue. See original summary.

maxilein’s picture

Same here:

composer require 'drupal/views_dependent_filters:^1.3'
./composer.json has been updated
Running composer update drupal/views_dependent_filters
Gathering patches for root package.
Loading composer repositories with package information
Updating dependencies
Your requirements could not be resolved to an installable set of packages.

Problem 1
- Root composer.json requires drupal/views_dependent_filters ^1.3 -> satisfiable by drupal/views_dependent_filters[1.3.0].
- drupal/views_dependent_filters 1.3.0 requires drupal/core ^8.8 || ^9 || ^10 -> found drupal/core[8.8.0, ..., 8.9.20, 9.0.0, ..., 9.5.11, 10.0.0, ..., 10.4.4] but the package is fixed to 11.1.3 (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.

orkutmuratyilmaz’s picture

This is what I see:

$ ddev composer require 'drupal/views_dependent_filters:^1.3' --no-update
./composer.json has been updated
$ ddev composer update --dry-run                                         
Loading composer repositories with package information
Updating dependencies
Lock file operations: 1 install, 2 updates, 0 removals
  - Upgrading drupal/entity_usage (2.0.0-beta21 => 2.0.0-beta22)
  - Locking drupal/views_dependent_filters (dev-1.x 56e4a2d)
  - Upgrading phpstan/phpstan (1.12.20 => 1.12.21)
Installing dependencies from lock file (including require-dev)
Package operations: 1 install, 2 updates, 0 removals
  - Upgrading drupal/entity_usage (2.0.0-beta21 => 2.0.0-beta22)
  - Upgrading phpstan/phpstan (1.12.20 => 1.12.21)
  - Installing drupal/views_dependent_filters (dev-1.x 56e4a2d)
67 packages you are using are looking for funding.
Use the `composer fund` command to find out more!
No security vulnerability advisories found.
$ ddev composer update          
Loading composer repositories with package information
Updating dependencies
Lock file operations: 1 install, 2 updates, 0 removals
  - Upgrading drupal/entity_usage (2.0.0-beta21 => 2.0.0-beta22)
  - Locking drupal/views_dependent_filters (dev-1.x 56e4a2d)
  - Upgrading phpstan/phpstan (1.12.20 => 1.12.21)
Writing lock file
Installing dependencies from lock file (including require-dev)
Package operations: 1 install, 2 updates, 0 removals
  - Downloading drupal/entity_usage (2.0.0-beta22)
  - Syncing drupal/views_dependent_filters (dev-1.x 56e4a2d) into cache
  - Upgrading drupal/entity_usage (2.0.0-beta21 => 2.0.0-beta22): Extracting archive
  - Upgrading phpstan/phpstan (1.12.20 => 1.12.21): Extracting archive
  - Installing drupal/views_dependent_filters (dev-1.x 56e4a2d): Cloning 56e4a2de04 from cache
Generating autoload files
67 packages you are using are looking for funding.
Use the `composer fund` command to find out more!
No security vulnerability advisories found.
strykaizer’s picture

Status: Active » Postponed (maintainer needs more info)

I can not reproduce this.

To test this I installed a vanilla 11.1.4 Drupal in ddev.
with composer, I installed 1.2 views_dependent_filters
Then I ran composer update drupal/views_dependent_filters -W, which updated to 1.3 as expected.

Can you please document how to reproduce this on a vanilla drupal environment?

  • strykaizer committed d31ad554 on 8.x-1.x
    #3511697 Bumb deprecated module version requirements
    
orkutmuratyilmaz’s picture

Today a new release is created for Entity Usage. After that, this is the output:

$ ddev composer up -W                          
Loading composer repositories with package information
Updating dependencies
Lock file operations: 0 installs, 2 updates, 0 removals
  - Upgrading drupal/entity_usage (2.0.0-beta22 => 2.0.0-beta23)
  - Upgrading drupal/views_dependent_filters (dev-1.x 56e4a2d => 1.3.0)
Writing lock file
Installing dependencies from lock file (including require-dev)
Package operations: 0 installs, 2 updates, 0 removals
  - Downloading drupal/entity_usage (2.0.0-beta23)
  - Syncing drupal/views_dependent_filters (1.3.0) into cache
  - Upgrading drupal/entity_usage (2.0.0-beta22 => 2.0.0-beta23): Extracting archive
  - Upgrading drupal/views_dependent_filters (dev-1.x 56e4a2d => 1.3.0): Checking out 8.x-1.3 from cache
Generating autoload files
67 packages you are using are looking for funding.
Use the `composer fund` command to find out more!
No security vulnerability advisories found.
maxilein’s picture

hm, ... it works if you just use

composer require 'drupal/views_dependent_filters

maxilein’s picture

and it is not on ddev

hassebasse’s picture

I started this issue but now it works for me. I tried a multiple times with no installation but a few days later it installed with composer upgrade -W I have no idea about what was going on.

strykaizer’s picture

Status: Postponed (maintainer needs more info) » Closed (works as designed)

Perfect. Thanks for reporting back!
Closing for now