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

recover support for older Julia versions #52

Merged
merged 3 commits into from
Sep 25, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ jobs:
fail-fast: false
matrix:
version:
- '1.6' # remove at some point in the future, if needed.
- '1.10' # replace by 'lts' when this points to 1.10
- '1' # latest stable 1.x release
- 'pre'
Expand Down
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
ChunkSplitters.jl Changelog
=========================

Version 3.1.0
-------------
- ![INFO][badge-info] Recover support for Julia 1.6+. All tests pass from 1.9+, and an allocation test fails in 1.6.


Version 3.0.0
-------------
- ![BREAKING][badge-breaking] The new lower compat bound for Julia is 1.10. This implies that support for the old LTS 1.6 has been dropped.
Expand Down
4 changes: 2 additions & 2 deletions Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@ Aqua = "0.8.5"
BenchmarkTools = "1"
Documenter = "1"
OffsetArrays = "1"
Test = "1.10"
Test = "1.6"
TestItemRunner = "1"
TestItems = "1"
julia = "1.10"
julia = "1.6"

[extras]
Aqua = "4c88cf16-eb10-579e-8560-4a9242c79595"
Expand Down
6 changes: 5 additions & 1 deletion test/runtests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -410,6 +410,10 @@ end
b = @benchmark $f_chunks($x; n=4) samples = 1 evals = 1
@test b.allocs == 0
b = @benchmark $f_chunks($x; size=10) samples = 1 evals = 1
@test b.allocs == 0
if VERSION >= v"1.10"
@test b.allocs == 0
else
@test_broken b.allocs == 0
end
end
end
Loading