Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use stestr again for unittests #1218

Merged
merged 1 commit into from
Jun 19, 2024
Merged

Conversation

mtreinish
Copy link
Member

With the release of Python 3.12.1 we stopped using stest in CI because 3.12.1 introduced a breaking API change to the unittest runner API that broke a dependency of stestr, testtools. This has been worked around with a new testtools release so we can restore using stestr in CI again which should improve test run throughput. This commit restores using stestr for the test CI jobs and local runs. The cibuildwheel config remains unchanged and uses the stdlib unittest runner still, just for simplicity so we don't need to install additional test dependencies.

With the release of Python 3.12.1 we stopped using stest in CI because
3.12.1 introduced a breaking API change to the unittest runner API that
broke a dependency of stestr, testtools. This has been worked around
with a new testtools release so we can restore using stestr in CI again
which should improve test run throughput. This commit restores using
stestr for the test CI jobs and local runs. The cibuildwheel config
remains unchanged and uses the stdlib unittest runner still, just for
simplicity so we don't need to install additional test dependencies.
@coveralls
Copy link

coveralls commented Jun 19, 2024

Pull Request Test Coverage Report for Build 9573740108

Details

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage increased (+0.03%) to 95.865%

Totals Coverage Status
Change from base Build 9565715860: 0.03%
Covered Lines: 17388
Relevant Lines: 18138

💛 - Coveralls

@IvanIsCoding IvanIsCoding merged commit d580e1b into Qiskit:main Jun 19, 2024
28 checks passed
@mtreinish mtreinish deleted the use-stestr-again branch June 21, 2024 22:32
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