Skip to content

Use patch-relative version ranges for first-party deps#880

Merged
benoitc merged 1 commit into
masterfrom
fix/dep-patch-ranges-879
Jun 16, 2026
Merged

Use patch-relative version ranges for first-party deps#880
benoitc merged 1 commit into
masterfrom
fix/dep-patch-ranges-879

Conversation

@benoitc

@benoitc benoitc commented Jun 16, 2026

Copy link
Copy Markdown
Owner

Fixes #879.

The exact pin webtransport "0.4.0" requires h2 exactly 0.9.0, which contradicts hackney's own h2 ~> 0.10.0 and makes strict resolvers (mix) refuse to install 4.4.0.

Switch quic, h2 and webtransport to ~> patch ranges so the 0.4.x / 0.10.x / 1.6.x lines resolve while the next minor still needs an explicit bump:

  • quic 1.6.5 -> ~>1.6.5
  • h2 ~>0.10.0 -> ~>0.10.1
  • webtransport 0.4.0 -> ~>0.4.1

~>0.4.1 pulls in webtransport 0.4.1, which already relaxed its own h2 requirement to ~> 0.10.1, removing the conflict. Clean rebar3 compile resolves webtransport 0.4.1 / h2 0.10.1 / quic 1.6.5.

webtransport was pinned to exactly 0.4.0, which requires h2 0.9.0 and
conflicts with hackney's own h2 ~> 0.10.0. Switch quic, h2 and
webtransport to ~> patch ranges so 0.4.x/0.10.x/1.6.x resolve while
still requiring an explicit bump for the next minor. Picks up
webtransport 0.4.1, which fixes the h2 conflict.

Fixes #879
@benoitc benoitc merged commit e8dd826 into master Jun 16, 2026
6 checks passed
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.

Hackney 4.4.0 has two dependency conflicts; unable to use it

1 participant