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

update mix #25

Closed
wants to merge 2 commits into from
Closed

Conversation

ikeikeikeike
Copy link

I'm trying to use this package for package's development with override: true option in mix.exs.
But I've got this result below due to be set idna(override: true) and httpoison over than 0.11.1 version to mix.exs.

$ mix hex.publish
** (Mix) Can't build package with overridden dependency idna, remove `override: true`

Supposedly, hex.pm cannot accept that option. So please update package version!!

Thanks awesome package.

mix.exs Outdated
@@ -4,7 +4,7 @@ defmodule PublicSuffix.Mixfile do
def project do
[app: :public_suffix,
version: "0.5.0",
elixir: "~> 1.2",
elixir: ">= 1.2.0",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This declares that this library is compatible with all future versions of Elixir. We don't know that. 2.0 is going to have breaking changes and it's unlikely that existing published versions of this library will be compatible. Please change this back to ~> 1.2.

mix.exs Outdated
@@ -26,7 +26,7 @@ defmodule PublicSuffix.Mixfile do

defp deps do
[
{:idna, ">= 1.2.0 and < 3.0.0"},
{:idna, ">= 1.2.0 and <= 5.0.2"},
Copy link
Contributor

@myronmarston myronmarston Jun 18, 2017

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do you happen to know what differs for 3.x vs 4.x vs 5.x? Usually major version bumps mean there are breaking changes and I wonder if we're actually compatible...

@ikeikeikeike
Copy link
Author

ikeikeikeike commented Jun 20, 2017

Thanks response and review comment.

I apologize that I don't know IDNA compatible between 1.2(3.0) and 5.0. But just know mix test is all passed though.. So, I will be responded to change package to fix latest version.

I appreciate this PR is merged if you will be accepted.

@@ -26,7 +26,7 @@ defmodule PublicSuffix.Mixfile do

defp deps do
[
{:idna, ">= 1.2.0 and < 3.0.0"},
{:idna, "~> 5.0"},
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This requires that every user of this library upgrade idna to 5.x, but that might be difficult if they have other dependencies that rely on earlier versions. Can you change this to ">= 1.2.0 and < 6.0.0" so that 5.x versions are supported but not required?

@axelson
Copy link
Contributor

axelson commented Mar 1, 2018

This was obsoleted by #26 and can be closed.

@bkirz bkirz closed this Mar 14, 2018
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

Successfully merging this pull request may close these issues.

None yet

4 participants