From 870ba8c5d694a93d553fd6fe00090f005f95d611 Mon Sep 17 00:00:00 2001 From: Harikrishna-2016 Date: Tue, 13 Oct 2026 12:36:09 +0530 Subject: [PATCH 1/9] update the pyproject.tml and add the renovate.json file --- .github/renovate.json | 6 ++++++ pyproject.toml | 12 ++++++++++++ 2 files changed, 18 insertions(+) create mode 100644 .github/renovate.json diff --git a/.github/renovate.json b/.github/renovate.json new file mode 100644 index 0000000..aba7334 --- /dev/null +++ b/.github/renovate.json @@ -0,0 +1,6 @@ +{ + "$schema": "https://docs.renovatebot.com/renovate-schema.json", + "extends": [ + "local>ni/python-renovate-config:recommended" + ] +} \ No newline at end of file diff --git a/pyproject.toml b/pyproject.toml index b3e3bb6..4619939 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -25,6 +25,7 @@ classifiers = [ "Programming Language :: Python :: 3.13", "Topic :: System :: Hardware :: Hardware Drivers", ] +dynamic = ["dependencies"] [project.urls] repository = "https://github.com/ni/nisyscfg-python" @@ -38,6 +39,12 @@ build-backend = "poetry.core.masonry.api" requires-poetry = '>=2.1,<3.0' packages = [{ include = "nisyscfg", from = "src" }] +[tool.poetry.dependencies] +hightime = { version = ">=1.0.0" } + +[tool.poetry.group.dev.dependencies] +six = "1.17.0" + [tool.poetry.group.test.dependencies] pytest = ">=7.2" pytest-cov = ">=4.0" @@ -46,6 +53,11 @@ pytest-cov = ">=4.0" flake8 = ">=7.0" flake8-pyproject = ">=1.2.4" +[solver] +# Set min-release-age to 2 weeks, same as in https://github.com/ni/python-renovate-config +min-release-age = 14 +min-release-age-exclude = ["hightime"] + [tool.pytest.ini_options] addopts = "--cov=nisyscfg --cov-report=term --cov-report=xml --cov-report=html -svv --strict-markers" testpaths = ["tests"] From c4afa3eb64fa3607ed4a6915facb5be9001e0562 Mon Sep 17 00:00:00 2001 From: Harikrishna-2016 Date: Tue, 13 Oct 2026 13:01:29 +0530 Subject: [PATCH 2/9] Update pyproject.toml --- pyproject.toml | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 4619939..386517d 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -8,7 +8,6 @@ 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", @@ -25,8 +24,7 @@ classifiers = [ "Programming Language :: Python :: 3.13", "Topic :: System :: Hardware :: Hardware Drivers", ] -dynamic = ["dependencies"] - +dependencies = ["hightime", "six"] [project.urls] repository = "https://github.com/ni/nisyscfg-python" changelog = "https://github.com/ni/nisyscfg-python/blob/main/CHANGELOG.md" @@ -41,9 +39,9 @@ packages = [{ include = "nisyscfg", from = "src" }] [tool.poetry.dependencies] hightime = { version = ">=1.0.0" } - -[tool.poetry.group.dev.dependencies] six = "1.17.0" +#[tool.poetry.group.dev.dependencies] + [tool.poetry.group.test.dependencies] pytest = ">=7.2" @@ -77,4 +75,4 @@ exclude = ["build", "docs", "tests", ".tox", "__pycache__", ".venv*"] ignore = ["H404", "H405", "H903", "E501", "W391", "W503", "W504"] [tool.black] -line-length = 100 \ No newline at end of file +line-length = 100 From 39a4f0dda54a2a42cc7fad4c0fbf9db162de3b9f Mon Sep 17 00:00:00 2001 From: Harikrishna-2016 Date: Tue, 13 Oct 2026 14:20:10 +0530 Subject: [PATCH 3/9] Update pyproject.toml --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 386517d..12c24e5 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -24,7 +24,7 @@ classifiers = [ "Programming Language :: Python :: 3.13", "Topic :: System :: Hardware :: Hardware Drivers", ] -dependencies = ["hightime", "six"] +dynamic = ["dependencies"] [project.urls] repository = "https://github.com/ni/nisyscfg-python" changelog = "https://github.com/ni/nisyscfg-python/blob/main/CHANGELOG.md" From f91bae2c57251c2a33fbe0ce2cbeadbf3c439292 Mon Sep 17 00:00:00 2001 From: Harikrishna-2016 Date: Tue, 13 Oct 2026 14:45:36 +0530 Subject: [PATCH 4/9] update the pyproject.toml and poetry.lock file --- poetry.lock | 14 +++++++------- pyproject.toml | 8 +++----- 2 files changed, 10 insertions(+), 12 deletions(-) diff --git a/poetry.lock b/poetry.lock index 0579265..f9d1399 100644 --- a/poetry.lock +++ b/poetry.lock @@ -1,4 +1,4 @@ -# This file is automatically @generated by Poetry 2.4.3 and should not be changed by hand. +# This file is automatically @generated by Poetry 2.5.1 and should not be changed by hand. [[package]] name = "colorama" @@ -335,14 +335,14 @@ testing = ["process-tests", "pytest-xdist", "virtualenv"] [[package]] name = "six" -version = "1.17.0" +version = "1.16.0" description = "Python 2 and 3 compatibility utilities" optional = false -python-versions = "!=3.0.*,!=3.1.*,!=3.2.*,>=2.7" +python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*" groups = ["main"] files = [ - {file = "six-1.17.0-py2.py3-none-any.whl", hash = "sha256:4721f391ed90541fddacab5acf947aa0d3dc7d27b2e1e8eda2be8970586c3274"}, - {file = "six-1.17.0.tar.gz", hash = "sha256:ff70335d468e7eb6ec65b95b99d3a2836546063f63acc5171de367e834932a81"}, + {file = "six-1.16.0-py2.py3-none-any.whl", hash = "sha256:8abb2f1d86890a2dfb989f9a77cfcfd3e47c2a354b01111771326f8aa26e0254"}, + {file = "six-1.16.0.tar.gz", hash = "sha256:1e61c37477a1626458e36f7b1d82aa5c9b094fa4802892072e49de9c60c4c926"}, ] [[package]] @@ -352,6 +352,7 @@ description = "A lil' TOML parser" optional = false python-versions = ">=3.8" groups = ["lint", "test"] +markers = "python_version < \"3.11\"" files = [ {file = "tomli-2.4.1-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:f8f0fc26ec2cc2b965b7a3b87cd19c5c6b8c5e5f436b984e85f486d652285c30"}, {file = "tomli-2.4.1-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:4ab97e64ccda8756376892c53a72bd1f964e519c77236368527f758fbc36a53a"}, @@ -401,7 +402,6 @@ files = [ {file = "tomli-2.4.1-py3-none-any.whl", hash = "sha256:0d85819802132122da43cb86656f8d1f8c6587d54ae7dcaf30e90533028b49fe"}, {file = "tomli-2.4.1.tar.gz", hash = "sha256:7c7e1a961a0b2f2472c1ac5b69affa0ae1132c39adcb67aba98568702b9cc23f"}, ] -markers = {lint = "python_version < \"3.11\"", test = "python_full_version <= \"3.11.0a6\""} [[package]] name = "typing-extensions" @@ -419,4 +419,4 @@ files = [ [metadata] lock-version = "2.1" python-versions = ">=3.9" -content-hash = "2ad70ed0f04541aafbd979f9f4ccad4679336d8aed24096cf2875e0a14af42ec" +content-hash = "eb4ba47c5967f5b6a83b76d3a461728f277e19985b8d725920e87c3e6745fe2f" diff --git a/pyproject.toml b/pyproject.toml index 12c24e5..13bcadf 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -8,6 +8,7 @@ license = "MIT" authors = [{ name = "National Instruments" }] maintainers = [{ name = "Tyler Krehbiel", email = "tyler.krehbiel@emerson.com" }] keywords = ["nisyscfg", "syscfg"] +dynamic = ["dependencies"] classifiers = [ "Development Status :: 1 - Planning", "Intended Audience :: Developers", @@ -24,7 +25,6 @@ classifiers = [ "Programming Language :: Python :: 3.13", "Topic :: System :: Hardware :: Hardware Drivers", ] -dynamic = ["dependencies"] [project.urls] repository = "https://github.com/ni/nisyscfg-python" changelog = "https://github.com/ni/nisyscfg-python/blob/main/CHANGELOG.md" @@ -38,10 +38,8 @@ requires-poetry = '>=2.1,<3.0' packages = [{ include = "nisyscfg", from = "src" }] [tool.poetry.dependencies] -hightime = { version = ">=1.0.0" } -six = "1.17.0" -#[tool.poetry.group.dev.dependencies] - +hightime = ">=0.2.2" +six = ">=1.16.0" [tool.poetry.group.test.dependencies] pytest = ">=7.2" From d4d89c099ca59564bfde9ab95b69c88da29a83e0 Mon Sep 17 00:00:00 2001 From: Harikrishna-2016 Date: Tue, 13 Oct 2026 17:10:28 +0530 Subject: [PATCH 5/9] Create poetry.toml --- poetry.toml | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 poetry.toml diff --git a/poetry.toml b/poetry.toml new file mode 100644 index 0000000..93760e5 --- /dev/null +++ b/poetry.toml @@ -0,0 +1,7 @@ +[virtualenvs] +in-project = true + +[solver] +# Set min-release-age to 2 weeks, same as in https://github.com/ni/python-renovate-config +min-release-age = 14 +min-release-age-exclude = ["hightime"] From dd597535ebda914ebf390f9f4dbd984e22c4f000 Mon Sep 17 00:00:00 2001 From: Harikrishna-2016 Date: Tue, 13 Oct 2026 17:12:28 +0530 Subject: [PATCH 6/9] Update pyproject.toml --- pyproject.toml | 4 ---- 1 file changed, 4 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 13bcadf..355896e 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -49,10 +49,6 @@ pytest-cov = ">=4.0" flake8 = ">=7.0" flake8-pyproject = ">=1.2.4" -[solver] -# Set min-release-age to 2 weeks, same as in https://github.com/ni/python-renovate-config -min-release-age = 14 -min-release-age-exclude = ["hightime"] [tool.pytest.ini_options] addopts = "--cov=nisyscfg --cov-report=term --cov-report=xml --cov-report=html -svv --strict-markers" From 48a9bedcb2722be0b5877aac44792f52b813936c Mon Sep 17 00:00:00 2001 From: Harikrishna-2016 Date: Tue, 13 Oct 2026 18:16:50 +0530 Subject: [PATCH 7/9] Update pyproject.toml --- pyproject.toml | 1 - 1 file changed, 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 355896e..4ac631c 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -49,7 +49,6 @@ pytest-cov = ">=4.0" 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"] From 6ae5986874cd939c3c4a0647d786ee0ee21d3c72 Mon Sep 17 00:00:00 2001 From: Harikrishna-2016 Date: Tue, 13 Oct 2026 18:18:23 +0530 Subject: [PATCH 8/9] Update poetry.toml --- poetry.toml | 3 --- 1 file changed, 3 deletions(-) diff --git a/poetry.toml b/poetry.toml index 93760e5..b92e202 100644 --- a/poetry.toml +++ b/poetry.toml @@ -1,6 +1,3 @@ -[virtualenvs] -in-project = true - [solver] # Set min-release-age to 2 weeks, same as in https://github.com/ni/python-renovate-config min-release-age = 14 From fc65b2490ec4662d816038af524a40924e4edb76 Mon Sep 17 00:00:00 2001 From: Harikrishna-2016 Date: Tue, 13 Oct 2026 19:16:20 +0530 Subject: [PATCH 9/9] updated the poetry files --- poetry.lock | 19 ++++++++++--------- pyproject.toml | 6 +++--- 2 files changed, 13 insertions(+), 12 deletions(-) diff --git a/poetry.lock b/poetry.lock index f9d1399..d32bb23 100644 --- a/poetry.lock +++ b/poetry.lock @@ -189,13 +189,14 @@ dev = ["Flit (>=3.4)", "pyTest (>=7)", "pyTest-cov (>=7) ; python_version >= \"3 [[package]] name = "hightime" -version = "0.2.2" +version = "1.0.0" description = "Hightime Python API" optional = false -python-versions = "*" +python-versions = "<4.0,>=3.9" groups = ["main"] files = [ - {file = "hightime-0.2.2-py3-none-any.whl", hash = "sha256:5109a449bb3a75dbf305147777de71634c91b943d47cfbee18ed2f34a8307e0b"}, + {file = "hightime-1.0.0-py3-none-any.whl", hash = "sha256:ba86d42976c36451b14e11c736e61f296f9f00dbb79c8488e18d70c6b2dbb395"}, + {file = "hightime-1.0.0.tar.gz", hash = "sha256:480d2a03e2c3ed44916d2406d40ab6d10a276ed7f101619fc3fcc1e00c46aacf"}, ] [[package]] @@ -335,14 +336,14 @@ testing = ["process-tests", "pytest-xdist", "virtualenv"] [[package]] name = "six" -version = "1.16.0" +version = "1.17.0" description = "Python 2 and 3 compatibility utilities" optional = false -python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*" +python-versions = "!=3.0.*,!=3.1.*,!=3.2.*,>=2.7" groups = ["main"] files = [ - {file = "six-1.16.0-py2.py3-none-any.whl", hash = "sha256:8abb2f1d86890a2dfb989f9a77cfcfd3e47c2a354b01111771326f8aa26e0254"}, - {file = "six-1.16.0.tar.gz", hash = "sha256:1e61c37477a1626458e36f7b1d82aa5c9b094fa4802892072e49de9c60c4c926"}, + {file = "six-1.17.0-py2.py3-none-any.whl", hash = "sha256:4721f391ed90541fddacab5acf947aa0d3dc7d27b2e1e8eda2be8970586c3274"}, + {file = "six-1.17.0.tar.gz", hash = "sha256:ff70335d468e7eb6ec65b95b99d3a2836546063f63acc5171de367e834932a81"}, ] [[package]] @@ -418,5 +419,5 @@ files = [ [metadata] lock-version = "2.1" -python-versions = ">=3.9" -content-hash = "eb4ba47c5967f5b6a83b76d3a461728f277e19985b8d725920e87c3e6745fe2f" +python-versions = ">=3.9,<4.0" +content-hash = "7c17c80c8d1e151903e807d1992a247a9a27da15904bba00983c6f2fab5e9f1c" diff --git a/pyproject.toml b/pyproject.toml index 13bcadf..b7f37ed 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -3,7 +3,7 @@ name = "nisyscfg" version = "0.2.1" description = "NI System Configuration Python API" readme = "README.md" -requires-python = ">=3.9" +requires-python = '>=3.9,<4.0' license = "MIT" authors = [{ name = "National Instruments" }] maintainers = [{ name = "Tyler Krehbiel", email = "tyler.krehbiel@emerson.com" }] @@ -38,8 +38,8 @@ requires-poetry = '>=2.1,<3.0' packages = [{ include = "nisyscfg", from = "src" }] [tool.poetry.dependencies] -hightime = ">=0.2.2" -six = ">=1.16.0" +hightime = "1.0.0" +six = "1.17.0" [tool.poetry.group.test.dependencies] pytest = ">=7.2"