Problem/Motivation

drush updb gives
[warning] Slick requires this module and version. Currently using Blazy version
(Currently using Unresolved dependency Blazy (Version >= 3.x required)
)

Steps to reproduce

Proposed resolution

The Version of Blazy is missing in the blazy.info.yml file. Add it

Remaining tasks

User interface changes

API changes

Data model changes

Comments

tjtj created an issue. See original summary.

gausarts’s picture

Category: Bug report » Feature request
Priority: Major » Normal
Status: Active » Postponed

Thank you.

You are correct.

Either with or without version directive, it is always a bug depending on usages :)

The quick solutions:

  • expected by Drupal CS, do not use partial GIT nor --prefer-source.
  • follow Update SO at home for working commands even after facing this issue.
  • hit "Yes" when prompted by drush to proceed the update.

We used to have it to support your particular usage, however the latest Drupal CS emitted a warning that made the entire job fail for having a version in info.yml file:
https://git.drupalcode.org/project/blazy/-/jobs/6809917

This warning never made the job fail till recently.

That's why it is removed:
https://git.drupalcode.org/project/blazy/-/commit/6c3f2dcaa59932feb67392...

To those who don't get it:

  • With version, Drupal CS spits out a warning that makes the job fail.
  • Without one, Drupal CS is happy, but partial GIT like traditional patchers, or COMPOSER acting as GIT via --prefer-source would fail. Consequently, CLI like drush, and also Drupal UI /admin/modules would then fail. Mostly relevant for patchers, devs and debugs about which Drupal CS don't care.

It is all about packaged vs non-packaged thingies.

We would consider adding it back once we figure out to exclude info.yml file from CS, perhaps via gitlab-ci.yml:
https://git.drupalcode.org/project/blazy/-/blob/3.0.x/.gitlab-ci.yml?ref...

Or something else?

Patches are welcome.

trickfun’s picture

Non only slick

Unresolved dependency
Blazy (Version >= 3.x required)
Ajaxin requires this module and version. Currently using Blazy version
Unresolved dependency
Blazy (Version >= 3.x required)
Blazy PhotoSwipe requires this module and version. Currently using Blazy version
Unresolved dependency
Blazy (Version >= 3.x required)
Intersection Observer requires this module and version. Currently using Blazy version
Unresolved dependency
Blazy (Version >= 2.17 required)
Splide UI requires this module and version. Currently using Blazy version
Unresolved dependency
Blazy (Version >= 2.17 required)
Splide requires this module and version. Currently using Blazy version