Skip to content

Remove deprecated channel-level port properties - #195

Open
nulinspiratie wants to merge 1 commit into
mainfrom
remove-deprecated-channel-params
Open

Remove deprecated channel-level port properties#195
nulinspiratie wants to merge 1 commit into
mainfrom
remove-deprecated-channel-params

Conversation

@nulinspiratie

Copy link
Copy Markdown
Contributor

Summary

  • Removes channel-level port properties that have been deprecated since v0.5.0: opx_output_offset, filter_fir_taps, filter_iir_taps, opx_input_offset, opx_output_offset_I/Q, opx_input_offset_I/Q, DigitalOutputChannel.shareable/inverted, and IQChannel.rf_frequency
  • Removes the _create_port_property_deprecation_message helper function (no longer needed)
  • Updates tests, documentation, and changelog

What changed

quam/components/channels.py: Removed deprecated fields and all associated deprecation warning logic from DigitalOutputChannel, SingleChannel, InSingleChannel, IQChannel, and InIQChannel. Port constructors in apply_to_config now use defaults only.

Tests: Updated attribute annotation tests and removed test cases that exercised the removed properties. Replaced rf_frequency with RF_frequency in transmon tests.

Docs: Removed deprecated-property warning callouts and the full migration guide from channels.md. Updated channel-ports.md best practices. Cleaned up demonstration.md repr examples.

Test plan

  • All 614 existing tests pass (python -m pytest tests/ -q)
  • No deprecation warnings emitted for removed properties (they raise AttributeError now if used)

Remove the following deprecated fields and the associated deprecation
warning logic:
- SingleChannel: opx_output_offset, filter_fir_taps, filter_iir_taps
- InSingleChannel: opx_input_offset
- IQChannel: opx_output_offset_I, opx_output_offset_Q, rf_frequency property
- InIQChannel: opx_input_offset_I, opx_input_offset_Q
- DigitalOutputChannel: shareable, inverted

Also removes the _create_port_property_deprecation_message helper.
These properties have been on Port objects since v0.5.0.
Update tests, documentation, and changelog accordingly.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant