Skip to content

nidaqmx: Remove support for Python 3.9 and 3.10 - #1046

Merged
bkeryan merged 5 commits into
masterfrom
users/bkeryan/drop-python-3.10
Nov 4, 2026
Merged

bkeryan merged 5 commits into
masterfrom
users/bkeryan/drop-python-3.10

Conversation

@bkeryan

@bkeryan bkeryan commented Nov 3, 2026

Copy link
Copy Markdown
Collaborator
  • This contribution adheres to CONTRIBUTING.md.
  • I've updated CHANGELOG.md if applicable.
  • I've added tests applicable for this pull request

What does this Pull Request accomplish?

Remove support for Python 3.9 and 3.10.

Also update PyPI classifiers to specify Linux support, not POSIX in general.

Why should this Pull Request be merged?

Python 3.9 and 3.10 are both EOL.

Continuing to test these versions requires installing outdated dev/test/documentation dependencies, some of which have CVEs. Dropping Python 3.9 and 3.10 allows upgrading these dependencies.

What testing has been done?

PR build

@bkeryan
bkeryan requested a review from zhindes as a code owner November 3, 2026 18:17
@bkeryan

bkeryan commented Nov 3, 2026 •

Copy link
Copy Markdown
Collaborator Author

Next steps, for separate PRs:

  • Upgrade ni/python-actions to v0.10.0 (which upgrades default Python to 3.13 and default Poetry to 2.4).
  • Add Python 3.15 to nidaqmxbot
  • Add Python 3.15
  • pyupgrade --py311-plus
  • Update protobuf to >=5 and grpcio-tools to >=1.67.0
  • Get Renovate to update actions, packages, lock file maintenance

@bkeryan

bkeryan commented Nov 3, 2026

Copy link
Copy Markdown
Collaborator Author

FYI, I am removing these from the repo's required checks

Run CI / Build / Build (ubuntu-latest, 3.9)
Run CI / Build / Build (ubuntu-latest, 3.9)Expected — Waiting for status to be reported
Required
Run CI / Build / Build (windows-latest, 3.9)
Run CI / Build / Build (windows-latest, 3.9)Expected — Waiting for status to be reported
Required
Run CI / Run unit tests / Run unit tests (ubuntu-latest, 3.10)
Run CI / Run unit tests / Run unit tests (ubuntu-latest, 3.10)Expected — Waiting for status to be reported
Required
Run CI / Run unit tests / Run unit tests (windows-latest, 3.10)
Run CI / Run unit tests / Run unit tests (windows-latest, 3.10)Expected — Waiting for status to be reported
Required

@bkeryan

bkeryan commented Nov 3, 2026

Copy link
Copy Markdown
Collaborator Author

@hongloonwong @zhindes Are the internal test pipelines running on Python 3.11 or later?

@github-actions

github-actions Bot commented Nov 3, 2026

Copy link
Copy Markdown
Contributor

Test Results

    34 files   -     12      34 suites   - 12   57m 17s ⏱️ - 24m 6s
 3 194 tests  -      1   2 577 ✅  -      1    617 💤 ±    0  0 ❌ ±0 
43 454 runs   - 18 448  34 690 ✅  - 14 744  8 764 💤  - 3 704  0 ❌ ±0 

Results for commit 070ac70. ± Comparison against base commit f22e0ba.

This pull request removes 1 test.
tests.component.test_interpreter ‑ test___error_code_with_hardcoded_error_message___get_error_string___returns_hardcoded_error_message[grpc_init_kwargs-DAQmxErrors.SAMPLES_NOT_YET_AVAILABLE]

@bkeryan
bkeryan requested a review from hongloonwong November 4, 2026 01:05
@bkeryan
bkeryan merged commit c83228c into master Nov 4, 2026
30 checks passed
@bkeryan
bkeryan deleted the users/bkeryan/drop-python-3.10 branch November 4, 2026 16:12
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