Skip to content

Commit 5c22f3a

Browse files
authored
tests: Enable Python 3.14 for system tests (#854)
* tests: Run system tests on Python 3.14 and 3.14t * tests: Disable py314t-base and use python -VV
1 parent f3eb866 commit 5c22f3a

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

tox.ini

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,10 @@
55

66
[tox]
77
isolated_build = true
8-
envlist = clean, py{39,310,311,312,313}-base, py{39,310,311,312,313}-grpc, py39-base-nicaiu, py39-base-nicai_utf8, py39-base-benchmark, report, docs
8+
# grpcio does not have binary wheels for pypy or free-threading, as of version 1.75.1.
9+
# nidaqmxbot does not have pypy yet.
10+
# TODO: Get system tests running on Python 3.14t (free-threaded) - https://github.com/ni/nidaqmx-python/issues/853
11+
envlist = clean, py{39,310,311,312,313,314,314}-base, py{39,310,311,312,313,314}-grpc, py39-base-nicaiu, py39-base-nicai_utf8, py39-base-benchmark, report, docs
912

1013
[testenv]
1114
skip_install = true
@@ -21,7 +24,7 @@ platform =
2124
nicaiu: win32
2225
nicai_utf8: win32
2326
commands =
24-
poetry run python --version
27+
poetry run python -VV
2528
poetry install -v {env:INSTALL_OPTS}
2629
poetry run python -c "from nidaqmx._lib import lib_importer; print(f'Library: {lib_importer.windll._library._name}\nLibrary encoding: {lib_importer.encoding}')"
2730
!benchmark: poetry run pytest --quiet --cov=generated/nidaqmx --cov-append --cov-report= --junitxml=test_results/system-{envname}.xml {env:PYTEST_OPTS} {posargs}
@@ -39,7 +42,7 @@ commands =
3942
# base_python should match the version specified in .readthedocs.yml and the PR workflow.
4043
base_python = python3.11
4144
commands =
42-
poetry run python --version
45+
poetry run python -VV
4346
poetry install -v --only main,docs
4447
# Use -W to treat warnings as errors.
4548
poetry run sphinx-build -b html -W docs docs/_build

0 commit comments

Comments
 (0)