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

Fix Async deprecation warnings #78

Merged
merged 3 commits into from
Aug 16, 2024
Merged

Conversation

tmcgilchrist
Copy link
Contributor

The API for fill was changed in v0.17.0. The implementation for fill calls fill_exn in v0.17.0 so there is no difference in implementation now https://github.com/janestreet/async_kernel/blob/v0.17.0/src/ivar0.ml#L303-L317 plus the older doc strings for v0.16 is the same as the new one on fill_exn. It isn't clear whether there is just a bug fix or some behaviour change as there is no entry in CHANGES.md.

@tmcgilchrist
Copy link
Contributor Author

Of course v0.17.0 requires OCaml 5.1 https://github.com/janestreet/async_kernel/blob/v0.17.0/async_kernel.opam#L13-L18 so CI should skip supporting any OCaml version that Async doesn't support.

@anmonteiro
Copy link
Owner

I'm hesitant to make this change since it makes gluten-async depend on 5.1, right?

how about we just disable warning 3 locally?

@tmcgilchrist
Copy link
Contributor Author

Ignoring the warnings is a better idea, I've update the PR.

@anmonteiro
Copy link
Owner

Thank you!

@anmonteiro anmonteiro merged commit a2b11e8 into anmonteiro:master Aug 16, 2024
4 checks passed
@anmonteiro
Copy link
Owner

ooops I pressed merge too quickly. I disabled the deprecations locally in bdb7dc4

that's a bit more explicit, which I prefer

@tmcgilchrist tmcgilchrist deleted the async_fix branch August 16, 2024 06:08
anmonteiro added a commit to anmonteiro/opam-repository that referenced this pull request Sep 4, 2024
CHANGES:

- gluten-async: Silence async deprecation warnings
  ([anmonteiro/gluten#78)(anmonteiro/gluten#78))
- migrate to tls 1.0.0 without cstruct
  ([anmonteiro/gluten#80](anmonteiro/gluten#80))
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