Hi

I have tried to install the module to Drupal 9 using Composer and it reports s follows:

$ composer require drupal/views_ical


  [InvalidArgumentException]
  Could not find a version of package drupal/views_ical matching your minimum
  -stability (stable). Require it with an explicit version constraint allowin
  g its desired stability.

I have also tried explicitly loading version 8.x-1.0-alpha8 but get:

$ composer require 'drupal/views_ical:^8.x-1.0-alpha8'

  [UnexpectedValueException]
  Could not parse version constraint ^8.x-1.0-alpha8: Invalid version string
  "^8.x-1.0-alpha8"

Comments

cebab54 created an issue. See original summary.

cebab54’s picture

Issue summary: View changes
cebab54’s picture

I think this may be because the views_ical.info.yml file still has the 'core: 8.x' line present as well as the newer 'core_version_requirement: ^8 || ^9'

causing the load error with Composer and more particularly Drupal 9?

bburg’s picture

It looks like your composer configuration doesn't want to install an alpha release of a module, but it could be the "core" option. I thought that was ignored now in favor of the "core_version_requirement".

I have a few issues I had been waiting on before I made a 1.0 release, but I'll try removing that core line first. Will do that this week. If that doesn't work, I can make a full release.

cebab54’s picture

Removing the Core line seems to work here now.

I have found some other issues, but will raise them separately

liam morland’s picture

Category: Bug report » Support request
Status: Active » Postponed (maintainer needs more info)

The project page suggests using: composer require 'drupal/views_ical:^1.0@alpha'

That is likely to work since it declares the stability in the require. Does this work?

core_version_requirement or anything else in the info file should not matter. Composer doesn't use that.