statamic-rad-pack / mailchimp

Mailchimp integration for Statamic
https://statamic.com/addons/rad-pack/mailchimp
MIT License
19 stars 13 forks source link

Requirements could not be resolved to an installable set of packages. #120

Closed thepalk closed 1 month ago

thepalk commented 4 months ago

Description


composer require statamic-rad-pack/mailchimp
./composer.json has been updated
Running composer update statamic-rad-pack/mailchimp
> Statamic\Console\Composer\Scripts::preUpdateCmd
Loading composer repositories with package information
Updating dependencies
Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - statamic-rad-pack/mailchimp[dev-fix/formatting, dev-main, dev-statamic-5, v5.0.0, ..., v5.0.1] require edalzell/forma ^3.0 -> satisfiable by edalzell/forma[v3.0].
    - statamic-rad-pack/mailchimp[2.0, ..., 2.0.4] require spatie/laravel-newsletter ^4.8 -> satisfiable by spatie/laravel-newsletter[4.8.0, ..., v4.x-dev].
    - edalzell/forma v3.0 requires stillat/proteus ^3.0 -> satisfiable by stillat/proteus[v3.0.0].
    - statamic-rad-pack/mailchimp[2.0.5, ..., v2.5.3] require php ^7.4 -> your php version (8.2.14) does not satisfy that requirement.
    - statamic-rad-pack/mailchimp v2.5.4 requires laravel/framework ^7.0 || ^8.0 -> found laravel/framework[v7.0.0, ..., 7.x-dev, v8.0.0, ..., 8.x-dev] but it conflicts with your root composer.json require (^11.3).
    - statamic-rad-pack/mailchimp[v2.5.5, ..., v2.5.6] require laravel/framework ^7.30.3 || ^8.24 -> found laravel/framework[v7.30.3, ..., 7.x-dev, v8.24.0, ..., 8.x-dev] but it conflicts with your root composer.json require (^11.3).
    - statamic-rad-pack/mailchimp[v2.5.7, ..., v2.6.1] require laravel/framework ^7.30.3 || ^8.40 -> found laravel/framework[v7.30.3, ..., 7.x-dev, v8.40.0, ..., 8.x-dev] but it conflicts with your root composer.json require (^11.3).
    - statamic-rad-pack/mailchimp v2.7 requires laravel/framework ^8.74 || ^9.5 -> found laravel/framework[v8.74.0, ..., 8.x-dev, v9.5.0, ..., 9.x-dev] but it conflicts with your root composer.json require (^11.3).
    - statamic-rad-pack/mailchimp[v2.8, ..., v2.10] require laravel/framework ^8.79 || ^9.5 -> found laravel/framework[v8.79.0, ..., 8.x-dev, v9.5.0, ..., 9.x-dev] but it conflicts with your root composer.json require (^11.3).
    - spatie/laravel-newsletter 4.8.0 requires php ~7.2 -> your php version (8.2.14) does not satisfy that requirement.
    - spatie/laravel-newsletter[4.8.1, ..., 4.8.2] require php ^7.3 -> your php version (8.2.14) does not satisfy that requirement.
    - spatie/laravel-newsletter[4.9.0, ..., 4.10.0] require illuminate/support ^6.0|^7.0|^8.0 -> found illuminate/support[v6.0.0, ..., 6.x-dev, v7.0.0, ..., 7.x-dev, v8.0.0, ..., 8.x-dev] but these were not loaded, likely because it conflicts with another require.
    - spatie/laravel-newsletter[4.11.0, ..., v4.x-dev] require illuminate/support ^8.0|^9.0 -> found illuminate/support[v8.0.0, ..., 8.x-dev, v9.0.0-beta.1, ..., 9.x-dev] but these were not loaded, likely because it conflicts with another require.
    - statamic-rad-pack/mailchimp[v3.0.0, ..., v3.0.2, v4.0.0, ..., v4.1.2] require laravel/framework ^9.0 || ^10.0 -> found laravel/framework[v9.0.0-beta.1, ..., 9.x-dev, v10.0.0, ..., 10.x-dev] but it conflicts with your root composer.json require (^11.3).
    - stillat/proteus v3.0.0 requires nikic/php-parser ^4.10.3 -> found nikic/php-parser[v4.10.3, ..., 4.x-dev] but the package is fixed to v5.0.2 (lock file version) by a partial update and that version does not match. Make sure you list it as an argument for the update command.
    - Root composer.json requires statamic-rad-pack/mailchimp * -> satisfiable by statamic-rad-pack/mailchimp[dev-fix/formatting, dev-main, dev-statamic-5, 2.0, ..., v2.10, v3.0.0, v3.0.1, v3.0.2, v4.0.0, ..., v4.1.2, v5.0.0, v5.0.1, 9999999-dev].

Use the option --with-all-dependencies (-W) to allow upgrades, downgrades and removals for packages currently locked to specific versions.
You can also try re-running composer require with an explicit version constraint, e.g. "composer require statamic-rad-pack/mailchimp:*" to figure out if any version is installable, or "composer require statamic-rad-pack/mailchimp:^2.1" if you know which you need.

Steps to reproduce

Fresh Install, composer require statamic-rad-pack/mailchimp

Environment

Environment Laravel Version: 11.8.0 PHP Version: 8.2.14 Composer Version: 2.7.6 Environment: local Debug Mode: ENABLED Maintenance Mode: OFF

Cache Config: NOT CACHED Events: NOT CACHED Routes: NOT CACHED Views: NOT CACHED

Drivers Broadcasting: log Cache: statamic Database: sqlite Logs: stack / single Mail: log Queue: sync Session: file

Statamic Addons: 6 Sites: 1 Stache Watcher: Enabled Static Caching: Disabled Version: 5.5.0 PRO

Statamic Addons aryehraber/statamic-captcha: 1.11.0 stillat/relationships: 2.2.0 studio1902/statamic-peak-browser-appearance: 3.4.0 studio1902/statamic-peak-commands: 8.3.0 studio1902/statamic-peak-seo: 8.13.3 studio1902/statamic-peak-tools: 6.1.0

ryanmitchell commented 4 months ago

Looks like we need to target ^5.0 of spatie/laravel-newsletter, thanks for letting us know

edalzell commented 4 months ago

Looks like we need to target ^5.0 of spatie/laravel-newsletter, thanks for letting us know

We don't depend on that package anymore.

edalzell commented 4 months ago

@thepalk I just tried this on a brand new statamic install and everything worked fine, can you give it another go? CleanShot 2024-05-30 at 19 35 16@2x

edalzell commented 1 month ago

Haven't heard back in a while and no other reports of this, closing