Skip to content

Drop Python 3.11 from CI matrix#7952

Draft
astafan8 wants to merge 1 commit intomainfrom
drop-python-3.11
Draft

Drop Python 3.11 from CI matrix#7952
astafan8 wants to merge 1 commit intomainfrom
drop-python-3.11

Conversation

@astafan8
Copy link
Contributor

Changes

QCoDeS already requires Python >=3.12. This PR updates CI to match:

  • Updated pytest.yaml: removed 3.11 from matrix, min-version test now uses 3.12
  • Updated docs.yaml: removed 3.11, gh-pages deploy uses 3.12
  • Updated upload_to_pypi.yaml: build uses 3.12
  • Removed obsolete pyvisa-sim deprecation warning filter (was only needed for 3.11)

@astafan8 astafan8 requested a review from jenshnielsen March 20, 2026 11:49
@codecov
Copy link

codecov bot commented Mar 20, 2026

Codecov Report

❌ Patch coverage is 43.63636% with 31 lines in your changes missing coverage. Please review.
✅ Project coverage is 60.54%. Comparing base (33f9ff8) to head (ffd559c).
⚠️ Report is 4 commits behind head on main.

Files with missing lines Patch % Lines
src/qcodes/dataset/data_set_protocol.py 0.00% 7 Missing ⚠️
src/qcodes/dataset/dond/sweeps.py 0.00% 3 Missing ⚠️
src/qcodes/dataset/measurements.py 0.00% 3 Missing ⚠️
src/qcodes/dataset/threading.py 0.00% 3 Missing ⚠️
src/qcodes/dataset/data_set_cache.py 0.00% 2 Missing ⚠️
src/qcodes/parameters/command.py 0.00% 2 Missing ⚠️
...s/parameters/multi_channel_instrument_parameter.py 0.00% 2 Missing ⚠️
src/qcodes/utils/threading_utils.py 0.00% 2 Missing ⚠️
src/qcodes/validators/validators.py 0.00% 2 Missing ⚠️
src/qcodes/instrument/instrument.py 0.00% 1 Missing ⚠️
... and 4 more
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #7952      +/-   ##
==========================================
- Coverage   60.54%   60.54%   -0.01%     
==========================================
  Files         333      333              
  Lines       32232    32232              
==========================================
- Hits        19516    19514       -2     
- Misses      12716    12718       +2     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@astafan8 astafan8 force-pushed the drop-python-3.11 branch 2 times, most recently from 84c3f0d to 8c3c813 Compare March 20, 2026 21:49
@astafan8 astafan8 force-pushed the drop-python-3.11 branch 4 times, most recently from bf5727d to 8e0f62d Compare March 20, 2026 22:51
QCoDeS already requires Python >=3.12. This PR updates the CI
configuration and applies pyupgrade fixes:

- Updated pytest.yaml: removed 3.11 from matrix, min-version test now uses 3.12
- Updated docs.yaml: removed 3.11, gh-pages deploy uses 3.12
- Updated upload_to_pypi.yaml: build uses 3.12
- Removed obsolete pyvisa-sim deprecation warning filter (was only needed for 3.11)
- Bumped minimum dependency versions for Python 3.12 compat: numpy>=1.26.0, pandas>=2.1.1, pyarrow>=14.0.0, h5py>=3.10.0, h5netcdf>=1.3.0, pillow>=10.2.0, matplotlib>=3.8.0, scipy>=1.12.0
- Applied ruff pyupgrade fixes (UP040 TypeAlias->type, UP046 Generic->type params)
- Added noqa: UP046 for 13 complex multi-inheritance generic classes

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
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.

1 participant