Skip to content

Upgrade pytest to 8.3.0#3684

Merged
sacpis merged 1 commit intoNVIDIA:mainfrom
sacpis:upgrade_pytest
Dec 16, 2025
Merged

Upgrade pytest to 8.3.0#3684
sacpis merged 1 commit intoNVIDIA:mainfrom
sacpis:upgrade_pytest

Conversation

@sacpis
Copy link
Copy Markdown
Collaborator

@sacpis sacpis commented Dec 15, 2025

Upgrade pytest to 8.3.0 to include the fix for segfault in fixture.

Seems like the below error in the job

error file=prebuilt_binaries.yml::Sanity tests failed for side-by-side Python support.

is triggered by the line (which is a fixture having cudaq.reset_target())

test_evolve_simulators.py", line 21 in do_something

is caused as the pytest aborts when there is a fixture error during teardown. This is an issue in pytest which is fixed in pytest version 8.3.0 (with PR 11721). We are using pytest 8.2.0.

Fixes #3678.

Copy link
Copy Markdown
Collaborator

@mitchdz mitchdz 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 @sacpis

@sacpis sacpis merged commit 33ea9d9 into NVIDIA:main Dec 16, 2025
193 checks passed
@sacpis sacpis deleted the upgrade_pytest branch December 16, 2025 01:27
github-actions bot pushed a commit that referenced this pull request Dec 16, 2025
@bettinaheim bettinaheim added the no release notes Don't list this PR in the release notes label Mar 12, 2026
@bettinaheim bettinaheim added this to the release 0.14.0 milestone Mar 12, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

no release notes Don't list this PR in the release notes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Seg fault in test_evolve_simulators

3 participants