| Name | Modified | Size | Downloads / Week |
|---|---|---|---|
| Parent folder | |||
| blueqat 2.1.2 -- fix import error on Python _= 3.13 source code.tar.gz | 2026-07-15 | 125.1 kB | |
| blueqat 2.1.2 -- fix import error on Python _= 3.13 source code.zip | 2026-07-15 | 171.9 kB | |
| README.md | 2026-07-15 | 621 Bytes | |
| Totals: 3 Items | 297.7 kB | 0 | |
Fix
import blueqat.eo failed with NameError: name 'Sequence' is not defined on Python <= 3.13 (e.g. Google Colab's 3.12): an annotation in blueqat/eo/optimizer.py referenced typing.Sequence without importing it. Python 3.14's deferred annotation evaluation (PEP 649) hid the bug during development.
This release adds the missing import plus a regression test that imports every module and force-evaluates all annotations on every Python version. Verified on a clean Python 3.12 install (all modules import, 1,590 tests pass).
Upgrade with:
pip install --upgrade git+https://github.com/blueqat/blueqatSDK