-
Notifications
You must be signed in to change notification settings - Fork 9.3k
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
Update wikimedia/lessphp to v3 #31579
Update wikimedia/lessphp to v3 #31579
Conversation
Hi @mrtuvn. Thank you for your contribution
❗ Automated tests can be triggered manually with an appropriate comment:
You can find more information about the builds here ℹ️ Please run only needed test builds instead of all when developing. Please run all test builds before sending your PR for review. For more details, please, review the Magento Contributor Guide documentation. 🕙 You can find the schedule on the Magento Community Calendar page. 📞 The triage of Pull Requests happens in the queue order. If you want to speed up the delivery of your contribution, please join the Community Contributions Triage session to discuss the appropriate ticket. 🎥 You can find the recording of the previous Community Contributions Triage on the Magento Youtube Channel ✏️ Feel free to post questions/proposals/feedback related to the Community Contributions Triage process to the corresponding Slack Channel |
d584312
to
3a23c01
Compare
Nice! But why wouldn't we use the constraint Also, in my opinion, try to only update that specific package version in the |
Thanks you for advices |
3a282f5
to
f1eee01
Compare
@magento run all tests |
Linked it to the php8 project, as it is going to bring php8 support. |
f1eee01
to
62aaa3f
Compare
Ok now we re-targeted to php8-develop |
@magento run all tests |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you also update the dependency in the framework's composer.json file?
"wikimedia/less.php": "~1.8.0" |
@sivaschenko, any thoughts on why static tests are failing? |
@magento run Static Tests, Integration Tests, Functional Tests EE, Functional Tests CE, Functional Tests B2B |
@ihor-sviziev no thoughts yet, figuring it out |
Just wonder if we could have built-in php parser less official instead depend on external package? |
@mrtuvn: Why not open issues for missing functionality or contribute with fixes to https://github.com/wikimedia/less.php/, that sounds like much less work than building a compiler from scratch again? But ideally, as mentioned by @DrewML we should get rid of the php version and force users to use the nodejs one even for production deploys. |
@magento create issue |
@magento run Static Tests |
@ihor-sviziev @mrtuvn Static tests have been fixed. To achieve this I've updated composer.json file in EE repo and linked a related PR |
@magento run Functional Tests CE,Functional Tests EE,Functional Tests B2B,Integration Tests |
1 similar comment
@magento run Functional Tests CE,Functional Tests EE,Functional Tests B2B,Integration Tests |
…e-package-wikimedia-lessphp
@magento run all tests |
@magento run Functional Tests B2B, Functional Tests EE |
Hi @mrtuvn, thank you for your contribution! |
Description (*)
Update to near stable version. Previously magento still use version 1.8.2
Valid version of this package will be >=3.0.0 <4.0.0
After this patch new version package will be 3.1.0 . From origin repo owner announcements new version support PHP8
This package magento used for server side compile less to css
Origin repo related
https://github.com/wikimedia/less.php/
Related Pull Requests
https://github.com/magento/partners-magento2ee/pull/455
Fixed Issues (if relevant)
Manual testing scenarios (*)
Questions or comments
CC @krzksz @rogyar Your comments are welcome
Should magento add new feature with official parser less without need install/depend on 3rd-party package ?
Example built-in less/sass parser by php or even we don't use php parser at all. We can use js for compilation
Contribution checklist (*)
Resolved issues: