From 4517dfcc4fda16869ff62ad12cb5118d05a7cf9a Mon Sep 17 00:00:00 2001 From: Stefan Krastanov Date: Sat, 16 Dec 2023 01:11:08 -0500 Subject: [PATCH 1/6] add compat downgrader --- .github/workflows/ci.yml | 11 ++++++++++- Project.toml | 6 +++--- 2 files changed, 13 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 58adc3348..55c351bf9 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -12,7 +12,7 @@ jobs: fail-fast: false matrix: version: - - '1.9' + - '1' os: - ubuntu-latest threads: @@ -20,6 +20,11 @@ jobs: - '5' arch: - x64 + include: + - os: ubuntu-latest + arch: x64 + version: '1.9' + threads: 2 steps: - uses: actions/checkout@v4 - uses: julia-actions/setup-julia@v1 @@ -36,6 +41,10 @@ jobs: ${{ runner.os }}-test-${{ env.cache-name }}- ${{ runner.os }}-test- ${{ runner.os }}- + - uses: cjdoris/julia-downgrade-compat-action@v1 + if: ${{ matrix.version == '1.9' }} + with: + skip: Pkg, InteractiveUtils, Random, LinearAlgebra - uses: julia-actions/julia-buildpkg@v1 - uses: julia-actions/julia-runtest@v1 env: diff --git a/Project.toml b/Project.toml index 1293bad0f..4adab679f 100644 --- a/Project.toml +++ b/Project.toml @@ -46,13 +46,13 @@ InteractiveUtils = "1" LinearAlgebra = "1" MacroTools = "0.5.9" Makie = "0.19.7" -Nemo = "0.34, 0.35, 0.36" +Nemo = "0.36" Plots = "1.38.0" -PrecompileTools = "1" +PrecompileTools = "1.2" Quantikz = "1.3.1" QuantumInterface = "0.3.0" QuantumOpticsBase = "0.4" Random = "1" SIMD = "3.4.0" -SumTypes = "0.4.4, 0.5" +SumTypes = "0.5" julia = "1.9" From 8f7be698a4105128cf997f01bae0ceef43e3340b Mon Sep 17 00:00:00 2001 From: Stefan Krastanov Date: Sat, 16 Dec 2023 01:14:17 -0500 Subject: [PATCH 2/6] bump compats for quantuminterface and quantumopticsbase --- Project.toml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Project.toml b/Project.toml index 4adab679f..dde7ebb14 100644 --- a/Project.toml +++ b/Project.toml @@ -50,8 +50,8 @@ Nemo = "0.36" Plots = "1.38.0" PrecompileTools = "1.2" Quantikz = "1.3.1" -QuantumInterface = "0.3.0" -QuantumOpticsBase = "0.4" +QuantumInterface = "0.3.3" +QuantumOpticsBase = "0.4.18" Random = "1" SIMD = "3.4.0" SumTypes = "0.5" From ace2d9508114437967f6d52a52e79b05a644f752 Mon Sep 17 00:00:00 2001 From: Stefan Krastanov Date: Sat, 16 Dec 2023 01:21:39 -0500 Subject: [PATCH 3/6] bump compats for docstringextensions --- Project.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Project.toml b/Project.toml index dde7ebb14..544278094 100644 --- a/Project.toml +++ b/Project.toml @@ -38,7 +38,7 @@ QuantumCliffordQuantikzExt = "Quantikz" CUDA = "4.4.0" Combinatorics = "1.0" DataStructures = "0.18" -DocStringExtensions = "0.8, 0.9" +DocStringExtensions = "0.9" Graphs = "1.4.1" HostCPUFeatures = "0.1.6" ILog2 = "0.2.3" From c3a68beaeb5b61d849afb1c961842112b94e7885 Mon Sep 17 00:00:00 2001 From: Stefan Krastanov Date: Sat, 16 Dec 2023 01:44:03 -0500 Subject: [PATCH 4/6] bump compats for graphs --- Project.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Project.toml b/Project.toml index 544278094..047c523ef 100644 --- a/Project.toml +++ b/Project.toml @@ -39,7 +39,7 @@ CUDA = "4.4.0" Combinatorics = "1.0" DataStructures = "0.18" DocStringExtensions = "0.9" -Graphs = "1.4.1" +Graphs = "1.9" HostCPUFeatures = "0.1.6" ILog2 = "0.2.3" InteractiveUtils = "1" From 31571e2214349b43432c4733960280f8c7fe8f6c Mon Sep 17 00:00:00 2001 From: Stefan Krastanov Date: Sat, 16 Dec 2023 01:52:48 -0500 Subject: [PATCH 5/6] bump nemo to 0.38 --- CHANGELOG.md | 4 ++++ CONTRIBUTORS | 16 ---------------- Project.toml | 2 +- 3 files changed, 5 insertions(+), 17 deletions(-) delete mode 100644 CONTRIBUTORS diff --git a/CHANGELOG.md b/CHANGELOG.md index 6981090a5..7e6f1fc7a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,10 @@ # News +## v0.8.19 - 2023-12-16 + +- Bumping up the lower bounds of many dependencies and adding lower-bound compatibility checks to CI. + ## v0.8.18 - 2023-11-22 - `ECC.faults_matrix` detects and warns when encountery codes with redundant checks. diff --git a/CONTRIBUTORS b/CONTRIBUTORS deleted file mode 100644 index a5b29501b..000000000 --- a/CONTRIBUTORS +++ /dev/null @@ -1,16 +0,0 @@ -All people who have contributed any change to the -project, code, or documentation in chronological order. - -Stefan Krastanov -Praveen Viswanathan -Grace Sommers -Shu Ge -Chen Zhao -John Lapeyre -Yuxuan Yan -Maria Gragera Garces -Trung Dang -Shayan Pardis -Adrian Ariton -Anthony Micciche -Abhishek Bhatt diff --git a/Project.toml b/Project.toml index 047c523ef..7b860a45d 100644 --- a/Project.toml +++ b/Project.toml @@ -46,7 +46,7 @@ InteractiveUtils = "1" LinearAlgebra = "1" MacroTools = "0.5.9" Makie = "0.19.7" -Nemo = "0.36" +Nemo = "0.38" Plots = "1.38.0" PrecompileTools = "1.2" Quantikz = "1.3.1" From 71ea28cec01647c76343fc96d0d95333d3aec362 Mon Sep 17 00:00:00 2001 From: Stefan Krastanov Date: Sat, 16 Dec 2023 01:59:00 -0500 Subject: [PATCH 6/6] nemo fixes --- src/randoms.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/randoms.jl b/src/randoms.jl index 0000896fc..1af3dd392 100644 --- a/src/randoms.jl +++ b/src/randoms.jl @@ -168,7 +168,7 @@ end function nemo_inv(a, n)::Matrix{UInt8} binaryring = Nemo.residue_ring(Nemo.ZZ, 2) # TODO should I use GF(2) instead of ResidueRing(ZZ, 2)? - M = Nemo.MatrixSpace(binaryring, n, n) + M = Nemo.matrix_space(binaryring, n, n) inverted = inv(M(Matrix{Int}(a))) # Nemo is very picky about input data types return (x->mod(UInt8(x.data),0x2)).(inverted) end