Adapt for julia 1.13#2818
Conversation
|
Can you add inside of the CI.yml to the version "~1.13.0-0" so the CI runs against the 1.13 Beta ? |
Antipath1
left a comment
There was a problem hiding this comment.
Thank you so much for putting this PR together! I really appreciate you taking the time to address 1.13 compatibility while it's still in Beta.
I've left a couple of inline suggestions to make sure we don't accidentally break compatibility with older versions while fixing 1.13. Let me know if you have any questions about them.
@maintainers: Could someone please add a 1.13 label to this PR and like in general as there will probably be more problems with 1.13 in the future I would suspect?
| typeof(Base.StackTraces.show_spec_sig), | ||
| typeof(Core.throw_inexacterror), | ||
| typeof(Base.throw_boundserror), | ||
| typeof(Base._shrink), |
There was a problem hiding this comment.
I am confused what the reasoning for removing this line entirely is for shouldn't this be wrapped in an @static if Version < 1.13 block instead?
| typeof(Base.throw_boundserror), | ||
| typeof(Base._shrink), | ||
| @static( | ||
| if VERSION < v"1.13-" |
There was a problem hiding this comment.
| if VERSION < v"1.13-" | |
| if v"1.11-" <= VERSION < v"1.13-" |
Memoryref wass only introduced in 1.11 which causes the CI to fail on 1.10.
There was a problem hiding this comment.
It's a copy-pasted mistake, logic about Base.memoryref for 1.11 still exists in later context, thanks for remind!
For
|
Fixes #2817