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

Add Carbon 3.x support #46

Open
cdbeaton opened this issue Jan 6, 2025 · 1 comment
Open

Add Carbon 3.x support #46

cdbeaton opened this issue Jan 6, 2025 · 1 comment
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@cdbeaton
Copy link

cdbeaton commented Jan 6, 2025

This package requires Carbon 2.x and cannot be installed when Carbon 3.x is present.

composer require shahmal1yev/blueskysdk:"^1@beta"
./composer.json has been updated
Running composer update shahmal1yev/blueskysdk
Loading composer repositories with package information
Updating dependencies                                 
Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - Root composer.json requires shahmal1yev/blueskysdk ^1@beta -> satisfiable by shahmal1yev/blueskysdk[v1.4.0-beta1, ..., v1.6.0-beta].
    - shahmal1yev/blueskysdk[v1.4.0-beta1, ..., v1.6.0-beta] require nesbot/carbon 2.x -> found nesbot/carbon[2.0.0, ..., 2.72.6] but the package is fixed to 3.7.0 (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.

Use the option --with-all-dependencies (-W) to allow upgrades, downgrades and removals for packages currently locked to specific versions.

There are a very small number of breaking changes from 2.x to 3.x that probably won't affect this package.

shahmal1yev added a commit that referenced this issue Jan 9, 2025
@shahmal1yev shahmal1yev self-assigned this Jan 9, 2025
@shahmal1yev shahmal1yev added the enhancement New feature or request label Jan 9, 2025
@shahmal1yev
Copy link
Owner

Sorry, but it's not possible for now. Take a look at this:

https://github.com/CarbonPHP/carbon/blob/ea38ddc60d67d954ba9685ebecae312aa808f42b/composer.json#L43

However, I'll keep it here for future

The funny thing is, I also forgot about the support for 7.4 and even submitted a PR for it :D

@shahmal1yev shahmal1yev added this to the 2.x Release milestone Jan 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants