-
Notifications
You must be signed in to change notification settings - Fork 9.4k
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
Elasticsearch 8 composer version constraint is not allowing latest versions (PHP 8.3 related) #38416
Comments
Hi @hostep. Thank you for your report.
Join Magento Community Engineering Slack and ask your questions in #github channel. |
Hi @engcom-November. Thank you for working on this issue.
|
Hello @hostep, Thank you for the report! Verified this issue on 2.4-develop. ![]() Hence confirming the issue. Thank you. |
✅ Jira issue https://jira.corp.adobe.com/browse/AC-10989 is successfully created for this GitHub issue. |
✅ Confirmed by @engcom-November. Thank you for verifying the issue. |
Okay, sure fine, your argument makes no sense but I won't put my energy into trying to convince you otherwise for the moment. But let's go with your argument and say you want to install the elasticsearch php package version 8.7.x, that is also not going to work, because of the constraint |
@hostep, I agree with you, the elasticsearch constraint should be changed to Thank you. |
❌ Cannot export the issue. This GitHub issue is already linked to Jira issue(s): https://jira.corp.adobe.com/browse/AC-10989 |
@engcom-November: the constraint should be changed to Elasticsearch has brought out a bunch of security fixes in for example versions 8.8, 8.9, 8.10 (see here, scroll down a bit until you reached Elasticsearch), why do you want to force your users to stay on old vulnerable versions of Elasticsearch? Please don't.... Also your 'system requirements' page only shows the versions of software that are guaranteed to work, but those aren't the strict requirements to run Magento, other versions are also compatible, they just haven't been verified by Adobe to work correctly, but please leave that up to the community to deal with, don't force us to use old software with potential security issues. Adobe only releases one new version of Magento per year, so if we have to wait one full year before you increase the constraints again, even more security vulnerabilities will be fixed and we won't be able to upgrade. Please think about this a bit, thanks! |
Another argument, is that the so called "system requirements" were updated yesterday for Magento version 2.4.6-p4 and increased supported Elasticsearch version to 8.11 |
Closing, this was fixed in 71bfd9a to be released in Magento 2.4.8 according to the commit message. |
Preconditions and environment
Steps to reproduce
Try to update
elasticsearch/elasticsearch
package to latest version (8.12.0 at the moment of writing):Expected result
Should be possible to install latest version of version 8 of
elasticsearch/elasticsearch
Actual result
Not possible to install latest version of version 8 of
elasticsearch/elasticsearch
, due to constraint~8.5.0
being used by Magento codebaseAdditional information
Version 8.12.0 of
elasticsearch/elasticsearch
was tested with PHP 8.3 as they claim here: https://github.com/elastic/elasticsearch-php/releases/tag/v8.12.0So it might mean that older versions of this package might not be 100% compatible with PHP 8.3 yet.
Currently magento supports elasticsearch till 8.7, but version constraint is set to 8.5.
Release note
No response
Triage and priority
The text was updated successfully, but these errors were encountered: