Skip to content

Commit a44eeed

Browse files
committed
bump version to 0.6.8
1 parent 41e21a9 commit a44eeed

3 files changed

Lines changed: 15 additions & 11 deletions

File tree

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "qector_decoder_v3"
3-
version = "0.6.7"
3+
version = "0.6.8"
44
edition = "2021"
55
authors = ["Guillaume Lessard / iD01t Productions <admin@qector.store>"]
66
description = "Proprietary Rust QEC decoder core (Copyright (c) 2026 Guillaume Lessard. All Rights Reserved) with source-available Python suite, Union-Find, exact Blossom, Sparse Blossom, BP-OSD, and CPU/CUDA/OpenCL batch acceleration."

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ build-backend = "maturin"
44

55
[project]
66
name = "qector-decoder-v3"
7-
version = "0.6.7"
7+
version = "0.6.8"
88
description = "Production-grade Rust/Python quantum error correction decoder. 25+ decoder families: MWPM Blossom, Union-Find, BP-OSD, LDPC/qLDPC, belief-matching, CUDA/GPU batch decoding, 7-tier AutoDecoder fallback. PyMatching/Stim/Sinter compatible. Ed25519 license verification."
99
readme = "README.md"
1010
requires-python = ">=3.9"

python/qector_decoder_v3/__init__.py

Lines changed: 13 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -18,14 +18,18 @@ def _guard(name):
1818
try:
1919
return getattr(_native_module, name)
2020
except (AttributeError, ImportError):
21-
def _unavailable(*args, **kwargs):
22-
raise RuntimeError(
23-
f"{name} is not available in this build. "
24-
"Install a wheel with the required features enabled."
25-
)
26-
_unavailable.__name__ = name
27-
_unavailable.__qualname__ = name
28-
return _unavailable
21+
class _Unavailable:
22+
def __init__(self, *args, **kwargs):
23+
raise RuntimeError(
24+
f"{name} is not available in this build. "
25+
"Install a wheel with the required features enabled."
26+
)
27+
def __repr__(self):
28+
return f"<unavailable {name}>"
29+
_Unavailable.__name__ = name
30+
_Unavailable.__qualname__ = name
31+
_Unavailable.__module__ = __name__
32+
return _Unavailable
2933

3034

3135
_RustUnionFindDecoder = _guard("UnionFindDecoder")
@@ -110,7 +114,7 @@ def _rust_opencl_is_available():
110114
# wheel). We never overwrite a real compiled ``__version__`` with it — doing so
111115
# would falsely claim a version the loaded binary is not — so after a version bump
112116
# ``__version__`` keeps reporting the *built* value until the Rust wheel is rebuilt.
113-
__fallback_version__ = "0.6.7"
117+
__fallback_version__ = "0.6.8"
114118

115119
try:
116120
__version__ = _native_module.__version__

0 commit comments

Comments
 (0)