Skip to content

Flowjs dependency requires minimum-stability: "dev" #5129

@ajbonner

Description

@ajbonner

Summary

If following the recommended installation documentation and pulling magento lts in via a composer dependency, you must have minimum-stability: "dev" set or flowjs/flowjs will not install and block openmage.

openmage/magento-lts v20.16.0 requires flowjs/flowjs dev-master -> found flowjs/flowjs[dev-master] but it does not match your minimum-stability.

Examples

{
    "name": "openmagetest/magento-phpunit-extension",
    "type": "magento-module",
    "license":"MIT",
    "description":"OpenMage PHPUnit extension, a lightweight framework for testing OpenMage applications with PHPUnit",
    "keywords": ["TDD", "unit", "unit-testing", "openmage", "zend", "zend framework", "tests", "testing"],
    "require": {
        "php": ">=8.2",
        "phpunit/phpunit": "^9.0"
    },
    "require-dev": {
        "openmage/magento-lts": "^20.0",
        "roave/security-advisories": "dev-latest"
    },
    "repositories": [
        {
            "type": "composer",
            "url": "https://packages.firegento.com"
        }
    ],
    "config": {
        "allow-plugins": {
            "cweagans/composer-patches": true,
            "openmage/composer-plugin": true,
            "magento-hackathon/magento-composer-installer": true
        }
    },
    "minimum-stability": "stable",
    "extra": {
        "magento-root-dir": "public"
    }
}

Proposed solution

This does not seem avoidable in the case of flowjs as the last tagged release is from 2020, so perhaps the necessary step is to examine and drop the dependency in favour or something more actively maintained?

Metadata

Metadata

Assignees

No one assigned

    Labels

    3rd-partyRelated to 3rd-party code or issues with customization

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions