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

Adjust to upcoming Julia 1.12 change in implicit world age increment #129

Merged
merged 1 commit into from
Nov 19, 2024

Conversation

Keno
Copy link
Contributor

@Keno Keno commented Nov 19, 2024

In 1.12, we'll be cleaning up and making consistent when world age increment happens. This package is currently relying on implicit world age increments that may go away in 1.12. See JuliaLang/julia#56509. This PR adds appropriate annotations that the world age increment is required because the _generate_* invocations in the macro read the result of the previous eval. This PR strictly retains existing behavior. A potentially better solution may be to invokelatest the _generate_* functions, which would also allow this code to work at non-toplevel (which may nor may not be desirable).

In 1.12, we'll be cleaning up and making consistent when world age
increment happens. This package is currently relying on implicit world
age increments that may go away in 1.12. See JuliaLang/julia#56509.
This PR adds appropriate annotations that the world age increment
is required because the `_generate_*` invocations in the macro read
the result of the previous eval. This PR strictly retains existing
behavior. A potentially better solution may be to `invokelatest`
the `_generate_*` functions, which would also allow this code
to work at non-toplevel (which may nor may not be desirable).
@kleinschmidt kleinschmidt merged commit c0bb4c3 into beacon-biosignals:main Nov 19, 2024
5 checks passed
@Keno
Copy link
Contributor Author

Keno commented Nov 20, 2024

Could I get a version tagged that includes this PR? That way PkgEval will be happy and keep testing this package and its downstreams once the upstream PR merges.

@ericphanson
Copy link
Member

v0.5.23 is released with this change, ty!

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