-
-
Notifications
You must be signed in to change notification settings - Fork 53
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
Tag last version that used laminas-servicemanager v3 #301
Comments
I am not sure if I understand the issue.
Neither cache nor i18n depend on Can you provide a bit more details of the composer output which leads to the issue as I do not understand the dependency chain by reading the issue description. Oh and |
I quickly setup a test project and this is what I get:
So whatever is holding back servicemanager 3.22 should be outlined, you could try checking what is holding back by running:
|
@boesing thanks a lot for the swift and detailed response! I thought I prepared the issue thoroughly, but apparently I made a mistake: instead of Hopefully this clarifies the issue report... |
@holtkamp
But not this:
Because:
But this was expected and therefore any help is welcome to solve this. |
@froschdesign thanks for the response. My suggestion was only to tag some kind of "alpha pre-release" with the last commit to laminas-cache 4.0.x-dev which still supports laminas-servicemanager v3 in order to allow people to refer to it while development is done on the other laminas packages to gradually support laminas-servicemanager v4. I can understand when this suggestion is declined, but it might help others out to already adopt laminas-cache 4.0 in combination with other laminas packages? |
I will prepare laminas-cache v4 later this month but there is no cache adapter yet available which will support that version. So that wont help in your specific case. So you wont be able to use psr/cache v2+ at least for a couple of more weeks. |
I'll close here as I think this is a duplicate of #292 |
Thanks, but that tagged version probably requires laminas-servicemanager v4, while my suggestion was to tag a version which still works with laminas-sevicemanager v3
Not a problem since in some cases no adapter is even required, also see: #192 Anyhow, I understand my situation might be a bit exotic and I found a workaround, thanks for the responses! |
Feature Request
Allow use of PHP 8.3,
laminas-cache
andlaminas-i18n
.Summary
So to be able to use PHP 8.3,
laminas-cache
andlaminas-i18n
we must force the use laminas-ache to 3eaa2c0 using"laminas/laminas-cache": "4.0.x-dev#3eaa2c0f1eb8f49e99ebb8beded803249292830b"
incomposer.json
.However, that seems not to work (used Composer 2.7.6), for example:
or with complete SHA
Results in:
The documentation https://getcomposer.org/doc/04-schema.md#package-links might suggest that the use of explicit references/commits has some limitations and might not work:
Is there any other way to realize this? Would it be an idea to tag 3eaa2c0 with
4.0.0-alpha
or something?PS: the strange thing, up until last week depending in
"laminas/laminas-cache": "4.0.x-dev"
worked without a problem... Reverting to a lower version of Composer did not help like 2.6.0 or 2.5.0 did not help.UPDATE
Experimented a bit more and this seems to be a viable workaround:
The text was updated successfully, but these errors were encountered: