-
Notifications
You must be signed in to change notification settings - Fork 22
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
Update Aqua.jl
to support piracy tests
#889
Conversation
Codecov Report
Additional details and impacted files@@ Coverage Diff @@
## master #889 +/- ##
==========================================
- Coverage 75.82% 75.72% -0.11%
==========================================
Files 51 51
Lines 4158 4197 +39
==========================================
+ Hits 3153 3178 +25
- Misses 1005 1019 +14 |
It seems strange to me that the errors only occur for some julia versions... |
Upon reflection, these are genuine type piracy reports, because Besides looking into that bug (?) in Aqua (?) (or Julia?) I wonder how to best address this rather special situation ( One hackish way would be to add a |
Same for me. That should be investigated.
This scenario is even mentioned in the julia docs (last paragraph of https://docs.julialang.org/en/v1/manual/style-guide/#Avoid-type-piracy).
I guess since even the julia docs declare exceptions to the type piracy rules, one it would widen the use-cases of Aqua by adding a kwarg with a list of types and functions, that should be handled as if they were not foreign. |
After researching a bit more on this, I found JuliaLang/julia#44661 (comment) and followed the hacks mentioned there.
I would thus suggest to just exclude |
Of course now Aqua.jl 0.6.4 is out, so we could just use its new |
Aqua.jl
to 0.6.3
Aqua.jl
to support piracy tests
Unfortunately, it is broken due to a dump typo by me... Please see JuliaTesting/Aqua.jl#153 for a fix. As soon as there is a release with this fix, this PR should succeed. |
Cf. #883 (comment)
cc @fingolfin