Comments (8)
Confirming that this fixed the issue. Re-requiring the module now installed v2.1.2
. Thanks, @fredden!
from magento2-cronjobmanager.
On a related note, when I tried running composer require
on a Magento 2.4.0 installation on PHP 7.3, I still got the suggested version constraint of ^2.1
, even though symfony/console is version-locked there too; I ended up picking ^1.14
and then it installed. (1.15 also has a hard-coded dependency on symfony/console 5 or higher and requires the same sort of patch.)
from magento2-cronjobmanager.
On a related note, when I tried running
composer require
on a Magento 2.4.0 installation on PHP 7.3, I still got the suggested version constraint of^2.1
, even thoughsymfony/console
is version-locked there too; I ended up picking^1.14
and then it installed. (1.15 also has a hard-coded dependency onsymfony/console
5 or higher and requires the same sort of patch.)
@lewisje what version of Composer are you using? Version 2.5.0 comes with an improvement to the version-finding algorithm.
from magento2-cronjobmanager.
A quick look suggests this constraint was introduced to composer.json
in #189, which landed in v1.15.0. This means that all versions before this shouldn't suffer from this constraint (although they do have an undeclared dependency on symfony/console
).
The supported versions matrix does list version 1.15.0 for Magento 2.4.6 as the lowest supported version, but all prior versions of Magento have a lower minimum version number.
from magento2-cronjobmanager.
I think I've worked out what's gone wrong here. For some reason the 1.x
branch was been tagged as version 2.1.0
by mistake. I've now tagged the 1.x
branch as 1.16.0
and the head of the 2.x
branch as 2.1.1
. Version 2.1.0
shouldn't be compatible with Magento versions below 2.4.4 (ref https://github.com/Ethan3600/magento2-CronjobManager/tree/2.x#support).
I'd like to delete version 2.1.0
, but I don't think semver allows this.
from magento2-cronjobmanager.
That does not fix the issue for me, @fredden. I use 2.4.5-p3, which should be compatible with version 2 according to the README. However, Magento 2.4.5-p3 seems to require symfony/console
version 4.
$ composer why-not ethanyehuda/magento2-cronjobmanager 2
magento/project-community-edition 2.4.5-p3 requires ethanyehuda/magento2-cronjobmanager (^1.14)
ethanyehuda/magento2-cronjobmanager 2.0.0 requires symfony/console (^5.0)
magento/project-community-edition 2.4.5-p3 does not require symfony/console (but v4.4.49 is installed)
Not finding what you were looking for? Try calling `composer update "ethanyehuda/magento2-cronjobmanager:2" --dry-run` to get another view on the problem.
And
$ composer why-not symfony/console 5
friendsofphp/php-cs-fixer v3.4.0 requires symfony/console (^4.4.20 || ^5.1.3 || ^6.0)
magento/composer 1.8.0 requires symfony/console (~4.4.0)
magento/framework 103.0.5-p3 requires symfony/console (~4.4.0)
magento/magento2-base 2.4.5-p3 requires symfony/console (~4.4.0)
magento/magento2-functional-testing-framework 3.10.2 requires symfony/console (^4.4||^5.4)
magento/product-community-edition 2.4.5-p3 requires symfony/console (~4.4.0)
symfony/http-kernel v4.4.50 conflicts symfony/console (>=5)
symfony/console v5.0.0 requires php (^7.2.5 but 8.1.17 is installed)
Not finding what you were looking for? Try calling `composer update "symfony/console:5" --dry-run` to get another view on the problem.
from magento2-cronjobmanager.
Thanks for following up @sprankhub. I've reviewed and tested and merged #198, and released this as version 1.16.1 (and merged into the 2.x branch and tagged as 2.1.2). Please can you test and report back?
from magento2-cronjobmanager.
On a related note, when I tried running
composer require
on a Magento 2.4.0 installation on PHP 7.3, I still got the suggested version constraint of^2.1
, even thoughsymfony/console
is version-locked there too; I ended up picking^1.14
and then it installed. (1.15 also has a hard-coded dependency onsymfony/console
5 or higher and requires the same sort of patch.)@lewisje what version of Composer are you using? Version 2.5.0 comes with an improvement to the version-finding algorithm.
I use 1.10.22
and do not have the level of access needed to upgrade Composer, or else I would have upgraded it years ago.
from magento2-cronjobmanager.
Related Issues (20)
- Magento 2.4 support HOT 7
- Dashboard entries don't show any information HOT 1
- Assets
- Component\Filters class replaces the original one with missing values HOT 1
- Add "Job-Code" to Filter in Adminhtml HOT 1
- SQLSTATE[40001]: Serialization failure: 1213 Deadlock found when trying to get lock. HOT 2
- Get the ID of the admin user that scheduled the currently running job? HOT 6
- Compatible with PHP 8.1 HOT 2
- PHP 8.1: Deprecated Functionality: Optional parameter $jobId declared before required parameter $jobCode
- PHP 8.1 | Deprecated Functionality: Function strftime() is deprecated... HOT 10
- Magento 2.4.5 - Status Column (html.js) not working HOT 4
- PHP 8.2 / Magento 2.4.6 support HOT 2
- "Required parameter 'theme_dir' was not passed" when I dispatch now a cronjob in backend HOT 3
- Add Total time column in the management grid HOT 3
- Add a feature to reporting "missing" job HOT 4
- Sort by group results in Zend_Db_Statement_Exception HOT 4
- Can't execute action Schedule Now Cron Job in Grid Mass Action HOT 2
- Support config_path for cron expressions HOT 2
- PHP 8.3 Support HOT 3
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-cronjobmanager.