Skip to content

Conversation

@maennchen
Copy link

Filter out dependencies marked as optional in Hex package metadata. Rebar3 does not support optional dependencies, so they should not be fetched or compiled. This fixes issues where optional Mix-only transitive dependencies would cause build failures.

BumpPACKAGE_INDEX_VERSION to invalidate existing caches.

I have verified the change with the purl package locally.

Fixes #2977

Filter out dependencies marked as optional in Hex package metadata.
Rebar3 does not support optional dependencies, so they should not be
fetched or compiled. This fixes issues where optional Mix-only
transitive dependencies would cause build failures.

Bump PACKAGE_INDEX_VERSION to invalidate existing caches.

Fixes erlang#2977
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.

Rebar3 tries to compile Mix-only optional transitive dependencies

1 participant