Repository navigation
Package and dependency migration to poetry #6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
ni-jfitzger
merged 7 commits into
ni:main
from
sourabhutaniCG:nisyscfg-python-poetry-migration
Oct 12, 2026
Merged
Changes from all commits
Commits
Show all changes
7 commits
Select commit
Hold shift + click to select a range
e58c847
added poetry migration changes.
sourabhutaniCG 2429b55
Updated Poetry version pin in CI
sourabhutaniCG 5109151
Updated Poetry migration changes.
sourabhutaniCG 8caa22b
added ni/python-actions poetry changes.
sourabhutaniCG 406bd68
removed PIP from test workflow.
sourabhutaniCG 7878604
Addressed reviewer feedbacks.
sourabhutaniCG 634eb0b
addressed publish workflow feedback.
sourabhutaniCG File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,2 +1,68 @@ | ||
| [project] | ||
| name = "nisyscfg" | ||
| version = "0.2.1" | ||
| description = "NI System Configuration Python API" | ||
| readme = "README.md" | ||
| requires-python = ">=3.9" | ||
| license = "MIT" | ||
| authors = [{ name = "National Instruments" }] | ||
| maintainers = [{ name = "Tyler Krehbiel", email = "tyler.krehbiel@emerson.com" }] | ||
| keywords = ["nisyscfg", "syscfg"] | ||
| dependencies = ["hightime", "six"] | ||
| classifiers = [ | ||
| "Development Status :: 1 - Planning", | ||
| "Intended Audience :: Developers", | ||
| "Intended Audience :: Manufacturing", | ||
| "Intended Audience :: Science/Research", | ||
| "License :: OSI Approved :: MIT License", | ||
| "Operating System :: Microsoft :: Windows", | ||
| "Operating System :: POSIX", | ||
| "Programming Language :: Python :: 3", | ||
| "Programming Language :: Python :: 3.9", | ||
| "Programming Language :: Python :: 3.10", | ||
| "Programming Language :: Python :: 3.11", | ||
| "Programming Language :: Python :: 3.12", | ||
| "Programming Language :: Python :: 3.13", | ||
| "Topic :: System :: Hardware :: Hardware Drivers", | ||
| ] | ||
|
|
||
| [project.urls] | ||
| repository = "https://github.com/ni/nisyscfg-python" | ||
| changelog = "https://github.com/ni/nisyscfg-python/blob/main/CHANGELOG.md" | ||
|
|
||
| [build-system] | ||
| requires = ["poetry-core>=2.1.0,<3.0.0"] | ||
| build-backend = "poetry.core.masonry.api" | ||
|
|
||
| [tool.poetry] | ||
| requires-poetry = '>=2.1,<3.0' | ||
| packages = [{ include = "nisyscfg", from = "src" }] | ||
|
|
||
| [tool.poetry.group.test.dependencies] | ||
| pytest = ">=7.2" | ||
| pytest-cov = ">=4.0" | ||
|
|
||
| [tool.poetry.group.lint.dependencies] | ||
| flake8 = ">=7.0" | ||
| flake8-pyproject = ">=1.2.4" | ||
|
|
||
| [tool.pytest.ini_options] | ||
| addopts = "--cov=nisyscfg --cov-report=term --cov-report=xml --cov-report=html -svv --strict-markers" | ||
| testpaths = ["tests"] | ||
|
|
||
| [tool.flake8] | ||
| show_source = true | ||
| max_line_length = 120 | ||
| exclude = ["build", "docs", "tests", ".tox", "__pycache__", ".venv*"] | ||
|
|
||
| # H404: Multi line docstrings should start without a leading new line. | ||
| # H405: Multi line docstrings should start with a one line summary followed by an empty line. | ||
| # H903: Windows style line endings not allowed in code | ||
| # E501: Line length | ||
| # W391: Blank line at end of file | ||
| # W503: Line break occurred before a binary operator (not PEP8 compatible) | ||
| # W504: Line break occurred after a binary operator (not PEP8 compatible) | ||
| ignore = ["H404", "H405", "H903", "E501", "W391", "W503", "W504"] | ||
|
|
||
| [tool.black] | ||
| line-length = 100 | ||
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.