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

add compat downgrader #204

Merged
merged 6 commits into from
Dec 16, 2023
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
11 changes: 10 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,19 @@ jobs:
fail-fast: false
matrix:
version:
- '1.9'
- '1'
os:
- ubuntu-latest
threads:
- '1'
- '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
Expand All @@ -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:
Expand Down
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
16 changes: 0 additions & 16 deletions CONTRIBUTORS

This file was deleted.

14 changes: 7 additions & 7 deletions Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -38,21 +38,21 @@ QuantumCliffordQuantikzExt = "Quantikz"
CUDA = "4.4.0"
Combinatorics = "1.0"
DataStructures = "0.18"
DocStringExtensions = "0.8, 0.9"
Graphs = "1.4.1"
DocStringExtensions = "0.9"
Graphs = "1.9"
HostCPUFeatures = "0.1.6"
ILog2 = "0.2.3"
InteractiveUtils = "1"
LinearAlgebra = "1"
MacroTools = "0.5.9"
Makie = "0.19.7"
Nemo = "0.34, 0.35, 0.36"
Nemo = "0.38"
Plots = "1.38.0"
PrecompileTools = "1"
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.4.4, 0.5"
SumTypes = "0.5"
julia = "1.9"
2 changes: 1 addition & 1 deletion src/randoms.jl
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Loading