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

Compatibility notification center 1.7 (Haste) #96

Open
Kahmoon opened this issue Jan 5, 2023 · 9 comments
Open

Compatibility notification center 1.7 (Haste) #96

Kahmoon opened this issue Jan 5, 2023 · 9 comments

Comments

@Kahmoon
Copy link

Kahmoon commented Jan 5, 2023

Hi Kamil,

your module seems to be incompatible of missmatching dependencies with the latest version of notification center.

Log Contao Manager

Problem 1
- codefog/contao-haste[4.16.0, ..., 4.20.3] require php ~5.4 || ~7.0 -> your php version (8.1.13.0) does not satisfy that requirement.
- codefog/contao-haste[4.21.0, ..., 4.24.13] require php ~5.6 || ~7.0 -> your php version (8.1.13.0) does not satisfy that requirement.
- Root composer.json requires frank-berger/events-subscriptions 1.2.2 -> satisfiable by frank-berger/events-subscriptions[1.2.2].
- codefog/contao-events_subscriptions[2.15.0, ..., 2.16.3] require codefog/contao-haste ~4.16 -> satisfiable by codefog/contao-haste[4.16.0, ..., 4.25.23].
- You can only install one version of a package, so only one of these can be installed: codefog/contao-haste[4.5.1, ..., 4.25.23, 5.0.0, ..., 5.0.5].
- terminal42/notification_center 1.7.0 requires codefog/contao-haste ^5.0 -> satisfiable by codefog/contao-haste[5.0.0, ..., 5.0.5].
- frank-berger/events-subscriptions 1.2.2 requires codefog/contao-events_subscriptions ^2.15 -> satisfiable by codefog/contao-events_subscriptions[2.15.0, ..., 2.16.3].
 - Root composer.json requires terminal42/notification_center ^1.7 -> satisfiable by terminal42/notification_center[1.7.0].

Haste and our custom extension from your module seems to have a problem. From haste he tries to install two different versions!? Old haste version dependencies comes from frank-berger/events-subscriptions?

composer.json

{
    "type": "project",
    "require": {
        "bugbuster/contao-dlstats-bundle": "^1.0",
        "codefog/contao-events_subscriptions": "^2.3",
        "contao-bootstrap/core": "^2.0",
        "contao-bootstrap/grid": "^2.3",
        "contao-bootstrap/layout": "^2.0",
        "contao-bootstrap/navbar": "^2.1",
        "contao/calendar-bundle": "4.13.*",
        "contao/comments-bundle": "4.13.*",
        "contao/conflicts": "*@dev",
        "contao/faq-bundle": "4.13.*",
        "contao/listing-bundle": "4.13.*",
        "contao/manager-bundle": "4.13.*",
        "contao/news-bundle": "4.13.*",
        "contao/newsletter-bundle": "4.13.*",
        "dklemmt/contao_dk_mmenu": "^4.0",
        "do-while/contao-backupdb-bundle": "^1.4",
        "erdmannfreunde/euf_overlay": "^1.3",
        "frank-berger/events-subscriptions": "1.2.2",
        "fritzmg/contao-file-access": "^2.3",
        "heimrichhannot/contao-teaser-bundle": "^2.0",
        "heimseiten/contao-sticky-footer-backend-bundle": "^1.1",
        "hofff/contao-calendarfield": "^4.0",
        "madeyourday/contao-rocksolid-custom-elements": "^2.2",
        "madeyourday/contao-rocksolid-frontend-helper": "^2.0",
        "madeyourday/contao-rocksolid-slider": "^2.1",
        "netzmacht/contao-font-awesome-inserttag": "^2.0",
        "omosde/contao-om-backend": "^1.7",
        "oneup/contao-email-login": "^1.2",
        "oneup/contao-ical-export": "^2.1",
        "oveleon/contao-cookiebar": "^1.10",
        "phpoffice/phpspreadsheet": "^1.14",
        "symfony/doctrine-messenger": "^6.1",
        "symfony/messenger": "^6.1",
        "terminal42/contao-ajaxform": "^1.1",
        "terminal42/contao-easy_themes": "^3.0",
        "terminal42/contao-leads": ">=1.4.10.0,<1.5-dev",
        "terminal42/contao-pageimage": "^4.1",
        "terminal42/notification_center": "^1.4",
        "trilobit-gmbh/contao-constants-bundle": "^1.3"
    },
    "extra": {
        "contao-component-dir": "assets"
    },
    "conflict": {
        "doctrine/doctrine-bundle": "<1.12.8"
    },
    "scripts": {
        "post-install-cmd": [
            "@php vendor/bin/contao-setup"
        ],
        "post-update-cmd": [
            "@php vendor/bin/contao-setup"
        ]
    }
}

Greetz

@Kahmoon Kahmoon changed the title Compatibility Notification center 1.7 Compatibility notification center 1.7 Jan 5, 2023
@Kahmoon Kahmoon changed the title Compatibility notification center 1.7 Compatibility notification center 1.7 (Haste) Jan 5, 2023
@fritzmg
Copy link
Contributor

fritzmg commented Jan 5, 2023

codefog/contao-events_subscriptions is not compatible with codefog/contao-haste: 5.x yet. You need to change your terminal42/notification_center requirement to ^1.6.

@Kahmoon
Copy link
Author

Kahmoon commented Jan 5, 2023

Its actually on 1.6. I wanted to upgrade :)

SCR-20230105-ged

@fritzmg
Copy link
Contributor

fritzmg commented Jan 5, 2023

Its actually on 1.6. I wanted to upgrade :)

Yes, you can't at this time. Or is there a specific reason for why you would want 1.7?

@Kahmoon
Copy link
Author

Kahmoon commented Jan 5, 2023

nope...i just want my installation to be as up to date as possible.

@fritzmg
Copy link
Contributor

fritzmg commented Jan 5, 2023

Composer always provides the most up to date versions that are possible for your requirements. You do not need to manually change your requirements - unless you want to switch to a new major version of a package.

@Kahmoon
Copy link
Author

Kahmoon commented Jan 5, 2023

Yep, in this case this would be a (wanted) major version change.

@fritzmg
Copy link
Contributor

fritzmg commented Jan 5, 2023

But there is no new major version for the Notification Center.

@Kahmoon
Copy link
Author

Kahmoon commented Jan 5, 2023

I meant version 1.7. When this module gets ready for haste 5, this case will be closed so i can update afterwards.

First of all i thought its a problem with our custom sub-module

@fritzmg
Copy link
Contributor

fritzmg commented Jan 5, 2023

I meant version 1.7.

That's a minor version, not a major version. Also I thought you did not need the new feature version? See your comment here: #96 (comment)

@Kahmoon Kahmoon mentioned this issue Jan 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants