Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

magento 2.1 version constraints #3

Closed
davidverholen opened this issue Oct 26, 2016 · 1 comment
Closed

magento 2.1 version constraints #3

davidverholen opened this issue Oct 26, 2016 · 1 comment
Assignees

Comments

@davidverholen
Copy link

I just tried to install the dev-master version. There is a problem with installing it on magento 2.1.2.

Magento 2.1 requires magento/module-framework 100.1.2 and the payone module requires 100.0.*
Same problem for the magento/module-store extension.

To make it installable with magento 2.1 via composer (if 2.1 is supported) you have to change the constraints in the composer.json

for example:

{
    "name": "payone-gmbh/magento-2",
    "description": "PAYONE FinanceGate payment gateway for all german online and offline payment methods including PayPal, all major Credit Cards and Maestro.",
    "type": "magento2-module",
    "version": "1.2.2",
    "license": [
      "OSL-3.0",
      "AFL-3.0"
    ],
    "require": {
        "php": "~5.5.0|~5.6.0|~7.0.0",
        "magento/framework": "^100.0.0",
        "magento/module-store": "^100.0.0"
    },
    "autoload": {
        "files": [
            "registration.php"
        ],
        "psr-4": {
            "Payone\\Core\\": ""
        }
    }
}

the ^ constraint operator allows increasing the minor and bugfix version but not the major version

@fjbender fjbender self-assigned this Oct 26, 2016
@fjbender
Copy link
Contributor

Added the ^ operator. Will tag next release as soon as we have something substancial to add... ;)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants