{"action":"closed","issue":{"url":"https://api.github.com/repos/shlomif/Graph-Easy-As_svg/issues/1","repository_url":"https://api.github.com/repos/shlomif/Graph-Easy-As_svg","labels_url":"https://api.github.com/repos/shlomif/Graph-Easy-As_svg/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/shlomif/Graph-Easy-As_svg/issues/1/comments","events_url":"https://api.github.com/repos/shlomif/Graph-Easy-As_svg/issues/1/events","html_url":"https://github.com/shlomif/Graph-Easy-As_svg/issues/1","id":256262321,"number":1,"title":"Graph::Easy cyclical dependency with Carton and cpanfile.snapshot","user":{"login":"ssoriche","id":19838,"avatar_url":"https://avatars2.githubusercontent.com/u/19838?v=4","gravatar_id":"","url":"https://api.github.com/users/ssoriche","html_url":"https://github.com/ssoriche","followers_url":"https://api.github.com/users/ssoriche/followers","following_url":"https://api.github.com/users/ssoriche/following{/other_user}","gists_url":"https://api.github.com/users/ssoriche/gists{/gist_id}","starred_url":"https://api.github.com/users/ssoriche/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ssoriche/subscriptions","organizations_url":"https://api.github.com/users/ssoriche/orgs","repos_url":"https://api.github.com/users/ssoriche/repos","events_url":"https://api.github.com/users/ssoriche/events{/privacy}","received_events_url":"https://api.github.com/users/ssoriche/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2017-09-08T13:57:32Z","updated_at":"2017-09-08T17:08:00Z","closed_at":"2017-09-08T17:08:00Z","author_association":"NONE","body":"When the distribution is built `Graph::Easy` is included in the meta data in the `provides` section in the file `lib/Graph/Easy/As_svg.pm`:\r\n \r\n```\r\n   \"provides\" : {\r\n      \"Graph::Easy\" : {\r\n         \"file\" : \"lib/Graph/Easy/As_svg.pm\",\r\n         \"version\" : \"0.26\"\r\n      },\r\n```\r\n\r\n`Graph::Easy` is also listed as a runtime requirement. \r\n\r\n```\r\n      \"runtime\" : {\r\n         \"requires\" : {\r\n            \"Graph::Easy\" : \"0.63\",\r\n```\r\n\r\nInstallation with `carton install` works fine, however when running `carton install --deployment`, carton tries to install `Graph::Easy`, defers it, tries to install `Graph::Easy::As_svg`, finds that it needs and provides `Graph::Easy` and that the installation is deferred, and fails to install.\r\n\r\nManually editing the `cpanfile.snapshot` to remove:\r\n\r\n```\r\n  Graph-Easy-As_svg-0.26\r\n    pathname: S/SH/SHLOMIF/Graph-Easy-As_svg-0.26.tar.gz\r\n    provides:\r\n      Graph::Easy 0.26\r\n```\r\n\r\n`Graph::Easy` from the `provides` line solves the issue.\r\n\r\nAs `Graph::Easy::As_svg` isn't really providing `Graph::Easy` and requires the actual `Graph::Easy`, I think the proper solution is the removal of the provides."}}
{"actor":{"display_login":"shlomif"}}