From 47d23c15baaa3a9d4d1c3133ae335f2f8ce769af Mon Sep 17 00:00:00 2001 From: adrhill Date: Wed, 7 Oct 2026 17:00:21 +0200 Subject: [PATCH] test: skip `polygon` NLPModels test on Julia < 1.11 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit OptimizationProblems' JuMP model of `polygon` uses `π` as a variable bound, on which JuMP calls `typemax`. That method doesn't exist for `Irrational` on Julia 1.10, so the LTS NLPModels job errors. Co-Authored-By: Claude Opus 5.5 --- CHANGELOG.md | 6 ++++++ Project.toml | 2 +- test/nlpmodels.jl | 2 ++ 3 files changed, 9 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 560ff057..a650884b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,9 @@ # SparseConnectivityTracer.jl +## Version `v1.2.4` +* ![Maintenance][badge-maintenance] Skip `polygon` NLPModels test on Julia < 1.11 ([#331]) +* ![Maintenance][badge-maintenance] Transfer repository to JuliaDiff ([#330]) + ## Version `v1.2.3` * ![Bugfix][badge-bugfix] Fix `MissingPrimalError` in reductions of tracer `Fill`s with FillArrays.jl 1.17 ([#328]) * ![Maintenance][badge-maintenance] Allow LogExpFunctions.jl 1.x ([#327]) @@ -173,6 +177,8 @@ This release is only breaking for users who touched unexported internals. [badge-maintenance]: https://img.shields.io/badge/maintenance-gray.svg [badge-docs]: https://img.shields.io/badge/docs-orange.svg +[#331]: https://github.com/adrhill/SparseConnectivityTracer.jl/pull/331 +[#330]: https://github.com/adrhill/SparseConnectivityTracer.jl/pull/330 [#328]: https://github.com/adrhill/SparseConnectivityTracer.jl/pull/328 [#327]: https://github.com/adrhill/SparseConnectivityTracer.jl/pull/327 [#322]: https://github.com/adrhill/SparseConnectivityTracer.jl/pull/322 diff --git a/Project.toml b/Project.toml index 7dd887ff..b79966d1 100644 --- a/Project.toml +++ b/Project.toml @@ -1,7 +1,7 @@ name = "SparseConnectivityTracer" uuid = "9f842d2f-2579-4b1d-911e-f412cf18a3f5" authors = ["Adrian Hill "] -version = "1.2.3" +version = "1.2.4-DEV" [deps] ADTypes = "47edcb42-4c32-4615-8424-f2b9edc5f35b" diff --git a/test/nlpmodels.jl b/test/nlpmodels.jl index 9af21341..5ae71ed1 100644 --- a/test/nlpmodels.jl +++ b/test/nlpmodels.jl @@ -39,6 +39,8 @@ jac_inconsistencies = [] hess_inconsistencies = [] @testset "$name" for name in OPTIMIZATION_PROBLEM_NAMES + # JuMP calls `typemax(π)` on the variable bound, which errors on Julia < 1.11 + VERSION < v"1.11" && name === :polygon && continue @info "$(now()) - $name" (jac_sparsity_sct, hess_sparsity_sct) = compute_jac_and_hess_sparsity_sct(name)