Does packages.drupal.org evaluate php compatibility using a module's info.yml php key value?

Created on 20 January 2023, almost 2 years ago

Problem/Motivation

Is it expected that packages.drupal.org to negotiate/evaluate php compatibility using a module's *.info.yml php key value without a module having a composer.json file to declare its php requirements?

I recently had an unexpected scenario described here > πŸ“Œ [PP-1] CDN 4.x requires PHP >=8.1 but composer does not respect it due to bug in d.o composer facade Needs review . This could be expected behavior, requiring a composer.json file to declare php requirements or a bug.

Steps to reproduce

  • Within a php < 8.1 environment, use composer require drupal/cdn:^4.0
  • Observe package is downloaded by composer even though it's not compatible

Proposed resolution

TBD

Remaining tasks

TBD

User interface changes

TBD

API changes

TBD

Data model changes

TBD

Release notes snippet

TBD

πŸ’¬ Support request
Status

Closed: works as designed

Version

1.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States jasonawant New Orleans, USA

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

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • Status changed to Closed: works as designed almost 2 years ago
Production build 0.71.5 2024