What are the Slack Archives?

Itโ€™s a history of our time together in the Slack Community! Thereโ€™s a ton of knowledge in here, so feel free to search through the archives for a possible answer to your question.

Because this space is not active, you wonโ€™t be able to create a new post or comment here. If you have a question or want to start a discussion about something, head over to our categories and pick one to post in! You can always refer back to a post from Slack Archives if needed; just copy the link to use it as a reference..

Spryker updated every newer docker image to composer 2.x which might break some packages

U01N167PSBC
U01N167PSBC Posts: 27 ๐Ÿง‘๐Ÿปโ€๐Ÿš€ - Cadet

Spryker updated every newer docker image to composer 2.x which might break some packages

Comments

  • UQ958DA4U
    UQ958DA4U Posts: 232 ๐Ÿง‘๐Ÿปโ€๐Ÿš€ - Cadet

    Interesting. We've enabled our own Docker images using Composer 2 for quite some time now and at least the "default" Spryker setup works without issue.

  • U01N167PSBC
    U01N167PSBC Posts: 27 ๐Ÿง‘๐Ÿปโ€๐Ÿš€ - Cadet

    the default one yes, but you might have packages like hirak/prestissimo to speed up deployments which only work with composer 1

  • UQ958DA4U
    UQ958DA4U Posts: 232 ๐Ÿง‘๐Ÿปโ€๐Ÿš€ - Cadet

    prestissimo is not needed for Composer 2 anymore as exactly this feature is now done by composer itself.

  • UPWG9AYH2
    UPWG9AYH2 Posts: 509 ๐Ÿง‘๐Ÿปโ€๐Ÿš€ - Cadet

    @UQ958DA4U we had the way around ๐Ÿ˜„ We had already problems before the announcement today morning โ€ฆ the project could not be installed due to hard dependency of phantomjsinstaller:^2.x in b2b project composer file โ€ฆ

  • UQ958DA4U
    UQ958DA4U Posts: 232 ๐Ÿง‘๐Ÿปโ€๐Ÿš€ - Cadet

    We switched to `"jakoch/phantomjs-installer": "^3.0.0",`` for that.

  • UPWG9AYH2
    UPWG9AYH2 Posts: 509 ๐Ÿง‘๐Ÿปโ€๐Ÿš€ - Cadet

    Yeah correct โ€ฆ but was not really visible with the composer file of the project

  • UPWG9AYH2
    UPWG9AYH2 Posts: 509 ๐Ÿง‘๐Ÿปโ€๐Ÿš€ - Cadet

    Because it still

    โ€œrequire-devโ€: {
    โ€œcomposer/composerโ€: โ€œ^1.2โ€,
    โ€œphpunit/phpunitโ€: โ€œ^8โ€
    },

  • UPWG9AYH2
    UPWG9AYH2 Posts: 509 ๐Ÿง‘๐Ÿปโ€๐Ÿš€ - Cadet
    edited April 2021

    I do not assume any compatibility with 2.0 then

  • sprymiker
    sprymiker Sprykee Posts: 781 ๐Ÿง‘๐Ÿปโ€๐Ÿš€ - Cadet

    There could be other compatibility issues with phpstan and other dev modules.
    The possible fix:
    https://sprykercommunity.slack.com/archives/CMYFJCG2E/p1617900162005300?thread_ts=1617869576.000700&cid=CMYFJCG2E