Skip to content

Update examples to require ni-datastore 2.0.0.dev0#122

Merged
mjohanse-emr merged 2 commits intomainfrom
users/mjohanse/update_examples
Mar 13, 2026
Merged

Update examples to require ni-datastore 2.0.0.dev0#122
mjohanse-emr merged 2 commits intomainfrom
users/mjohanse/update_examples

Conversation

@mjohanse-emr
Copy link
Copy Markdown
Collaborator

What does this Pull Request accomplish?

Updates the examples' ni-datastore dependency to >=2.0.0dev0.

Why should this Pull Request be merged?

Now that a pre-release package has been published (2.0.0.dev0), we can update pyproject.toml to depend on that release. This allows us to keep the relative path dev dependency commented out, which makes the examples more portable.

What testing has been done?

I ran both examples after running poetry lock.

Signed-off-by: Michael Johansen <michael.johansen@emerson.com>
Copilot AI review requested due to automatic review settings March 13, 2026 17:45
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Updates the packaged example projects to pull ni-datastore from the published 2.0.0.dev0 pre-release (instead of relying on a local path dependency), improving portability of the examples.

Changes:

  • Bump ni-datastore dependency in both examples to >=2.0.0.dev0 and enable prereleases.
  • Comment out the local ni-datastore path dependency in each example’s dev group.
  • Regenerate both examples’ poetry.lock files to reflect the published package source and updated group memberships.

Reviewed changes

Copilot reviewed 2 out of 4 changed files in this pull request and generated 2 comments.

File Description
examples/system/pyproject.toml Updates ni-datastore to >=2.0.0.dev0 with prereleases; comments out local path override.
examples/system/poetry.lock Locks to published ni-datastore 2.0.0.dev0 artifacts and updates dependency group attribution.
examples/overview/pyproject.toml Updates ni-datastore to >=2.0.0.dev0 with prereleases; comments out local path override.
examples/overview/poetry.lock Locks to published ni-datastore 2.0.0.dev0 artifacts and updates dependency group attribution.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

You can also share your feedback on Copilot code review. Take the survey.

Comment thread examples/system/pyproject.toml
Comment thread examples/overview/pyproject.toml
@mjohanse-emr mjohanse-emr merged commit 9cddd70 into main Mar 13, 2026
29 checks passed
@mjohanse-emr mjohanse-emr deleted the users/mjohanse/update_examples branch March 13, 2026 18:09
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