Skip to content

v5.1.0 not installable on TYPO3 13: composer constraint skips ^13 #14

Description

@netthinks

Problem

v5.1.0 cannot be installed on TYPO3 13, because its composer.json requires:

"typo3/cms-core": "^12.4.2 || ^14.1"

TYPO3 13 is missing from that constraint, so Composer refuses to install the package on a 13.4 project:

Problem 1
  - Root composer.json requires kohlercode/ce-timeline ^5.1 -> satisfiable by kohlercode/ce-timeline[5.1.0].
  - kohlercode/ce-timeline 5.1.0 requires typo3/cms-core ^12.4.2 || ^14.1 -> found typo3/cms-core[v12.4.2, ..., 12.4.x-dev, v14.1.0, ..., 14.3.x-dev]
    but it conflicts with your root composer.json require (^13).

This looks like a typo rather than an intentional drop of support: ext_emconf.php of the very same tag declares

'depends' => array (
    'typo3' => '12.4.2-14.1.99'
),

which does include 13.

Steps to reproduce

On a TYPO3 13.4 project:

composer require kohlercode/ce-timeline:^5.1

Suggested fix

"typo3/cms-core": "^12.4.2 || ^13.4 || ^14.1"

Workaround

Staying on 5.0.1, which still carries the old package name fullstackfreelancer/ce-timeline and installs fine on 13.4.

Environment

TYPO3 13.4.20, PHP 8.3, Composer 2

Happy to open a PR for this if that helps.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions