Composer doesn't see drupal/core version required by events_calendar

Created on 7 August 2024, 5 months ago
Updated 26 August 2024, 4 months ago

Problem/Motivation

In #3464405: Convert Events recipe-adjacent projects to general projects โ†’ a number of projects that had been created as modules were converted to general projects, to ensure that packagist would properly handle their dependencies. This works as intended for the Locations and Event Locations recipes, but when I try composer require Drupal/events_calendar:^1.0@alpha it throws an error, saying that the project requires Drupal/core ~8.0, even though the composer.json file explicitly requires >=10.3

I have been able to reproduce this on two different computers (and having cleared composer's cache multiple times). I have also spoken to another dev who encountered the same problem.

Proposed resolution

I haven't been able to figure out the source of this big.

๐Ÿ› Bug report
Status

Fixed

Component

Packaging

Created by

๐Ÿ‡จ๐Ÿ‡ฆCanada mandclu

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

  • Issue created by @mandclu
  • Status changed to Postponed: needs info 5 months ago
  • ๐Ÿ‡บ๐Ÿ‡ธUnited States drumm NY, US

    I believe this may be cached for you. I was able to run the command, after setting the minimum stability. Since events_calendar was a module, it would have had packages.drupal.org metadata, that no longer exists. packages.drupal.org overrides Packagist.org.

  • ๐Ÿ‡บ๐Ÿ‡ธUnited States cmlara

    FWIW:

    I pulled the json from packages.drupal.org manually (I want to say some time on the 8th) and observed it containing the incorrect metadata.

    Manual pull now (correctly) returns a 404.

    Possible CDN cache entry that expired? Probably more work for ๐Ÿ“Œ Handle release/project deletion Active .

  • Status changed to Fixed 5 months ago
  • ๐Ÿ‡บ๐Ÿ‡ธUnited States drumm NY, US

    3 points of presence at the CDN had old data cached for https://packages.drupal.org/files/packages/8/p2/drupal/events_calendar.json. We do see purges not full propagate occasionally. Usually this is not an issue, since another git push will refresh everything for the project anyway, but that wonโ€™t happen with something thatโ€™s been deleted.

    With the details about trying on different computers showing it probably isnโ€™t a local cache, the liklihood the computers were in the same geographic area, and no other steps to reproduce, I think this might be fixed. Please re-open if not.

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

Production build 0.71.5 2024