Skip to content

Conversation

@mikeprosserni
Copy link
Contributor

@mikeprosserni mikeprosserni commented Dec 11, 2025

What does this Pull Request accomplish?

This is cherry picking "Reverse Indices for Digital Waveform Signals" (#222) and "Fix unpickling issues with Waveform and Signal" (#237) into the 1.0 release branch. This is a high-priority bugfix that we are creating a "1.0.1" patch release for.

Why should this Pull Request be merged?

To release this bugfix.

What testing has been done?

Ran Autotests

* add _raw_index

* line_index and line_names

* more tests

* fix new test

* data_index and documentation

* fix doc types

* documentation improvements

* documentation improvements

* documentation improvements

* clean up NI_LineNames in tests

* remove DigitalWaveformFailure.data_index

* test___signal_with_line_names___change_line_names_property___signal_returns_new_line_name and _DigitalWaveformExtendedProperties

* signal_column_index

* line lengths

* italics for 'See "Signal index vs. signal column index"' notes

* add bitorder to from_port, and default to the industry standard 'big'

* rename to column_index

* bitorder != sys.byteorder

* add on_key_changed to ExtendedPropertyDictionary

* change tests to big-endian

* make on_key_changed private

* cleanup

* from typing_extensions import TypeAlias, to fix python 3.9

* fix pickling and copying issues with callbacks

* change on_key_changed to a list of weak methods, so ExtendedPropertyDictionaries can be shared by waveforms

---------

Co-authored-by: Mike Prosser <[email protected]>
@github-actions
Copy link
Contributor

github-actions bot commented Dec 11, 2025

Test Results

    44 files  ±  0      44 suites  ±0   22m 35s ⏱️ +50s
 2 210 tests + 20   2 210 ✅ + 20  0 💤 ±0  0 ❌ ±0 
50 198 runs  +460  50 198 ✅ +460  0 💤 ±0  0 ❌ ±0 

Results for commit 2aa809d. ± Comparison against base commit e06aec0.

♻️ This comment has been updated with latest results.

@mikeprosserni mikeprosserni marked this pull request as ready for review December 11, 2025 16:50
* add versioned unpickling tests for waveform and signal, and fix issues causing the new tests to fail

* skip unpickle tests in oldest_deps test run

---------

Co-authored-by: Mike Prosser <[email protected]>
@mikeprosserni mikeprosserni merged commit de65044 into releases/1.0 Dec 16, 2025
34 checks passed
@mikeprosserni mikeprosserni deleted the users/mprosser/signals-cherry-pick branch December 16, 2025 15:17
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