composer: New composer (1.5.5) breaks on resolving current package dev-master

My composer.json:

{
    "name": "oxio/oxio-url",
    "description": "****",
    "keywords": ["php", "oxio", "url"],
    "type": "library",
    "repositories": [
        {
            "type": "composer",
            "url": "***"
        }
    ],
    "minimum-stability": "alpha",
    "require": {
        "oxio/oxio-collections": ">=1.8.0",
        "oxio/oxio-stdi": ">=1.0.0",
        "oxio/oxio-string": ">=1.5.2",
        "oxio/oxio-urli": "~1.1.0",
        "psr/http-message": "^1.0",
        "php": ">=5.5.0"
    },
    "suggest": {}
}

Output of composer diagnose:

Checking composer.json: WARNING
No license specified, it is recommended to do so. For closed-source software you may use "proprietary" as license.
Checking platform settings: OK
Checking git settings: OK
Checking http connectivity to packagist: OK
Checking https connectivity to packagist: OK
Checking github.com rate limit: OK
Checking disk free space: OK
Checking pubkeys: 
Tags Public Key Fingerprint: 57815BA2 7E54DC31 7ECC7CC5 573090D0  87719BA6 8F3BB723 4E5D42D0 84A14642
Dev Public Key Fingerprint: 4AC45767 E5EC2265 2F0C1167 CBBB8A2B  0C708369 153E328C AD90147D AFE50952
OK
Checking composer version: OK

When I run this command:

composer install

I get the following output:

> $ composer install                                                                                                                                                                    
Loading composer repositories with package information
Installing dependencies (including require-dev) from lock file
Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - oxio/oxio-tl 2.3.2 requires oxio/oxio-url >=0.9.0-alpha2 -> no matching package found.
    - oxio/oxio-tl 2.3.2 requires oxio/oxio-url >=0.9.0-alpha2 -> no matching package found.
    - Installation request for oxio/oxio-tl 2.3.2 -> satisfiable by oxio/oxio-tl[2.3.2].

And I expected this to happen: Install packages, as i am on master branch of oxio-url.

With composer version 1.5.2 everything run smooth. As I am on branch master version constraint for that package is not checked.

About this issue

  • Original URL
  • State: closed
  • Created 7 years ago
  • Comments: 17 (9 by maintainers)

Most upvoted comments

1.6.3 is out