Skip to content

Add support for dict[int, Iterable[str | int]] and dict[str | int, int] to stim.PauliString.__init__` #2346

Add support for dict[int, Iterable[str | int]] and dict[str | int, int] to stim.PauliString.__init__`

Add support for dict[int, Iterable[str | int]] and dict[str | int, int] to stim.PauliString.__init__` #2346

Triggered via pull request September 26, 2025 12:40
Status Failure
Total duration 31m 34s
Artifacts 6

ci.yml

on: pull_request
Matrix: build_dist
build_sdist
17s
build_sdist
Matrix: benchmark
Matrix: test
merge_upload_artifacts
0s
merge_upload_artifacts
upload_dev_release_to_pypi
0s
upload_dev_release_to_pypi
Fit to window
Zoom out
Zoom in

Annotations

71 errors, 41 warnings, and 1 notice
test_generated_docs_are_fresh
Process completed with exit code 1.
test_sinter
Process completed with exit code 2.
test_pybind
Process completed with exit code 2.
test_stimzx
Process completed with exit code 2.
build_dist (macos-14, cp313-macosx_arm64, arm64)
Process completed with exit code 1.
build_dist (macos-14, cp313-macosx_arm64, arm64)
Command ['/bin/sh', '-c', 'pytest /Users/runner/work/Stim/Stim/src /Users/runner/work/Stim/Stim/glue/cirq && stim help'] failed with code 2.
build_dist (macos-14, cp311-macosx_arm64, arm64)
Process completed with exit code 1.
build_dist (macos-14, cp311-macosx_arm64, arm64)
Command ['/bin/sh', '-c', 'pytest /Users/runner/work/Stim/Stim/src /Users/runner/work/Stim/Stim/glue/cirq && stim help'] failed with code 2.
test_stimcirq
Process completed with exit code 2.
build_dist (macos-14, cp312-macosx_arm64, arm64)
Process completed with exit code 1.
build_dist (macos-14, cp312-macosx_arm64, arm64)
Command ['/bin/sh', '-c', 'pytest /Users/runner/work/Stim/Stim/src /Users/runner/work/Stim/Stim/glue/cirq && stim help'] failed with code 2.
build_dist (macos-14, cp39-macosx_arm64, arm64)
Process completed with exit code 1.
build_dist (macos-14, cp39-macosx_arm64, arm64)
Command ['/bin/sh', '-c', 'pytest /Users/runner/work/Stim/Stim/src /Users/runner/work/Stim/Stim/glue/cirq && stim help'] failed with code 2.
build_dist (macos-14, cp310-macosx_arm64, arm64)
Process completed with exit code 1.
build_dist (macos-14, cp310-macosx_arm64, arm64)
Command ['/bin/sh', '-c', 'pytest /Users/runner/work/Stim/Stim/src /Users/runner/work/Stim/Stim/glue/cirq && stim help'] failed with code 2.
build_dist (macos-14, cp312-macosx_x86_64, x86_64)
Process completed with exit code 1.
build_dist (macos-14, cp312-macosx_x86_64, x86_64)
Command ['/usr/bin/arch', '-x86_64', '/bin/sh', '-c', 'pytest /Users/runner/work/Stim/Stim/src /Users/runner/work/Stim/Stim/glue/cirq && stim help'] failed with code 2.
build_dist (macos-14, cp313-macosx_x86_64, x86_64)
Process completed with exit code 1.
build_dist (macos-14, cp313-macosx_x86_64, x86_64)
Command ['/usr/bin/arch', '-x86_64', '/bin/sh', '-c', 'pytest /Users/runner/work/Stim/Stim/src /Users/runner/work/Stim/Stim/glue/cirq && stim help'] failed with code 2.
build_dist (macos-14, cp311-macosx_x86_64, x86_64)
Process completed with exit code 1.
build_dist (macos-14, cp311-macosx_x86_64, x86_64)
Command ['/usr/bin/arch', '-x86_64', '/bin/sh', '-c', 'pytest /Users/runner/work/Stim/Stim/src /Users/runner/work/Stim/Stim/glue/cirq && stim help'] failed with code 2.
build_dist (macos-14, cp310-macosx_x86_64, x86_64)
Process completed with exit code 1.
build_dist (macos-14, cp310-macosx_x86_64, x86_64)
Command ['/usr/bin/arch', '-x86_64', '/bin/sh', '-c', 'pytest /Users/runner/work/Stim/Stim/src /Users/runner/work/Stim/Stim/glue/cirq && stim help'] failed with code 2.
build_dist (macos-14, cp39-macosx_x86_64, x86_64)
Process completed with exit code 1.
build_dist (macos-14, cp39-macosx_x86_64, x86_64)
Command ['/usr/bin/arch', '-x86_64', '/bin/sh', '-c', 'pytest /Users/runner/work/Stim/Stim/src /Users/runner/work/Stim/Stim/glue/cirq && stim help'] failed with code 2.
build_dist (windows-2025, cp310-win_amd64)
Process completed with exit code 1.
build_dist (windows-2025, cp310-win_amd64)
Command pytest D:\a\Stim\Stim/src D:\a\Stim\Stim/glue/cirq && stim help failed with code 2.
build_dist (windows-2025, cp37-win32)
Process completed with exit code 1.
build_dist (windows-2025, cp37-win32)
Command pytest D:\a\Stim\Stim/src D:\a\Stim\Stim/glue/cirq && stim help failed with code 2.
build_dist (windows-2025, cp36-win_amd64)
Process completed with exit code 1.
build_dist (windows-2025, cp36-win_amd64)
Command pytest D:\a\Stim\Stim/src D:\a\Stim\Stim/glue/cirq && stim help failed with code 2.
build_dist (windows-2025, cp313-win_amd64)
Process completed with exit code 1.
build_dist (windows-2025, cp313-win_amd64)
Command pytest D:\a\Stim\Stim/src D:\a\Stim\Stim/glue/cirq && stim help failed with code 2.
build_dist (windows-2025, cp37-win_amd64)
Process completed with exit code 1.
build_dist (windows-2025, cp37-win_amd64)
Command pytest D:\a\Stim\Stim/src D:\a\Stim\Stim/glue/cirq && stim help failed with code 2.
build_dist (windows-2025, cp312-win_amd64)
Process completed with exit code 1.
build_dist (windows-2025, cp312-win_amd64)
Command pytest D:\a\Stim\Stim/src D:\a\Stim\Stim/glue/cirq && stim help failed with code 2.
build_dist (windows-2025, cp38-win_amd64)
Process completed with exit code 1.
build_dist (windows-2025, cp38-win_amd64)
Command pytest D:\a\Stim\Stim/src D:\a\Stim\Stim/glue/cirq && stim help failed with code 2.
build_dist (windows-2025, cp39-win_amd64)
Process completed with exit code 1.
build_dist (windows-2025, cp39-win_amd64)
Command pytest D:\a\Stim\Stim/src D:\a\Stim\Stim/glue/cirq && stim help failed with code 2.
build_dist (windows-2025, cp36-win32)
Process completed with exit code 1.
build_dist (windows-2025, cp36-win32)
Command pytest D:\a\Stim\Stim/src D:\a\Stim\Stim/glue/cirq && stim help failed with code 2.
build_dist (ubuntu-24.04, cp39-manylinux_x86_64)
Process completed with exit code 1.
build_dist (ubuntu-24.04, cp39-manylinux_x86_64)
Command ['sh', '-c', 'pytest /project/src /project/glue/cirq && stim help'] failed with code 2.
build_dist (ubuntu-24.04, cp38-manylinux_x86_64)
Process completed with exit code 1.
build_dist (ubuntu-24.04, cp38-manylinux_x86_64)
Command ['sh', '-c', 'pytest /project/src /project/glue/cirq && stim help'] failed with code 2.
build_dist (ubuntu-24.04, cp310-manylinux_x86_64)
Process completed with exit code 1.
build_dist (ubuntu-24.04, cp310-manylinux_x86_64)
Command ['sh', '-c', 'pytest /project/src /project/glue/cirq && stim help'] failed with code 2.
build_dist (ubuntu-24.04, cp36-manylinux_x86_64)
Process completed with exit code 1.
build_dist (ubuntu-24.04, cp36-manylinux_x86_64)
Command ['sh', '-c', 'pytest /project/src /project/glue/cirq && stim help'] failed with code 2.
build_dist (ubuntu-24.04, cp37-manylinux_x86_64)
Process completed with exit code 1.
build_dist (ubuntu-24.04, cp37-manylinux_x86_64)
Command ['sh', '-c', 'pytest /project/src /project/glue/cirq && stim help'] failed with code 2.
build_dist (windows-2025, cp311-win_amd64)
Process completed with exit code 1.
build_dist (windows-2025, cp311-win_amd64)
Command pytest D:\a\Stim\Stim/src D:\a\Stim\Stim/glue/cirq && stim help failed with code 2.
build_dist (ubuntu-24.04, cp37-manylinux_i686)
Process completed with exit code 1.
build_dist (ubuntu-24.04, cp37-manylinux_i686)
Command ['sh', '-c', 'pytest /project/src /project/glue/cirq && stim help'] failed with code 2.
build_dist (ubuntu-24.04, cp36-manylinux_i686)
Process completed with exit code 1.
build_dist (ubuntu-24.04, cp36-manylinux_i686)
Command ['sh', '-c', 'pytest /project/src /project/glue/cirq && stim help'] failed with code 2.
build_dist (ubuntu-24.04, cp311-manylinux_x86_64)
Process completed with exit code 1.
build_dist (ubuntu-24.04, cp311-manylinux_x86_64)
Command ['sh', '-c', 'pytest /project/src /project/glue/cirq && stim help'] failed with code 2.
build_dist (ubuntu-24.04, cp312-manylinux_x86_64)
Process completed with exit code 1.
build_dist (ubuntu-24.04, cp312-manylinux_x86_64)
Command ['sh', '-c', 'pytest /project/src /project/glue/cirq && stim help'] failed with code 2.
build_dist (ubuntu-24.04, cp313-manylinux_x86_64)
Process completed with exit code 1.
build_dist (ubuntu-24.04, cp313-manylinux_x86_64)
Command ['sh', '-c', 'pytest /project/src /project/glue/cirq && stim help'] failed with code 2.
build_dist (macos-14, cp37-macosx_x86_64, x86_64)
Process completed with exit code 1.
build_dist (macos-14, cp37-macosx_x86_64, x86_64)
Command ['/usr/bin/arch', '-x86_64', '/bin/sh', '-c', 'pytest /Users/runner/work/Stim/Stim/src /Users/runner/work/Stim/Stim/glue/cirq && stim help'] failed with code 2.
build_dist (macos-14, cp36-macosx_x86_64, x86_64)
Process completed with exit code 1.
build_dist (macos-14, cp36-macosx_x86_64, x86_64)
Command ['/usr/bin/arch', '-x86_64', '/bin/sh', '-c', 'pytest /Users/runner/work/Stim/Stim/src /Users/runner/work/Stim/Stim/glue/cirq && stim help'] failed with code 2.
build_dist (macos-14, cp38-macosx_x86_64, x86_64)
Process completed with exit code 1.
build_dist (macos-14, cp38-macosx_x86_64, x86_64)
Command ['/usr/bin/arch', '-x86_64', '/bin/sh', '-c', 'pytest /Users/runner/work/Stim/Stim/src /Users/runner/work/Stim/Stim/glue/cirq && stim help'] failed with code 2.
test_generated_docs_are_fresh
Failed to save: <h2>Our services aren't available right now</h2><p>We're working to restore all services as soon as possible. Please check back soon.</p>0lorWaAAAAABYzaJb3Hp6R77kZAjvDAoPUEhMMzBFREdFMDQwNwBFZGdl
test_generated_docs_are_fresh
Failed to save: <h2>Our services aren't available right now</h2><p>We're working to restore all services as soon as possible. Please check back soon.</p>0lorWaAAAAABcAf3co800RrJy2oWbVpKpUEhMMzBFREdFMDQwNwBFZGdl
test_generated_docs_are_fresh
Failed to save: <h2>Our services aren't available right now</h2><p>We're working to restore all services as soon as possible. Please check back soon.</p>0lYrWaAAAAACZ4L7995YtQ4il2Ta7jqQXUEhMMzBFREdFMDQwNwBFZGdl
test_generated_docs_are_fresh
Failed to restore: Cache service responded with 400
test_generated_docs_are_fresh
Failed to restore: Cache service responded with 400
test_generated_docs_are_fresh
Failed to restore: Cache service responded with 400
test_sinter
Failed to save: <h2>Our services aren't available right now</h2><p>We're working to restore all services as soon as possible. Please check back soon.</p>0l4rWaAAAAADPnYLDqfSMR7RkgkNr4ORtUEhMMzBFREdFMDIyMQBFZGdl
test_sinter
Failed to save: <h2>Our services aren't available right now</h2><p>We're working to restore all services as soon as possible. Please check back soon.</p>0l4rWaAAAAAD2EO/hlIkZQ7JXE8NwgcQSUEhMMzBFREdFMDIyMQBFZGdl
test_sinter
Failed to save: <h2>Our services aren't available right now</h2><p>We're working to restore all services as soon as possible. Please check back soon.</p>0l4rWaAAAAABGisVjWhY5S4lhSm6HVo+WUEhMMzBFREdFMDIyMQBFZGdl
test_sinter
Failed to restore: Cache service responded with 400
test_sinter
Failed to restore: Cache service responded with 400
test_sinter
Failed to restore: Cache service responded with 400
test_pybind
Failed to save: <h2>Our services aren't available right now</h2><p>We're working to restore all services as soon as possible. Please check back soon.</p>0nIrWaAAAAADD+m3h3LyEQJZh6YvDIR8AQ0hJMzBFREdFMDIxMwBFZGdl
test_pybind
Failed to save: <h2>Our services aren't available right now</h2><p>We're working to restore all services as soon as possible. Please check back soon.</p>0nIrWaAAAAABYzT08+3UXT6mcoB2YuaDuQ0hJMzBFREdFMDIxMwBFZGdl
test_pybind
Failed to save: <h2>Our services aren't available right now</h2><p>We're working to restore all services as soon as possible. Please check back soon.</p>0m4rWaAAAAADYMJ89FoLkTZ9J3KSq6r4uQ0hJMzBFREdFMDIxMwBFZGdl
test_pybind
Failed to restore: Cache service responded with 400
test_pybind
Failed to restore: Cache service responded with 400
test_pybind
Failed to restore: Cache service responded with 400
test_stimzx
Failed to save: <h2>Our services aren't available right now</h2><p>We're working to restore all services as soon as possible. Please check back soon.</p>0oYrWaAAAAABcJutz3faaRKVpkxcHmO7wQ0hJMzBFREdFMDIyMQBFZGdl
test_stimzx
Failed to save: <h2>Our services aren't available right now</h2><p>We're working to restore all services as soon as possible. Please check back soon.</p>0oYrWaAAAAABJ6t/ycRiHRKKNtByGF9EOQ0hJMzBFREdFMDIyMQBFZGdl
test_stimzx
Failed to save: <h2>Our services aren't available right now</h2><p>We're working to restore all services as soon as possible. Please check back soon.</p>0oIrWaAAAAADHhcnB7Ov6QJbOKjxJieizQ0hJMzBFREdFMDIyMQBFZGdl
test_stimzx
Failed to restore: Cache service responded with 400
test_stimzx
Failed to restore: Cache service responded with 400
test_stimzx
Failed to restore: Cache service responded with 400
test_stimcirq
Failed to save: <h2>Our services aren't available right now</h2><p>We're working to restore all services as soon as possible. Please check back soon.</p>0w4rWaAAAAADUb2q8tsYXQb3Pii4y6vQyQlkzRURHRTAxMTcARWRnZQ==
test_stimcirq
Failed to save: <h2>Our services aren't available right now</h2><p>We're working to restore all services as soon as possible. Please check back soon.</p>0w4rWaAAAAAANDDt4ZFMtTJdmzZJijRBWQlkzRURHRTAxMTcARWRnZQ==
test_stimcirq
Failed to save: <h2>Our services aren't available right now</h2><p>We're working to restore all services as soon as possible. Please check back soon.</p>0w4rWaAAAAABK/kuAb6w0T4ZXdguFfcZbQlkzRURHRTAxMTcARWRnZQ==
test_stimcirq
Failed to restore: Cache service responded with 400
test_stimcirq
Failed to restore: Cache service responded with 400
test_stimcirq
Failed to restore: Cache service responded with 400
test_stimjs
Failed to save: <h2>Our services aren't available right now</h2><p>We're working to restore all services as soon as possible. Please check back soon.</p>0BorWaAAAAADXDdEYVq4+TqGZ9GLxLovKQ0hJMzBFREdFMDIxMQBFZGdl
test_stimjs
No cached files found at path "/home/runner/work/Stim/Stim/emsdk-cache" - downloading and caching emsdk.
test_stimjs
Failed to restore: Cache service responded with 400
benchmark_windows
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
build_bazel
Failed to save: <h2>Our services aren't available right now</h2><p>We're working to restore all services as soon as possible. Please check back soon.</p>05IvWaAAAAAAtKey7fbzbQbmBGXEicD5/REVOMzAxMDAwMTAxMDM1AEVkZ2U=
build_bazel
Failed to save: <h2>Our services aren't available right now</h2><p>We're working to restore all services as soon as possible. Please check back soon.</p>05IvWaAAAAABM+hVgk/VWQqOxlmdbz/qNREVOMzAxMDAwMTAxMDM1AEVkZ2U=
build_bazel
Failed to save: <h2>Our services aren't available right now</h2><p>We're working to restore all services as soon as possible. Please check back soon.</p>044vWaAAAAABd4+F57l8OQKMzChED+chvREVOMzAxMDAwMTAxMDM1AEVkZ2U=
build_bazel
Failed to restore: Cache service responded with 400
build_bazel
Failed to restore: Cache service responded with 400
build_bazel
Failed to restore: Cache service responded with 400
build_dist (macos-14, cp38-macosx_arm64, arm64)
While cibuildwheel can build CPython 3.8 universal2/arm64 wheels, we cannot test the arm64 part of them, even when running on an Apple Silicon machine. This is because we use the x86_64 installer of CPython 3.8. See the discussion in https://github.com/pypa/cibuildwheel/pull/1169 for the details. To silence this warning, set `CIBW_TEST_SKIP: "cp38-macosx_*:arm64"`.
build_dist (macos-14, cp38-macosx_x86_64, x86_64)
Setting SYSTEM_VERSION_COMPAT=0 to ensure CPython 3.8 can get correct macOS version and allow installation of wheels with MACOSX_DEPLOYMENT_TARGET >= 11.0. See https://github.com/pypa/cibuildwheel/issues/1767 for the details.

Artifacts

Produced during runtime
Name Size Digest
bdist-sinter
188 KB
sha256:90a230f18fee2d7327a7df2dd84354a3b4d99ded63fa01adc93bdccb040ba6d6
bdist-stimcirq
44 KB
sha256:db9495c8bfa6ff110fdee2cdbc51084068b85609ce5045de8a878d32a3e7e0d4
dist-sinter
173 KB
sha256:1a167297a5175afea179262ad2263940d391c15178b4605e4eac2ce18e5d39a6
dist-stim-macos-14-cp38-macosx_arm64-arm64
3.38 MB
sha256:5d10cc447052656ac53bd8448bc29c6137bb1ec38c5cab47b6993c02d872e849
dist-stim-sdist
844 KB
sha256:d55ff0435eed25e895c742a1ed17ceebbb0be7522e699898022a46e93d10a94b
dist-stimcirq
33.1 KB
sha256:46a4ccaf4a15f1c22c933a3fd76d9157beb6c6cc813a1eb4ce11e9eab1c24d74