From e8e9ef2d31ab22406aee4d2dcd0fca4dc916ba19 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Wed, 4 Nov 2026 18:22:45 +0000 Subject: [PATCH 1/6] Update GitHub Actions --- .github/workflows/build.yml | 6 +++--- .github/workflows/generate_docs.yml | 4 ++-- .github/workflows/publish.yml | 14 +++++++------- .github/workflows/run_system_tests.yml | 4 ++-- .github/workflows/run_unit_tests.yml | 8 ++++---- .github/workflows/sync_github_issues_to_azdo.yml | 2 +- 6 files changed, 19 insertions(+), 19 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index e3a4fcf3..be1a1dd1 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -24,14 +24,14 @@ jobs: submodules: true persist-credentials: false - name: Set up Python - uses: ni/python-actions/setup-python@dee640bba235ae28fdc6b7337c643bd06358ae90 # v0.9.0 + uses: ni/python-actions/setup-python@36d77b6a215e106c33e30638943d5bc5233bef2f # v0.10 id: setup-python with: python-version: ${{ matrix.python-version }} - name: Set up Poetry - uses: ni/python-actions/setup-poetry@dee640bba235ae28fdc6b7337c643bd06358ae90 # v0.9.0 + uses: ni/python-actions/setup-poetry@36d77b6a215e106c33e30638943d5bc5233bef2f # v0.10 - name: Run linters and type checkers - uses: ni/python-actions/analyze-project@dee640bba235ae28fdc6b7337c643bd06358ae90 # v0.9.0 + uses: ni/python-actions/analyze-project@36d77b6a215e106c33e30638943d5bc5233bef2f # v0.10 with: install-args: "--all-extras --with examples" - name: Run Bandit security checks diff --git a/.github/workflows/generate_docs.yml b/.github/workflows/generate_docs.yml index c92f8e32..4505eec1 100644 --- a/.github/workflows/generate_docs.yml +++ b/.github/workflows/generate_docs.yml @@ -17,10 +17,10 @@ jobs: with: persist-credentials: false - name: Set up Python - uses: ni/python-actions/setup-python@dee640bba235ae28fdc6b7337c643bd06358ae90 # v0.9.0 + uses: ni/python-actions/setup-python@36d77b6a215e106c33e30638943d5bc5233bef2f # v0.10 id: setup-python - name: Set up Poetry - uses: ni/python-actions/setup-poetry@dee640bba235ae28fdc6b7337c643bd06358ae90 # v0.9.0 + uses: ni/python-actions/setup-poetry@36d77b6a215e106c33e30638943d5bc5233bef2f # v0.10 - name: Cache virtualenvs uses: actions/cache@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6.1.0 with: diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 50e85c9c..f6fcbc52 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -49,14 +49,14 @@ jobs: with: persist-credentials: false - name: Set up Python - uses: ni/python-actions/setup-python@dee640bba235ae28fdc6b7337c643bd06358ae90 # v0.9.0 + uses: ni/python-actions/setup-python@36d77b6a215e106c33e30638943d5bc5233bef2f # v0.10 - name: Set up Poetry - uses: ni/python-actions/setup-poetry@dee640bba235ae28fdc6b7337c643bd06358ae90 # v0.9.0 + uses: ni/python-actions/setup-poetry@36d77b6a215e106c33e30638943d5bc5233bef2f # v0.10 with: use-cache: false - name: Check project version if: github.event_name == 'release' - uses: ni/python-actions/check-project-version@dee640bba235ae28fdc6b7337c643bd06358ae90 # v0.9.0 + uses: ni/python-actions/check-project-version@36d77b6a215e106c33e30638943d5bc5233bef2f # v0.10 - name: Build distribution packages run: poetry build - name: Upload build artifacts @@ -83,7 +83,7 @@ jobs: path: dist/ - run: ls -lR - name: Upload to ${{ env.environment }} - uses: pypa/gh-action-pypi-publish@dc37677b2e1c63e2034f94d8a5b11f265b73ba33 # v1.14.2 + uses: pypa/gh-action-pypi-publish@7245906fb61fa33a13554f9d5fb856fe61758086 # v1.14.3 with: repository-url: ${{ fromJson(env.environment-info)[env.environment].upload-url }} update_version: @@ -99,10 +99,10 @@ jobs: with: persist-credentials: false - name: Set up Python - uses: ni/python-actions/setup-python@dee640bba235ae28fdc6b7337c643bd06358ae90 # v0.9.0 + uses: ni/python-actions/setup-python@36d77b6a215e106c33e30638943d5bc5233bef2f # v0.10 - name: Set up Poetry - uses: ni/python-actions/setup-poetry@dee640bba235ae28fdc6b7337c643bd06358ae90 # v0.9.0 + uses: ni/python-actions/setup-poetry@36d77b6a215e106c33e30638943d5bc5233bef2f # v0.10 with: use-cache: false - name: Update project version - uses: ni/python-actions/update-project-version@dee640bba235ae28fdc6b7337c643bd06358ae90 # v0.9.0 + uses: ni/python-actions/update-project-version@36d77b6a215e106c33e30638943d5bc5233bef2f # v0.10 diff --git a/.github/workflows/run_system_tests.yml b/.github/workflows/run_system_tests.yml index 83bde8d0..84c31069 100644 --- a/.github/workflows/run_system_tests.yml +++ b/.github/workflows/run_system_tests.yml @@ -29,9 +29,9 @@ jobs: - name: Import DAQmx config run: C:\nidaqmxconfig\targets\win64U\x64\msvc2022\release\nidaqmxconfig.exe --eraseconfig --import tests\max_config\nidaqmxMaxConfig.ini - name: Set up Python - uses: ni/python-actions/setup-python@dee640bba235ae28fdc6b7337c643bd06358ae90 # v0.9.0 + uses: ni/python-actions/setup-python@36d77b6a215e106c33e30638943d5bc5233bef2f # v0.10 - name: Set up Poetry - uses: ni/python-actions/setup-poetry@dee640bba235ae28fdc6b7337c643bd06358ae90 # v0.9.0 + uses: ni/python-actions/setup-poetry@36d77b6a215e106c33e30638943d5bc5233bef2f # v0.10 - name: Cache virtualenvs uses: actions/cache@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6.1.0 with: diff --git a/.github/workflows/run_unit_tests.yml b/.github/workflows/run_unit_tests.yml index a8543d70..edf54aaa 100644 --- a/.github/workflows/run_unit_tests.yml +++ b/.github/workflows/run_unit_tests.yml @@ -31,12 +31,12 @@ jobs: with: persist-credentials: false - name: Set up Python ${{ matrix.python-version }} - uses: ni/python-actions/setup-python@dee640bba235ae28fdc6b7337c643bd06358ae90 # v0.9.0 + uses: ni/python-actions/setup-python@36d77b6a215e106c33e30638943d5bc5233bef2f # v0.10 id: setup-python with: python-version: ${{ matrix.python-version }} - name: Set up Poetry - uses: ni/python-actions/setup-poetry@dee640bba235ae28fdc6b7337c643bd06358ae90 # v0.9.0 + uses: ni/python-actions/setup-poetry@36d77b6a215e106c33e30638943d5bc5233bef2f # v0.10 - name: Cache virtualenv (with test dependencies) uses: actions/cache@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6.1.0 with: @@ -66,12 +66,12 @@ jobs: with: persist-credentials: false - name: Set up Python ${{ matrix.python-version }} - uses: ni/python-actions/setup-python@dee640bba235ae28fdc6b7337c643bd06358ae90 # v0.9.0 + uses: ni/python-actions/setup-python@36d77b6a215e106c33e30638943d5bc5233bef2f # v0.10 id: setup-python with: python-version: ${{ matrix.python-version }} - name: Set up Poetry - uses: ni/python-actions/setup-poetry@dee640bba235ae28fdc6b7337c643bd06358ae90 # v0.9.0 + uses: ni/python-actions/setup-poetry@36d77b6a215e106c33e30638943d5bc5233bef2f # v0.10 - name: Cache virtualenv (main only) uses: actions/cache@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6.1.0 id: cache-nidaqmx-main-only diff --git a/.github/workflows/sync_github_issues_to_azdo.yml b/.github/workflows/sync_github_issues_to_azdo.yml index a919049c..88cbb411 100644 --- a/.github/workflows/sync_github_issues_to_azdo.yml +++ b/.github/workflows/sync_github_issues_to_azdo.yml @@ -15,7 +15,7 @@ jobs: if: ${{ !github.event.issue.pull_request && github.event.issue.title != 'Dependency Dashboard' }} runs-on: ubuntu-latest steps: - - uses: danhellem/github-actions-issue-to-work-item@45eb3b46e684f2acd2954f02ef70350c835ee4bb # v2.4 + - uses: danhellem/github-actions-issue-to-work-item@8d0ead9b49a65aa66dac6949b1ff149d7ef8b4de # v2.5 env: ado_token: "${{ secrets.AZDO_WORK_ITEM_TOKEN }}" github_token: "${{ secrets.GH_REPO_TOKEN }}" From 714836c4c66b517eeda78107293143ea375129e0 Mon Sep 17 00:00:00 2001 From: Brad Keryan Date: Wed, 4 Nov 2026 12:28:25 -0600 Subject: [PATCH 2/6] github: Disable PyPy testing for now Signed-off-by: Brad Keryan --- .github/workflows/run_unit_tests.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/run_unit_tests.yml b/.github/workflows/run_unit_tests.yml index edf54aaa..949797c1 100644 --- a/.github/workflows/run_unit_tests.yml +++ b/.github/workflows/run_unit_tests.yml @@ -14,7 +14,8 @@ jobs: strategy: matrix: os: [ubuntu-latest, windows-latest] - python-version: [3.11, 3.12, 3.13, 3.14, 3.14t, pypy3.11] + # PyPy testing is disabled to work around https://github.com/ni/nidaqmx-python/issues/1048 - PyPy tests fail after Poetry 2.4.x upgrade + python-version: [3.11, 3.12, 3.13, 3.14, 3.14t] # Fail-fast skews the pass/fail ratio and seems to make pytest produce # incomplete JUnit XML results. fail-fast: false From 5ad79a8ead137c54a512b53086167f480d00deeb Mon Sep 17 00:00:00 2001 From: Brad Keryan Date: Wed, 4 Nov 2026 12:29:38 -0600 Subject: [PATCH 3/6] github: Specify Python version for generate_docs.yml Signed-off-by: Brad Keryan --- .github/workflows/generate_docs.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/generate_docs.yml b/.github/workflows/generate_docs.yml index 4505eec1..71f58c25 100644 --- a/.github/workflows/generate_docs.yml +++ b/.github/workflows/generate_docs.yml @@ -18,6 +18,8 @@ jobs: persist-credentials: false - name: Set up Python uses: ni/python-actions/setup-python@36d77b6a215e106c33e30638943d5bc5233bef2f # v0.10 + with: + python-version: 3.11 id: setup-python - name: Set up Poetry uses: ni/python-actions/setup-poetry@36d77b6a215e106c33e30638943d5bc5233bef2f # v0.10 From 1792547cedc2ca604ded828880da668c45a2289a Mon Sep 17 00:00:00 2001 From: Brad Keryan Date: Wed, 4 Nov 2026 12:29:56 -0600 Subject: [PATCH 4/6] docs: Use Poetry 2.4.3 on ReadTheDocs Signed-off-by: Brad Keryan --- .readthedocs.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.readthedocs.yml b/.readthedocs.yml index a3a9bcf3..600421d7 100644 --- a/.readthedocs.yml +++ b/.readthedocs.yml @@ -8,7 +8,7 @@ build: python: "3.11" jobs: post_create_environment: - - pip install poetry==2.1.4 + - pip install poetry==2.4.3 post_install: - VIRTUAL_ENV=$READTHEDOCS_VIRTUALENV_PATH poetry install --only main,docs From d9193cfc9493e47dafe4d38043c2c0f4f33d1e1a Mon Sep 17 00:00:00 2001 From: Brad Keryan Date: Wed, 4 Nov 2026 12:46:11 -0600 Subject: [PATCH 5/6] github: Disable more PyPy testing Signed-off-by: Brad Keryan --- .github/workflows/run_unit_tests.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/run_unit_tests.yml b/.github/workflows/run_unit_tests.yml index 949797c1..99a40ff7 100644 --- a/.github/workflows/run_unit_tests.yml +++ b/.github/workflows/run_unit_tests.yml @@ -60,7 +60,8 @@ jobs: strategy: matrix: os: [ubuntu-latest, windows-latest] - python-version: [3.11, 3.14, pypy3.11] + # PyPy testing is disabled to work around https://github.com/ni/nidaqmx-python/issues/1048 - PyPy tests fail after Poetry 2.4.x upgrade + python-version: [3.11, 3.14] steps: - name: Check out repo uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 From 72c42a7f8c0248f2fe83a2510c25846ca5fcafbf Mon Sep 17 00:00:00 2001 From: Brad Keryan Date: Wed, 4 Nov 2026 13:13:44 -0600 Subject: [PATCH 6/6] github: Use Python 3.11 to run Tox Signed-off-by: Brad Keryan --- .github/workflows/run_system_tests.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/run_system_tests.yml b/.github/workflows/run_system_tests.yml index 84c31069..25f84afb 100644 --- a/.github/workflows/run_system_tests.yml +++ b/.github/workflows/run_system_tests.yml @@ -30,6 +30,8 @@ jobs: run: C:\nidaqmxconfig\targets\win64U\x64\msvc2022\release\nidaqmxconfig.exe --eraseconfig --import tests\max_config\nidaqmxMaxConfig.ini - name: Set up Python uses: ni/python-actions/setup-python@36d77b6a215e106c33e30638943d5bc5233bef2f # v0.10 + with: + python-version: 3.11 - name: Set up Poetry uses: ni/python-actions/setup-poetry@36d77b6a215e106c33e30638943d5bc5233bef2f # v0.10 - name: Cache virtualenvs