Version conflict while installing hoa/cache by Composer
1e1 opened this issue · 2 comments
1e1 commented
Hi,
I would use hoa/cache on a small project but I've a conflict with my "nucleus" Hoa installation:
$composer require hoa/cache
Using version 0.16.01.11 for hoa/cache
./composer.json has been updated
Loading composer repositories with package information
Updating dependencies (including require-dev)
Your requirements could not be resolved to an installable set of packages.
Problem 1
- Installation request for hoa/cache 0.16.01.11 -> satisfiable by hoa/cache[0.16.01.11].
- hoa/cache 0.16.01.11 requires hoa/zformat ~0.0 -> no matching package found.
Potential causes:
- A typo in the package name
- The package is not available in a stable-enough version according to your minimum-stability setting
see <https://groups.google.com/d/topic/composer-dev/_g3ASeIFlrc/discussion> for more details.
Read <https://getcomposer.org/doc/articles/troubleshooting.md> for further common problems.
Installation failed, reverting ./composer.json to its original content.
FYI
$cat composer.json
{
"repositories": [
{
"type": "git",
"url": "https://github.com/1e1/CloseAuthentication.git"
}
],
"require": {
"hoa/console": "3.16.01.14",
"hoa/ustring": "4.16.01.11",
"hoathis/cauth": "master@dev",
"elasticsearch/elasticsearch": "^2.1",
"hoa/router": "3.16.01.14",
"hoa/dispatcher": "1.16.01.15"
}
}
$grep -inr zformat composer.lock
composer.lock:321: "hoa/zformat": "~1.0"
composer.lock:669: "hoa/zformat": "~1.0"
composer.lock:828: "name": "hoa/zformat",
composer.lock:832: "url": "https://github.com/hoaproject/Zformat.git",
composer.lock:837: "url": "https://api.github.com/repos/hoaproject/Zformat/zipball/685bba314c5cacb97afdd5e638b64c42399a580c",
composer.lock:853: "Hoa\\Zformat\\": "."
composer.lock:870: "description": "The Hoa\\Zformat library.",
composer.lock:875: "zformat"
Jir4 commented
It's a typo in the composer.json
, you can manually overwrite the dependency in your composer.json file by adding "hoa/zformat" : "1.16.01.14 as 0.0"
until this PR will be merged.
Hywan commented
Snapshot 0.16.01.28 has been released. Thanks @Jir4 and @1e1!