PropelBundle icon indicating copy to clipboard operation
PropelBundle copied to clipboard

Cannot require branch 4.0?

Open rayrigam opened this issue 4 years ago • 4 comments

I'm trying to require the PropelBundle branch 4.0 in my composer.json file using: "propel/propel-bundle": "4.0.*@dev". However, I get an error when running "compose update":

Your requirements could not be resolved to an installable set of packages. Problem 1 - The requested package propel/propel-bundle 4.0.*@dev exists as propel/propel-bundle[0.2, 0.3, 0.4, 0.5, 0.6, 0.7, 0.8, 1.0.0, 1.0.x-dev, 1.1.0, 1.1.1, 1.1.2, 1.1.3, 1.1.4, 1.1.5, 1.1.6, 1.1.7, 1.1.8, 1.1.x-dev, 1.2.0, 1.2.1, 1.2.10, 1.2.11, 1.2.12, 1.2.13, 1.2.14, 1.2.15, 1.2.2, 1.2.3, 1.2.4, 1.2.5, 1.2.6, 1.2.7, 1.2.8, 1.2.9, 1.2.x-dev, 1.4.0, 1.4.1, 1.4.2, 1.4.3, 1.4.4, 1.4.5, 1.4.x-dev, 1.5.0, 1.5.1, 1.5.2, 1.5.x-dev, 1.6.x-dev, 2.0.0-alpha4, 2.0.x-dev, 3.0.0-alpha1, 3.0.x-dev, dev-master] but these are rejected by your constraint.

I tried other ways, such as specifying the latest commit, but it does not work. In packagist, the branch 4.0 does not show up. Could this be fixed? Otherwise, could you suggest how to require that branch?

rayrigam avatar May 10 '20 10:05 rayrigam

Hello, I also get the same error when trying to install a new dependency. It seems that the version "4.0.*@dev" has been deleted. Maybe by mistake? Is it possible to correct this? Thank you!

david-fanin avatar May 16 '20 07:05 david-fanin

@david-fanin where you able to somehow install the branch 4.0? If so, could you share how?

rayrigam avatar May 30 '20 13:05 rayrigam

I found a way to require github repositories that are not in packagist using this reference: https://getcomposer.org/doc/05-repositories.md#vcs And was able to require this pull request, which works so far with Symfony 4.0 using the following in my composer.json file:

    "repositories": [
        {
            "type": "vcs",
            "url": "https://github.com/cristianoc72/PropelBundle"
        }
    ],
    "require": {
        "propel/propel": "2.0.*@dev",
        "propel/propel-bundle": "~4.0@dev",
     }

rayrigam avatar May 30 '20 18:05 rayrigam

Thanks @rayrigam it works.

nibsirahsieu avatar Jan 22 '21 10:01 nibsirahsieu

All further dev and tickets should go into https://github.com/SkyFoxvn/PropelBundle as this will most likely be the follower of this now.

dereuromark avatar Nov 21 '22 12:11 dereuromark