{"action":"closed","issue":{"url":"https://api.github.com/repos/elixir-lang/ecto/issues/1110","labels_url":"https://api.github.com/repos/elixir-lang/ecto/issues/1110/labels{/name}","comments_url":"https://api.github.com/repos/elixir-lang/ecto/issues/1110/comments","events_url":"https://api.github.com/repos/elixir-lang/ecto/issues/1110/events","html_url":"https://github.com/elixir-lang/ecto/issues/1110","id":119701118,"number":1110,"title":"mix optional dep requirement clashing with only","user":{"login":"bcardarella","id":18524,"avatar_url":"https://avatars.githubusercontent.com/u/18524?v=3","gravatar_id":"","url":"https://api.github.com/users/bcardarella","html_url":"https://github.com/bcardarella","followers_url":"https://api.github.com/users/bcardarella/followers","following_url":"https://api.github.com/users/bcardarella/following{/other_user}","gists_url":"https://api.github.com/users/bcardarella/gists{/gist_id}","starred_url":"https://api.github.com/users/bcardarella/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bcardarella/subscriptions","organizations_url":"https://api.github.com/users/bcardarella/orgs","repos_url":"https://api.github.com/users/bcardarella/repos","events_url":"https://api.github.com/users/bcardarella/events{/privacy}","received_events_url":"https://api.github.com/users/bcardarella/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/elixir-lang/ecto/labels/Kind:Bug","name":"Kind:Bug","color":"fc2929"},{"url":"https://api.github.com/repos/elixir-lang/ecto/labels/Level:Advanced","name":"Level:Advanced","color":"f7c6c7"}],"state":"closed","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/elixir-lang/ecto/milestones/3","html_url":"https://github.com/elixir-lang/ecto/milestones/v1.1","labels_url":"https://api.github.com/repos/elixir-lang/ecto/milestones/3/labels","id":1433382,"number":3,"title":"v1.1","description":"","creator":{"login":"josevalim","id":9582,"avatar_url":"https://avatars.githubusercontent.com/u/9582?v=3","gravatar_id":"","url":"https://api.github.com/users/josevalim","html_url":"https://github.com/josevalim","followers_url":"https://api.github.com/users/josevalim/followers","following_url":"https://api.github.com/users/josevalim/following{/other_user}","gists_url":"https://api.github.com/users/josevalim/gists{/gist_id}","starred_url":"https://api.github.com/users/josevalim/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/josevalim/subscriptions","organizations_url":"https://api.github.com/users/josevalim/orgs","repos_url":"https://api.github.com/users/josevalim/repos","events_url":"https://api.github.com/users/josevalim/events{/privacy}","received_events_url":"https://api.github.com/users/josevalim/received_events","type":"User","site_admin":false},"open_issues":3,"closed_issues":1,"state":"open","created_at":"2015-11-28T15:49:47Z","updated_at":"2015-12-01T13:15:23Z","due_on":"2015-12-12T23:00:00Z","closed_at":null},"comments":1,"created_at":"2015-12-01T11:53:05Z","updated_at":"2015-12-01T13:15:23Z","closed_at":"2015-12-01T13:15:23Z","body":"In my library, ecto_fixtures I am setting `postgrex` to be a test env only dep: https://github.com/dockyard/ecto_fixtures/blob/e0cf50ed3fde682fb5e90f9ab480978b1ca6b325/mix.exs#L46\r\n\r\nbut with Elixir 1.1 I get the following error:\r\n\r\n```\r\nUnchecked dependencies for environment test:\r\n* postgrex (Hex package)\r\n  the dependency postgrex\r\n\r\n  > In mix.exs:\r\n    {:postgrex, \"> 0.0.0\", [hex: :postgrex, only: :test]}\r\n\r\n  does not match the environments calculated for\r\n\r\n  > In deps/ecto/mix.exs:\r\n    {:postgrex, \"~> 0.9.1\", [optional: true, hex: :postgrex]}\r\n\r\n  Remove the :only restriction from your dep\r\n** (Mix) Can't continue due to errors on dependencies\r\n```\r\n\r\nI've confirmed that this does not exist on Elixir 1.0.x"}}