Smile-SA / elasticsuite

Smile ElasticSuite - Magento 2 merchandising and search engine built on ElasticSearch
https://elasticsuite.io
Open Software License 3.0
762 stars 341 forks source link

Composer requirements problem #1415

Closed danharper83 closed 5 years ago

danharper83 commented 5 years ago

Preconditions

Existing installation of Magento 2.3.1

Magento Version : 2.3.1

ElasticSuite Version : 2.8.0

Environment : Developer

Third party modules : None

Steps to reproduce

  1. Run composer require smile/elasticsuite ~2.8.0

Expected result

  1. Elasticsuite should install

Actual result

  1. error message
    
    - Installation request for smile/elasticsuite ~2.8.0 -> satisfiable by smile/elasticsuite[2.8.0].
    - smile/elasticsuite 2.8.0 requires magento/module-inventory-sales-api >=1.0.3 -> no matching package found.
romainruaud commented 5 years ago

Well this one is kinda strange.

magento/module-inventory-sales-api disappeared from Magento's composer private repo ?

danharper83 commented 5 years ago

This is my composer file

    "name": "magento/magento2ce",
    "description": "Magento 2 (Open Source)",
    "type": "project",
    "version": "2.2.8",
    "license": [
        "OSL-3.0",
        "AFL-3.0"
    ],
    "repositories": [
        {
            "type": "composer",
            "url": "https://repo.magento.com/"
        }
    ],
    "require": {
        "php": "~7.0.13|~7.1.0",
        "zendframework/zend-stdlib": "^2.7.7",
        "zendframework/zend-code": "~3.1.0",
        "zendframework/zend-server": "^2.6.1",
        "zendframework/zend-soap": "^2.6.0",
        "zendframework/zend-uri": "^2.5.1",
        "zendframework/zend-validator": "^2.6.0",
        "zendframework/zend-crypt": "^2.6.0",
        "zendframework/zend-console": "^2.6.0",
        "zendframework/zend-modulemanager": "^2.7",
        "zendframework/zend-mvc": "~2.7.12",
        "zendframework/zend-text": "^2.6.0",
        "zendframework/zend-i18n": "^2.7.3",
        "zendframework/zend-eventmanager": "^2.6.3",
        "zendframework/zend-view": "^2.8.1",
        "zendframework/zend-servicemanager": "^2.7.8",
        "zendframework/zend-json": "^2.6.1",
        "zendframework/zend-config": "^2.6.0",
        "zendframework/zend-form": "^2.10.0",
        "zendframework/zend-di": "^2.6.1",
        "zendframework/zend-serializer": "^2.7.2",
        "zendframework/zend-log": "^2.9.1",
        "zendframework/zend-http": "^2.6.0",
        "zendframework/zend-db": "^2.8.2",
        "zendframework/zend-captcha": "^2.7.1",
        "zendframework/zend-session": "^2.7.3",
        "zendframework/zend-mail": "^2.9.0",
        "magento/zendframework1": "~1.13.0",
        "colinmollenhour/credis": "1.8.2",
        "colinmollenhour/php-redis-session-abstract": "1.3.4",
        "colinmollenhour/cache-backend-redis": "1.10.4",
        "colinmollenhour/cache-backend-file": "1.4",
        "composer/composer": "1.4.1",
        "monolog/monolog": "^1.17",
        "oyejorge/less.php": "~1.7.0",
        "pelago/emogrifier": "^2.0.0",
        "tubalmartin/cssmin": "4.1.1",
        "magento/magento-composer-installer": ">=0.1.11",
        "braintree/braintree_php": "3.28.0",
        "symfony/console": "~2.3, !=2.7.0",
        "symfony/event-dispatcher": "~2.1",
        "symfony/process": "~2.1",
        "phpseclib/phpseclib": "2.0.*",
        "tedivm/jshrink": "~1.3.0",
        "magento/composer": "~1.2.0",
        "lib-libxml": "*",
        "ext-ctype": "*",
        "ext-gd": "*",
        "ext-spl": "*",
        "ext-dom": "*",
        "ext-simplexml": "*",
        "ext-mcrypt": "*",
        "ext-bcmath": "*",
        "ext-hash": "*",
        "ext-curl": "*",
        "ext-iconv": "*",
        "ext-intl": "*",
        "ext-xsl": "*",
        "ext-mbstring": "*",
        "ext-openssl": "*",
        "ext-zip": "*",
        "ext-pdo_mysql": "*",
        "ext-soap": "*",
        "ramsey/uuid": "~3.7.3",
        "mailchimp/mc-magento2": "^1.0",
        "magmodules/m2-googleshopping": "^1.0",
        "smile/elasticsuite": "~2.6.0",
        "weltpixel/module-google-tag-manager": "^1.5",
        "weltpixel/module-smartproducttabs": "^1.5",
        "weltpixel/m2-weltpixel-lazyload": "^1.5.8",
        "weltpixel/m2-weltpixel-owl-carousel-slider": "^1.5",
        "weltpixel/m2-weltpixel-google-cards": "^1.5",
        "sashas/bug-from-email": "^2.0"
    },
    "require-dev": {
        "magento/magento2-functional-testing-framework": "2.3.13",
        "phpunit/phpunit": "~6.2.0",
        "squizlabs/php_codesniffer": "3.2.2",
        "phpmd/phpmd": "@stable",
        "pdepend/pdepend": "2.5.2",
        "friendsofphp/php-cs-fixer": "~2.2.1",
        "lusitanian/oauth": "~0.8.10",
        "sebastian/phpcpd": "2.0.4"
    },
    "suggest": {
        "ext-pcntl": "Need for run processes in parallel mode"
    },
    "replace": {
        "magento/module-marketplace": "100.2.4",
        "magento/module-admin-notification": "100.2.6",
        "magento/module-advanced-pricing-import-export": "100.2.5",
        "magento/module-analytics": "100.2.5",
        "magento/module-authorization": "100.2.3",
        "magento/module-authorizenet": "100.2.4",
        "magento/module-backend": "100.2.8",
        "magento/module-backup": "100.2.7",
        "magento/module-braintree": "100.2.8",
        "magento/module-bundle": "100.2.7",
        "magento/module-bundle-import-export": "100.2.5",
        "magento/module-cache-invalidate": "100.2.4",
        "magento/module-captcha": "100.2.5",
        "magento/module-catalog": "102.0.8",
        "magento/module-catalog-analytics": "100.2.3",
        "magento/module-catalog-import-export": "100.2.7",
        "magento/module-catalog-inventory": "100.2.7",
        "magento/module-catalog-rule": "101.0.7",
        "magento/module-catalog-rule-configurable": "100.2.3",
        "magento/module-catalog-search": "100.2.7",
        "magento/module-catalog-url-rewrite": "100.2.7",
        "magento/module-catalog-widget": "100.2.5",
        "magento/module-checkout": "100.2.8",
        "magento/module-checkout-agreements": "100.2.4",
        "magento/module-cms": "102.0.8",
        "magento/module-cms-url-rewrite": "100.2.3",
        "magento/module-config": "101.0.8",
        "magento/module-configurable-import-export": "100.2.5",
        "magento/module-configurable-product": "100.2.8",
        "magento/module-configurable-product-sales": "100.2.4",
        "magento/module-contact": "100.2.5",
        "magento/module-cookie": "100.2.3",
        "magento/module-cron": "100.2.6",
        "magento/module-currency-symbol": "100.2.4",
        "magento/module-customer": "101.0.8",
        "magento/module-customer-analytics": "100.2.3",
        "magento/module-customer-import-export": "100.2.6",
        "magento/module-deploy": "100.2.7",
        "magento/module-developer": "100.2.6",
        "magento/module-dhl": "100.2.4",
        "magento/module-directory": "100.2.7",
        "magento/module-downloadable": "100.2.7",
        "magento/module-downloadable-import-export": "100.2.3",
        "magento/module-eav": "101.0.7",
        "magento/module-email": "100.2.6",
        "magento/module-encryption-key": "100.2.3",
        "magento/module-fedex": "100.2.4",
        "magento/module-gift-message": "100.2.4",
        "magento/module-google-adwords": "100.2.3",
        "magento/module-google-analytics": "100.2.6",
        "magento/module-google-optimizer": "100.2.4",
        "magento/module-grouped-import-export": "100.2.4",
        "magento/module-grouped-product": "100.2.6",
        "magento/module-import-export": "100.2.8",
        "magento/module-indexer": "100.2.6",
        "magento/module-instant-purchase": "100.2.4",
        "magento/module-integration": "100.2.6",
        "magento/module-layered-navigation": "100.2.5",
        "magento/module-media-storage": "100.2.3",
        "magento/module-msrp": "100.2.4",
        "magento/module-multishipping": "100.2.5",
        "magento/module-new-relic-reporting": "100.2.6",
        "magento/module-newsletter": "100.2.7",
        "magento/module-offline-payments": "100.2.3",
        "magento/module-offline-shipping": "100.2.6",
        "magento/module-page-cache": "100.2.5",
        "magento/module-payment": "100.2.6",
        "magento/module-paypal": "100.2.6",
        "magento/module-persistent": "100.2.4",
        "magento/module-product-alert": "100.2.4",
        "magento/module-product-video": "100.2.6",
        "magento/module-quote": "101.0.7",
        "magento/module-quote-analytics": "100.2.3",
        "magento/module-release-notification": "100.2.4",
        "magento/module-reports": "100.2.8",
        "magento/module-require-js": "100.2.4",
        "magento/module-review": "100.2.8",
        "magento/module-review-analytics": "100.2.3",
        "magento/module-robots": "100.2.4",
        "magento/module-rss": "100.2.3",
        "magento/module-rule": "100.2.5",
        "magento/module-sales": "101.0.7",
        "magento/module-sales-analytics": "100.2.3",
        "magento/module-sales-inventory": "100.2.3",
        "magento/module-sales-rule": "101.0.6",
        "magento/module-sales-sequence": "100.2.3",
        "magento/module-sample-data": "100.2.5",
        "magento/module-search": "100.2.7",
        "magento/module-security": "100.2.5",
        "magento/module-send-friend": "100.2.4",
        "magento/module-shipping": "100.2.8",
        "magento/module-signifyd": "100.2.5",
        "magento/module-sitemap": "100.2.7",
        "magento/module-store": "100.2.7",
        "magento/module-swagger-webapi": "100.2.1",
        "magento/module-swagger": "100.2.5",
        "magento/module-swatches": "100.2.6",
        "magento/module-swatches-layered-navigation": "100.2.3",
        "magento/module-tax": "100.2.8",
        "magento/module-tax-import-export": "100.2.3",
        "magento/module-theme": "100.2.8",
        "magento/module-translation": "100.2.6",
        "magento/module-ui": "101.0.8",
        "magento/module-ups": "100.2.6",
        "magento/module-url-rewrite": "101.0.7",
        "magento/module-user": "101.0.6",
        "magento/module-usps": "100.2.6",
        "magento/module-variable": "100.2.6",
        "magento/module-vault": "101.0.5",
        "magento/module-version": "100.2.3",
        "magento/module-webapi": "100.2.6",
        "magento/module-webapi-security": "100.2.4",
        "magento/module-weee": "100.2.5",
        "magento/module-widget": "101.0.6",
        "magento/module-wishlist": "101.0.6",
        "magento/module-wishlist-analytics": "100.2.3",
        "magento/theme-adminhtml-backend": "100.2.6",
        "magento/theme-frontend-blank": "100.2.6",
        "magento/theme-frontend-luma": "100.2.7",
        "magento/language-de_de": "100.2.0",
        "magento/language-en_us": "100.2.0",
        "magento/language-es_es": "100.2.0",
        "magento/language-fr_fr": "100.2.0",
        "magento/language-nl_nl": "100.2.0",
        "magento/language-pt_br": "100.2.0",
        "magento/language-zh_hans_cn": "100.2.0",
        "magento/framework": "101.0.8",
        "trentrichardson/jquery-timepicker-addon": "1.4.3",
        "components/jquery": "1.11.0",
        "blueimp/jquery-file-upload": "5.6.14",
        "components/jqueryui": "1.10.4",
        "twbs/bootstrap": "3.1.0",
        "tinymce/tinymce": "3.4.7"
    },
    "extra": {
        "component_paths": {
            "trentrichardson/jquery-timepicker-addon": "lib/web/jquery/jquery-ui-timepicker-addon.js",
            "components/jquery": [
                "lib/web/jquery.js",
                "lib/web/jquery/jquery.min.js",
                "lib/web/jquery/jquery-migrate.js"
            ],
            "blueimp/jquery-file-upload": "lib/web/jquery/fileUploader",
            "components/jqueryui": [
                "lib/web/jquery/jquery-ui.js"
            ],
            "twbs/bootstrap": [
                "lib/web/jquery/jquery.tabs.js"
            ],
            "tinymce/tinymce": "lib/web/tiny_mce"
        }
    },
    "autoload": {
        "psr-4": {
            "Magento\\Framework\\": "lib/internal/Magento/Framework/",
            "Magento\\Setup\\": "setup/src/Magento/Setup/",
            "Magento\\": "app/code/Magento/"
        },
        "psr-0": {
            "": [
                "app/code/",
                "generated/code/"
            ]
        },
        "files": [
            "app/etc/NonComposerComponentRegistration.php"
        ],
        "exclude-from-classmap": [
            "**/dev/**",
            "**/update/**",
            "**/Test/**"
        ]
    },
    "autoload-dev": {
        "psr-4": {
            "Magento\\Sniffs\\": "dev/tests/static/framework/Magento/Sniffs/",
            "Magento\\Tools\\": "dev/tools/Magento/Tools/",
            "Magento\\Tools\\Sanity\\": "dev/build/publication/sanity/Magento/Tools/Sanity/",
            "Magento\\TestFramework\\Inspection\\": "dev/tests/static/framework/Magento/TestFramework/Inspection/",
            "Magento\\TestFramework\\Utility\\": "dev/tests/static/framework/Magento/TestFramework/Utility/"
        }
    },
    "minimum-stability": "stable"
}
romainruaud commented 5 years ago

Your composer file looks kinda strange.

How did you install Magento ? By cloning their git repository ?

danharper83 commented 5 years ago

Ahh no, I used a different source for the composer file.

The source is the platform sh, I just assumed it was pretty much the same. I have looked at the original Magento file and didn't spot anything.

Thanks Dan

Quazz commented 5 years ago

Given the mentioned versions, you seem to be running Magento 2.2 , while Elasticsuite 2.8 is for Magento 2.3

romainruaud commented 5 years ago

Quazz is right imho and you are probably using ElasticSuite 2.8.x on a Magento 2.2.x which is not possible.

If that's not the issue and you want us to help you further, please give us the "real" composer json which is used into your platform.sh environment.

danharper83 commented 5 years ago

Sorry this can be marked as closed, something had gone wrong with my composer file.