Skip to content

Commit

Permalink
Support julia 1.10 (#30)
Browse files Browse the repository at this point in the history
* update to 1.10

* add compat for Random
  • Loading branch information
nhz2 authored Nov 4, 2023
1 parent 54e6465 commit 8ef9539
Show file tree
Hide file tree
Showing 19 changed files with 47 additions and 43 deletions.
8 changes: 7 additions & 1 deletion Project.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name = "MEDYANSimRunner"
uuid = "b58a3b99-22e3-44d1-b5ea-258f082a6fe8"
authors = ["nhz2 <[email protected]>"]
version = "0.5.0"
version = "0.5.1"

[deps]
ArgCheck = "dce04be8-c92d-5529-be00-80e4d2c0e197"
Expand All @@ -19,9 +19,15 @@ SmallZarrGroups = "d423b6e5-1c84-4ae2-8d2d-b903aee15ac7"

[compat]
ArgCheck = "2"
Dates = "1"
DeepDiffs = "1"
FileWatching = "1"
InteractiveUtils = "1"
JSON3 = "1"
Logging = "1"
LoggingExtras = "1"
OrderedCollections = "1"
Random = "1"
SHA = "0.7, 1"
SmallZarrGroups = "0.7.1"
julia = "1.9"

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
┌ Info: 2023-11-03T23:04:23 Starting new job.
└ @ MEDYANSimRunner /home/nathan/juliadev/MEDYANSimRunner/src/run-sim.jl:133
┌ Info: 2023-11-03T23:04:23 Julia Version: 1.10.0-rc1
│ MEDYANSimRunner Version: 0.5.0
│ OS: Linux (x86_64-linux-gnu)
│ CPU: AMD Ryzen 7 3700X 8-Core Processor
│ WORD_SIZE: 64
│ LLVM: libLLVM-15.0.7 (ORCJIT znver2)
│ Threads: 1 on 16 virtual cores
└ @ MEDYANSimRunner /home/nathan/juliadev/MEDYANSimRunner/src/run-sim.jl:134
┌ Info: 2023-11-03T23:04:23 Setup complete.
└ @ MEDYANSimRunner /home/nathan/juliadev/MEDYANSimRunner/src/run-sim.jl:145
┌ Info: 2023-11-03T23:04:23 Simulation started.
└ @ MEDYANSimRunner /home/nathan/juliadev/MEDYANSimRunner/src/run-sim.jl:154
┌ Info: 2023-11-03T23:04:23 step 1 of 11 done
└ @ MEDYANSimRunner /home/nathan/juliadev/MEDYANSimRunner/src/run-sim.jl:167
┌ Info: 2023-11-03T23:04:23 step 2 of 11 done
└ @ MEDYANSimRunner /home/nathan/juliadev/MEDYANSimRunner/src/run-sim.jl:167
┌ Info: 2023-11-03T23:04:23 step 3 of 11 done
└ @ MEDYANSimRunner /home/nathan/juliadev/MEDYANSimRunner/src/run-sim.jl:167
┌ Info: 2023-11-03T23:04:23 step 4 of 11 done
└ @ MEDYANSimRunner /home/nathan/juliadev/MEDYANSimRunner/src/run-sim.jl:167
┌ Info: 2023-11-03T23:04:23 step 5 of 11 done
└ @ MEDYANSimRunner /home/nathan/juliadev/MEDYANSimRunner/src/run-sim.jl:167
┌ Info: 2023-11-03T23:04:23 step 6 of 11 done
└ @ MEDYANSimRunner /home/nathan/juliadev/MEDYANSimRunner/src/run-sim.jl:167
┌ Info: 2023-11-03T23:04:23 step 7 of 11 done
└ @ MEDYANSimRunner /home/nathan/juliadev/MEDYANSimRunner/src/run-sim.jl:167
┌ Info: 2023-11-03T23:04:23 step 8 of 11 done
└ @ MEDYANSimRunner /home/nathan/juliadev/MEDYANSimRunner/src/run-sim.jl:167
┌ Info: 2023-11-03T23:04:23 step 9 of 11 done
└ @ MEDYANSimRunner /home/nathan/juliadev/MEDYANSimRunner/src/run-sim.jl:167
┌ Info: 2023-11-03T23:04:23 step 10 of 11 done
└ @ MEDYANSimRunner /home/nathan/juliadev/MEDYANSimRunner/src/run-sim.jl:167
┌ Info: 2023-11-03T23:04:23 step 11 of 11 done
└ @ MEDYANSimRunner /home/nathan/juliadev/MEDYANSimRunner/src/run-sim.jl:167
┌ Info: 2023-11-03T23:04:23 Simulation completed.
└ @ MEDYANSimRunner /home/nathan/juliadev/MEDYANSimRunner/src/run-sim.jl:325
2 changes: 1 addition & 1 deletion test/example/output-ref-1_10/a/traj/footer.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"steps": 11,
"prev_sha256": "cf1c5eaf14608cc3618966e476c4856888afbd1d1df7c8a64bb2b20b80af9996"
"prev_sha256": "b04618e4febac9567aff1b670dbf27c9922545836c7d371bfbb6eedbc71c60f2"
}
Binary file modified test/example/output-ref-1_10/a/traj/snap0.zarr.zip
Binary file not shown.
Binary file modified test/example/output-ref-1_10/a/traj/snap1.zarr.zip
Binary file not shown.
Binary file modified test/example/output-ref-1_10/a/traj/snap10.zarr.zip
Binary file not shown.
Binary file modified test/example/output-ref-1_10/a/traj/snap11.zarr.zip
Binary file not shown.
Binary file modified test/example/output-ref-1_10/a/traj/snap2.zarr.zip
Binary file not shown.
Binary file modified test/example/output-ref-1_10/a/traj/snap3.zarr.zip
Binary file not shown.
Binary file modified test/example/output-ref-1_10/a/traj/snap4.zarr.zip
Binary file not shown.
Binary file modified test/example/output-ref-1_10/a/traj/snap5.zarr.zip
Binary file not shown.
Binary file modified test/example/output-ref-1_10/a/traj/snap6.zarr.zip
Binary file not shown.
Binary file modified test/example/output-ref-1_10/a/traj/snap7.zarr.zip
Binary file not shown.
Binary file modified test/example/output-ref-1_10/a/traj/snap8.zarr.zip
Binary file not shown.
Binary file modified test/example/output-ref-1_10/a/traj/snap9.zarr.zip
Binary file not shown.
2 changes: 1 addition & 1 deletion test/test_ref_out.jl
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ module UserCode
end
@testset "reference output" begin

ref_out = if VERSION >= v"1.10"
ref_out = if VERSION >= v"1.10.0-rc1"
joinpath(@__DIR__, "example/output-ref-1_10")
else
joinpath(@__DIR__, "example/output-ref-1_9")
Expand Down

2 comments on commit 8ef9539

@nhz2
Copy link
Member Author

@nhz2 nhz2 commented on 8ef9539 Nov 4, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@JuliaRegistrator
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Registration pull request created: JuliaRegistries/General/94730

After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.

This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via:

git tag -a v0.5.1 -m "<description of version>" 8ef95391a6c11642e4f3a1054acae71d1122cb49
git push origin v0.5.1

Please sign in to comment.