Skip to content

Fix Aqua deps_compat (Test) and piracy (treat VectorizationBase SIMD types as own)#43

Merged
ChrisRackauckas merged 2 commits into
masterfrom
fix/aqua-deps-compat-piracy
May 27, 2026
Merged

Fix Aqua deps_compat (Test) and piracy (treat VectorizationBase SIMD types as own)#43
ChrisRackauckas merged 2 commits into
masterfrom
fix/aqua-deps-compat-piracy

Conversation

@ChrisRackauckas
Copy link
Copy Markdown
Member

Summary

Two pre-existing Aqua hygiene failures on master CI that surface in JuliaSIMD/VectorizationBase.jl#127 / #128's downstream Interface checks:

  1. Aqua.test_deps_compat: Test is in [extras] / [targets] but lacks a [compat] entry. Add Test = "1".
  2. Aqua.test_piracies: Flags the ^, sincospi, sinh/cosh/tanh/asinh/acosh/atanh, log1p, expm1 methods this package defines on VectorizationBase.{AbstractSIMD, Vec, MM, VecUnroll}. These are intentional — SLEEFPirates exists to extend Base math functions to those VectorizationBase types and is maintained alongside VectorizationBase. Use Aqua.test_all(SLEEFPirates; piracies = (treat_as_own = [...]),) to suppress the false positive.

treat_as_own uses === membership (not <:), so each individual type must be listed — MM <: AbstractSIMD doesn't transitively cover it.

Test plan

Out of scope

The accuracy asinh/sin/cos/tan/... Float32 numerical regressions are tracked separately — different failure mode, different fix area.

🤖 Generated with Claude Code

ChrisRackauckas and others added 2 commits May 27, 2026 07:55
Aqua deps_compat requires every dep (including stdlibs in [extras]) to
have a compat bound. Adds `Test = "1"` to resolve the failure surfaced
in JuliaSIMD downstream Interface CI.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
SLEEFPirates intentionally extends Base operators (^, sinh, tanh, etc.)
on VectorizationBase's SIMD types — this is the standard pattern in the
JuliaSIMD ecosystem and is not type piracy in intent. Pass
`treat_as_own = [AbstractSIMD, Vec, MM, VecUnroll]` so Aqua.test_all
no longer flags these methods.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@ChrisRackauckas ChrisRackauckas merged commit 77b7123 into master May 27, 2026
3 of 18 checks passed
@ChrisRackauckas ChrisRackauckas deleted the fix/aqua-deps-compat-piracy branch May 27, 2026 14:30
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.

1 participant