Comments (4)
Hi @dandrikop. Thank you for your report.
To speed up processing of this issue, make sure that the issue is reproducible on the vanilla Magento instance following Steps to reproduce. To deploy vanilla Magento instance on our environment, Add a comment to the issue:
@magento give me 2.4-develop instance
- upcoming 2.4.x release- For more details, review the Magento Contributor Assistant documentation.
- Add a comment to assign the issue:
@magento I am working on this
- To learn more about issue processing workflow, refer to the Code Contributions.
Join Magento Community Engineering Slack and ask your questions in #github channel.
🕙 You can find the schedule on the Magento Community Calendar page.
📞 The triage of issues happens in the queue order. If you want to speed up the delivery of your contribution, join the Community Contributions Triage session to discuss the appropriate ticket.
from magento2.
Make sure to take over the changes done to the composer.json
file from core magento, the diff between 2.4.6-p7 and 2.4.7-p2 is this:
--- magento246-p7-test/composer.json 2024-08-06 05:26:14
+++ magento247-p2-test/composer.json 2024-08-06 06:25:30
@@ -16,11 +16,11 @@
"preferred-install": "dist",
"sort-packages": true
},
- "version": "2.4.6-p7",
+ "version": "2.4.7-p2",
"require": {
- "magento/product-community-edition": "2.4.6-p7",
- "magento/composer-root-update-plugin": "~2.0",
- "magento/composer-dependency-version-audit-plugin": "~0.1"
+ "magento/product-community-edition": "2.4.7-p2",
+ "magento/composer-dependency-version-audit-plugin": "~0.1",
+ "magento/composer-root-update-plugin": "^2.0.4"
},
"autoload": {
"exclude-from-classmap": [
@@ -38,27 +38,23 @@
]
},
"psr-4": {
- "Magento\\": "app/code/Magento/",
- "Magento\\Framework\\": "lib/internal/Magento/Framework/",
"Magento\\Setup\\": "setup/src/Magento/Setup/"
}
},
"require-dev": {
"allure-framework/allure-phpunit": "^2",
- "dealerdirect/phpcodesniffer-composer-installer": "^0.7",
+ "dealerdirect/phpcodesniffer-composer-installer": "^0.7 || ^1.0",
"dg/bypass-finals": "^1.4",
- "friendsofphp/php-cs-fixer": "^3.8",
+ "friendsofphp/php-cs-fixer": "^3.22",
"lusitanian/oauth": "^0.8",
"magento/magento-coding-standard": "*",
- "magento/magento2-functional-testing-framework": "^4.3.1",
+ "magento/magento2-functional-testing-framework": "^4.7",
"pdepend/pdepend": "^2.10",
"phpmd/phpmd": "^2.12",
"phpstan/phpstan": "^1.9",
"phpunit/phpunit": "^9.5",
- "sebastian/comparator": "<=4.0.6",
"sebastian/phpcpd": "^6.0",
- "symfony/finder": "^5.4",
- "symfony/process": "<=v5.4.23"
+ "symfony/finder": "^6.4"
},
"conflict": {
"gene/bluefoot": "*"
In your case, the problem is likely that requirement on symfony/finder
that needs to be updated or symfony/process
requirement that should be removed. And the fact that the version of magento/magento2-functional-testing-framework
is really old. But I would highly recommend to take over all the changes.
Each time you update Magento, I would suggest executing these steps in an empty directory to double check the changes in composer.json
file:
# replace the exact versions in the commands below, and make sure you have your authentication keys at hand
$ composer create-project --no-install --repository-url=https://repo.magento.com/ magento/project-community-edition:2.4.6-p7 ./old-version
$ composer create-project --no-install --repository-url=https://repo.magento.com/ magento/project-community-edition:2.4.7-p2 ./new-version
$ diff -u old-version/composer.json new-version/composer.json
from magento2.
@hostep
Thanks for your feedback. I followed your advice, and I worked only with the section "require-dev" of my composer.json file; i.e. I didn't touch any other section of the file. Specifically, at the section "require-dev" I made one-by-one the changes below till the command composer update --no-dev --dry-run
was finally successful:
"symfony/finder": "^5.2"
changed to"symfony/finder": "^6.4"
"friendsofphp/php-cs-fixer": "~2.18.1"
changed to"friendsofphp/php-cs-fixer": "^3.22"
"magento/magento2-functional-testing-framework": "^3.0"
changed to"magento/magento2-functional-testing-framework": "^4.7"
"allure-framework/allure-phpunit": "~1.4"
changed to"allure-framework/allure-phpunit": "^2"
"phpmd/phpmd": "^2.8.0"
changed to"phpmd/phpmd": "^2.12"
"pdepend/pdepend": "~2.7.1"
changed to"pdepend/pdepend": "^2.10"
However, comparing the section "require-dev" of my composer.json file with the one of Magento 2.4.7-p2, I still find differences like the following:
"dg/bypass-finals": "^1.4"
, but in mine it does not exist, at all."phpunit/phpunit": "^9.5"
, but mine is"^9"
"phpstan/phpstan": "^1.9"
, but mine is"^0.12.77"
Should I also include those changes at the section "require-dev" of my composer.json file, no matter that the command composer update --no-dev --dry-run
was successful?
from magento2.
You are free to do with the composer.json
like you want, you are the owner of that file. See the default one Magento creates as a base and as something you can build further upon.
But my advise would be to stay as close as possible to the default version, because the list of those packages is how Magento has been tested.
from magento2.
Related Issues (20)
- PayPal Express Checkout error "Failed address validation: %1" on Guest checkout HOT 5
- Images Not Displaying for Configurable Products on Fresh Magento 2.4.4-p6-9 Installs HOT 1
- Test Issue HOT 1
- Testing Automation HOT 1
- Product Collection - addMediaGalleryData calls getSize when the collection maybe or will be loaded (Can use count to avoid an extra DB query) HOT 3
- Lock wait timeout on catalog_product_entity table due to DeleteOutdatedPriceValues cron HOT 1
- Customizable Options in Cart Incorrectly Update All Instances of a Product HOT 5
- MODIFICATION CANNOT BE SAVED HOT 6
- [Bug] $quote can be null. Module: module-payment-services-paypal HOT 3
- Magento throws 'No such entity' when add to cart product (after upgrade version 2.4.7 p2) HOT 3
- using dot character in sku leads to error "The stock item was unable to be saved. Please try again." HOT 5
- page builder was rendering for 5 seconds without releasing locks HOT 4
- Mangento 2.4.7-p2 One or more indexers are invalid. Make sure your Magento cron job is running. HOT 5
- `Magento_ServiceProxy` has an undefined hard dependency on `Magento_PaymentServicesDashboard` HOT 4
- How can i create a custom Database Trigger when install/upgrade module HOT 2
- [Issue] Fixes incorrect classes being referenced in Magento modules. HOT 4
- Checkout error after upgrade to Magento 2.4.7 Error: "email" is required. Enter and try again When clicking on the button: Place Order (in Connected mode and not Connected to the BO), I have this error message: HOT 3
- Widget Layout Update section is not available HOT 6
- Customer address is not saved after setBillingAddressOnCart GraphQL mutation HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from magento2.