Skip to content

relax gleam_http dependency#8

Merged
MystPi merged 1 commit intoMystPi:mainfrom
CrowdHailer:gleam_http
Jun 30, 2025
Merged

relax gleam_http dependency#8
MystPi merged 1 commit intoMystPi:mainfrom
CrowdHailer:gleam_http

Conversation

@CrowdHailer
Copy link
Contributor

This is needed for me to depend on hex.
Also builds on this PR MystPi/conversation#5 to relax the same dependency in conversation

@graphiteisaac
Copy link

Seconding a desire for this, would love to have it!

@MystPi MystPi merged commit eb4b26b into MystPi:main Jun 30, 2025
@CrowdHailer CrowdHailer deleted the gleam_http branch June 30, 2025 15:06
@MystPi
Copy link
Owner

MystPi commented Jun 30, 2025

Hmm, it looks like I'm not able to publish the package since gleam_http is still stuck at v3.7.2 and that version depends on removed types from the gleam/dynamic package. If I change the requirement to gleam_http = "4.0.0" I get this error (I don't know what to make of it):

error: Dependency resolution failed

An error occurred while determining what dependency packages and
versions should be downloaded.
The error from the version resolver library was:

An unrecoverable error happened while solving dependencies: gleam_http is
specified with the requirement `>= 4.0.0`, but it is locked to 3.7.2, which
is incompatible.

Not sure what it means for a package to be locked. Any ideas?

@CrowdHailer
Copy link
Contributor Author

Have you run gleam update after changing the gleam_http requirement

@MystPi
Copy link
Owner

MystPi commented Jun 30, 2025

Ah, that did it! I always forget to run that command, haha.

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.

3 participants