Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Composer dependency issue with alom/graphviz #38

Open
AntonStoeckl opened this issue Apr 11, 2016 · 4 comments
Open

Composer dependency issue with alom/graphviz #38

AntonStoeckl opened this issue Apr 11, 2016 · 4 comments

Comments

@AntonStoeckl
Copy link

Hi there,

you depend on alom/graphviz 0.9.* but alom/graphviz only has versions 1.0.0 and 1.0.1

Best regards, Anton

@Trismegiste
Copy link
Owner

I use my own fork of alom/graphviz, it is in the composer.json

@AntonStoeckl
Copy link
Author

Hm, I think this only works if someone clones your repo.
But I have added it as a dependency to an existing project, in this case it does not use the repo settings from your composer.json.
I think it's solvable by adding the repo for your alom/graphviz to repositories in "my" project, though.
I'll try that to play around with it, thx!

@nenadalm
Copy link

nenadalm commented Feb 2, 2017

👍

@lenton
Copy link

lenton commented Feb 22, 2019

Yes, I'm getting the same issue when doing a composer global require trismegiste/mondrian:

Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - Installation request for trismegiste/mondrian dev-master -> satisfiable by trismegiste/mondrian[dev-master].
    - trismegiste/mondrian dev-master requires alom/graphviz 0.9.* -> no matching package found.

As @AntonStoeckl stated, doing a git clone and composer install works fine. Trying to install it as a project dependancy or globally fails because composer doesn't support repositories recursively: https://getcomposer.org/doc/faqs/why-can%27t-composer-load-repositories-recursively.md. You therefore have to add the custom repository in your project's composer.json for it to work.

To fix this I'd suggest we switch to using @Trismegiste fork directly (trismegiste/graphviz), until we can upgrade to using alom/graphviz version 1.0.0.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants