Skip to content

Conversation

@dixonjoel
Copy link
Collaborator

What does this Pull Request accomplish?

Adds back in the session_management to all in the ni_measurement_plugin_sdk_service. This was removed when we started consuming packages from ni-apis-python (see #1220), but not restored with #1228.

Also updating the examples pyproject.toml to allow version 3.0.

Why should this Pull Request be merged?

Examples are broken when upgrading to the 3.0.0 version.

What testing has been done?

Installed ni_dcpower_source_voltage example with a local 3.0.1 and ensured it ran correctly.

Copy link
Collaborator

@bkeryan bkeryan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approved with suggestions

@github-actions
Copy link
Contributor

github-actions bot commented Oct 6, 2025

Test Results

    52 files  ±0      52 suites  ±0   1h 14m 5s ⏱️ +59s
   689 tests ±0     689 ✅ ±0      0 💤 ±0  0 ❌ ±0 
20 700 runs  ±0  19 644 ✅ ±0  1 056 💤 ±0  0 ❌ ±0 

Results for commit 11de33f. ± Comparison against base commit 2e88e23.

♻️ This comment has been updated with latest results.

@dixonjoel dixonjoel merged commit 26808d2 into releases/3.0 Oct 6, 2025
17 checks passed
@dixonjoel dixonjoel deleted the users/jdixon/restore-session-management branch October 6, 2025 20:58
dixonjoel added a commit that referenced this pull request Oct 6, 2025
* Update examples to >=2.3.1,<4.0

* Restore session_management export from ni_measurement_plugin_sdk_service

* Set version numbers to 3.0.1

* Restore _types module with SessionInitializationBehavior

* Do not reference private modules from ni_measurement_plugin_sdk_service.

* Revert version change so the rest can be cherry picked to main

* Restore more exports from _reservation and _types

* Fix linter errors
dixonjoel added a commit that referenced this pull request Oct 7, 2025
…ort (#1253)

Restore session_management module export to service package (#1250)

* Update examples to >=2.3.1,<4.0

* Restore session_management export from ni_measurement_plugin_sdk_service

* Set version numbers to 3.0.1

* Restore _types module with SessionInitializationBehavior

* Do not reference private modules from ni_measurement_plugin_sdk_service.

* Revert version change so the rest can be cherry picked to main

* Restore more exports from _reservation and _types

* Fix linter errors
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.

4 participants