Skip to content

dep: memory -> ram#163

Merged
ondrap merged 1 commit intohaskell:masterfrom
YourFin:master
Mar 15, 2026
Merged

dep: memory -> ram#163
ondrap merged 1 commit intohaskell:masterfrom
YourFin:master

Conversation

@YourFin
Copy link
Copy Markdown

@YourFin YourFin commented Mar 15, 2026

The memory package has been orphaned, and ram appears to be the maintained replacement.

crypton replaced memory with ram in
1.1.0
.
As a result, compiling wreq against the latest crypton will result
in complaints on this use of convert, since the convent call resolves to wreq's memory dependency, but the ByteArrayAccess for Digest in crypton is provided by ram.

This probably also warrants some sort of version bump in wreq, but I'm not sure what the right call there is.

The [`memory` package](https://github.com/vincenthz/hs-memory) has been
orphaned, and [`ram`](https://hackage.haskell.org/package/ram) appears to
be the maintained replacement.

[crypton replaced `memory` with `ram` in
1.1.0](kazu-yamamoto/crypton@7912865).
As a result, compiling `wreq` against the latest `crypton` will result
in complaints on [this use of
`convert`](https://github.com/haskell/wreq/blob/145080511a50c14e8fd5b0a956de47bf4b34852f/Network/Wreq/Internal/AWS.hs#L135),
since the `convent` call resolves to `wreq`'s `memory` dependency, but
the `ByteArrayAccess` for `Digest` in `crypton` is provided by `ram`.

This probably also warrants some sort of version bump in `wreq`, but
I'm not sure what the right call there is.
YourFin pushed a commit to YourFin/wreq-but-optics that referenced this pull request Mar 15, 2026
YourFin pushed a commit to YourFin/wreq-but-optics that referenced this pull request Mar 15, 2026
@ondrap ondrap merged commit db8af1d into haskell:master Mar 15, 2026
5 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.

2 participants