diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index eeb50d5..d8f14f5 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -25,6 +25,7 @@ jobs: version: - 'nightly' - '1' + - '1.9' os: - ubuntu-latest - macOS-latest @@ -35,6 +36,9 @@ jobs: exclude: - os: macOS-latest arch: x86 + - os: windows-latest # Killing workers doesn't work on windows in 1.9 + version: '1.9' + steps: - uses: actions/checkout@v4 - uses: julia-actions/setup-julia@v2 diff --git a/Project.toml b/Project.toml index 97fc7e9..9ab3094 100644 --- a/Project.toml +++ b/Project.toml @@ -7,6 +7,12 @@ Random = "9a3f8284-a2c9-5f02-9a11-845980a1fd5c" Serialization = "9e88b42a-f829-5b0c-bbe9-9e923198166b" Sockets = "6462fe0b-24de-5631-8697-dd941f90decc" +[compat] +Random = "1" +Serialization = "1" +Sockets = "1" +julia = "1.9" + [extras] LibSSH = "00483490-30f8-4353-8aba-35b82f51f4d0" LinearAlgebra = "37e2e46d-f89d-539d-b4ee-838fcccc9c8e" diff --git a/docs/src/_changelog.md b/docs/src/_changelog.md index cb79989..3b18108 100644 --- a/docs/src/_changelog.md +++ b/docs/src/_changelog.md @@ -7,7 +7,7 @@ CurrentModule = DistributedNext This documents notable changes in DistributedNext.jl. The format is based on [Keep a Changelog](https://keepachangelog.com). -## Unreleased +## [v1.0.0] - 2024-12-02 ### Fixed - Fixed behaviour of `isempty(::RemoteChannel)`, which previously had the diff --git a/test/distributed_exec.jl b/test/distributed_exec.jl index 156b986..106787b 100644 --- a/test/distributed_exec.jl +++ b/test/distributed_exec.jl @@ -762,7 +762,7 @@ end # since they print errors. The test block is enabled by defining env # JULIA_TESTFULL=1. -DoFullTest = Base.get_bool_env("JULIA_TESTFULL", false) +DoFullTest = get(ENV, "JULIA_TESTFULL", "0") == "1" if DoFullTest println("Testing exception printing on remote worker from a `remote_do` call") @@ -1435,7 +1435,11 @@ v2669=10 thrown = true local b = IOBuffer() showerror(b, e) - @test occursin("sqrt was called with a negative real argument", String(take!(b))) + if VERSION < v"1.10" + @test occursin("sqrt will only return a complex result", String(take!(b))) + else + @test occursin("sqrt was called with a negative real argument", String(take!(b))) + end end @test thrown end