Skip to content

Mark support for graphix 3.14 and pin graphix master#24

Merged
thierry-martinez merged 8 commits into
TeamGraphix:masterfrom
thierry-martinez:python_314
Mar 31, 2026
Merged

Mark support for graphix 3.14 and pin graphix master#24
thierry-martinez merged 8 commits into
TeamGraphix:masterfrom
thierry-martinez:python_314

Conversation

@thierry-martinez
Copy link
Copy Markdown
Contributor

This PR is built on #23.

thierry-martinez added a commit to thierry-martinez/graphix that referenced this pull request Mar 26, 2026
This commit prepares release v0.3.5.

These changes remove warnings produced by the test suite:

- Some warnings revealed actual bugs in `ComposeNoiseModel`, which did
  not pass `rng` correctly.

- One warning was due to a change in NumPy 2 that disallows cross
  products of 2D vectors. A specialized function `_cross2d` has been
  implemented instead (see numpy/numpy#26620 ).

- Some expected warnings are now filtered.

- Warnings about using the density matrix backend without a noise
  model were not reported at the correct location because `stacklevel`
  was missing. This is now fixed for a better developer experience:
  the warning is reported at the culprit call site rather than in
  internal functions.

The reverse dependency `graphix-stim-backend` is now tested against
the main branch, as is done for `veriphix`. This is still not the case
for other reverse dependencies, as the following pull requests are
awaiting approval:

[ ] `graphix-symbolic`: TeamGraphix/graphix-symbolic#8
[ ] `graphix-ibmq`: TeamGraphix/graphix-ibmq#24
Copy link
Copy Markdown

@matulni matulni left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

Comment thread .github/workflows/ci.yml Outdated
matrix:
os: ['ubuntu-latest', 'windows-2022', 'macos-latest']
python: ['3.9', '3.10', '3.11', '3.12']
python: ['3.10', '3.11', '3.12', '3.13']
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Shouldn't we add 3.14 here?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Indeed! Thanks! Fixed in ad097cf.

Comment thread setup.py
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

And here ?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Indeed! Thanks! Fixed in ad097cf.

Copy link
Copy Markdown
Contributor

@shinich1 shinich1 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks!

@thierry-martinez thierry-martinez merged commit 21a4483 into TeamGraphix:master Mar 31, 2026
15 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants