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

Version constraint match #42

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

matt-glover
Copy link

@matt-glover matt-glover commented Feb 24, 2021

While looking to build this locally I started by trying to run it with Elixir 1.3 based on the version constraint in mix.exs.

I ran into issues and through trial and error discovered that I need to be on Elixir 1.7+ to build and run all the key tasks for the application. The app appears to build, test, and generally run correctly with Elixir 1.5 with the exception of mix docs.

1.5 throws this error if you try for mix docs so conceivably a library downgrade could be attempted:

** (ExDoc.Retriever.Error) ExDoc 0.19+ requires Elixir v1.7 and later. For earlier Elixir versions, make sure to depend on {:ex_doc, "~> 0.18.0"}

Edit: Based on the Travis CI results it seems like 1.5 support is expected so I selected that version to start with.

Also updated mix.lock because the latest version of hex I pulled down includes the checksums for deps. Happy to move that into a separate PR if that's preferred.

Core dependencies require Elixir 1.4 and Elixir 1.5+. On Elixir 1.5 the
application builds and tests pass. However for doc generation via
`mix docs` Elixir 1.7+ is required due to the `ex_doc` dev dependency.
@matt-glover
Copy link
Author

Based on the Travis build seems like this needs to be 1.5. Will update.

@bcardarella
Copy link
Member

@matt-glover I'll take a look at this in the next few days, DockYard is using this library internally and I'm not sure what version that app is on.

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

2 participants