Skip to content

Cleanup example dependencies - #192

Merged
mjohanse-emr merged 2 commits into
mainfrom
users/mjohanse/overview_ex_cleanup
Oct 15, 2026
Merged

mjohanse-emr merged 2 commits into
mainfrom
users/mjohanse/overview_ex_cleanup

Conversation

@mjohanse-emr

@mjohanse-emr mjohanse-emr commented Oct 15, 2026 •

Copy link
Copy Markdown
Contributor

What does this Pull Request accomplish?

  • Upgrades ni.datastore dependency to 2.1.0 (latest released) for both examples
  • Removes unneeded transitive dependencies from the overview example
  • Removes unneeded "types" dependencies from the overview example

Why should this Pull Request be merged?

Cleans up example dependencies and addresses at least one dependabot issue.

AB#4105402

What testing has been done?

  • I ran both examples successfully with the new dependencies.
  • I ran mypy on the overview example to test removal of "type" dependencies.

Signed-off-by: Michael Johansen <michael.johansen@emerson.com>
@mjohanse-emr
mjohanse-emr requested a review from a team as a code owner October 15, 2026 14:24
Copilot AI balanced review requested due to automatic review settings October 15, 2026 14:24

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

🔵 Needs a closer look

The broad runtime and lint-tool upgrades need compatibility validation beyond the reported example runs and overview type check.

0 open findings

What changed in this PR

Updates dependencies for the datastore examples and simplifies the overview example’s dependency declarations.

Changes:

  • Raises both examples’ minimum ni-datastore version to 2.1.0.
  • Removes redundant runtime and type-stub dependencies from the overview example.
  • Refreshes the system example’s locked runtime and lint dependencies.
File Description
examples/​system/​pyproject.toml Requires ni-datastore 2.1.0 or newer.
examples/​system/​poetry.lock Updates resolved runtime and lint packages.
examples/​overview/​pyproject.toml Upgrades datastore and removes unnecessary dependencies.

🧠 Review effort: Balanced


💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

@mjohanse-emr
mjohanse-emr merged commit 8942dd3 into main Oct 15, 2026
32 checks passed
@mjohanse-emr
mjohanse-emr deleted the users/mjohanse/overview_ex_cleanup branch October 15, 2026 14:41
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