From f1453291a5cb433d5b9d8bb4f122c8ac191d4d8c Mon Sep 17 00:00:00 2001 From: Jay Fitzgerald <34140133+ni-jfitzger@users.noreply.github.com> Date: Mon, 22 Apr 2024 13:00:57 -0500 Subject: [PATCH] Update Driver Versions Tested Against (#2046) * Update runtime versions tested against - '23.8' aka '2023 Q4' for most drivers - '24.3' aka '2024 Q2' for NI-DCPower, NI-Digital - These also update the versions for NI-ModInst and NI-TClk * run `tox -e codegen` * Stop skipping tests, now that we have simulation support for their features in the driver * Create SwitchExecutiveExample VD before running system tests * Try moving vd creation to commands_pre * Revert "Try moving vd creation to commands_pre" This reverts commit 371a3998f7501014c87317d20975866fd1396f58. * Revert "Create SwitchExecutiveExample VD before running system tests" This reverts commit 41bc4cbbfc170457dbc9c72ef4e48eab2a116a92. * NISE runtime version rolled back due to bug that causes test failures --- README.rst | 16 ++++++++-------- docs/nidcpower/status.inc | 2 +- docs/nidigital/status.inc | 2 +- docs/nidmm/status.inc | 2 +- docs/nifgen/status.inc | 2 +- docs/nimodinst/status.inc | 2 +- docs/niscope/status.inc | 2 +- docs/niswitch/status.inc | 2 +- docs/nitclk/status.inc | 2 +- generated/nidcpower/README.rst | 2 +- generated/nidigital/README.rst | 2 +- generated/nidmm/README.rst | 2 +- generated/nifgen/README.rst | 2 +- generated/nimodinst/README.rst | 2 +- generated/niscope/README.rst | 2 +- generated/niswitch/README.rst | 2 +- generated/nitclk/README.rst | 2 +- src/nidcpower/metadata/config_addon.py | 2 +- .../system_tests/test_system_nidcpower.py | 2 -- src/nidigital/metadata/config_addon.py | 2 +- src/nidmm/metadata/config_addon.py | 2 +- src/nifgen/metadata/config_addon.py | 2 +- src/nimodinst/metadata/config_addon.py | 2 +- src/niscope/metadata/config_addon.py | 2 +- src/niswitch/metadata/config_addon.py | 2 +- src/nitclk/metadata/config_addon.py | 2 +- 26 files changed, 32 insertions(+), 34 deletions(-) diff --git a/README.rst b/README.rst index 5b44ce2fc..fb77e7217 100644 --- a/README.rst +++ b/README.rst @@ -65,7 +65,7 @@ NI-DCPower Python API Status +-------------------------------+--------------------------+ | NI-DCPower (nidcpower) | | +===============================+==========================+ -| Driver Version Tested Against | 2023 Q2 | +| Driver Version Tested Against | 2024 Q2 | +-------------------------------+--------------------------+ | PyPI Version | |nidcpowerLatestVersion| | +-------------------------------+--------------------------+ @@ -111,7 +111,7 @@ NI-Digital Pattern Driver Python API Status +---------------------------------------+--------------------------+ | NI-Digital Pattern Driver (nidigital) | | +=======================================+==========================+ -| Driver Version Tested Against | 2023 Q2 | +| Driver Version Tested Against | 2024 Q2 | +---------------------------------------+--------------------------+ | PyPI Version | |nidigitalLatestVersion| | +---------------------------------------+--------------------------+ @@ -157,7 +157,7 @@ NI-DMM Python API Status +-------------------------------+----------------------+ | NI-DMM (nidmm) | | +===============================+======================+ -| Driver Version Tested Against | 2023 Q1.1 | +| Driver Version Tested Against | 2023 Q4 | +-------------------------------+----------------------+ | PyPI Version | |nidmmLatestVersion| | +-------------------------------+----------------------+ @@ -203,7 +203,7 @@ NI-FGEN Python API Status +-------------------------------+-----------------------+ | NI-FGEN (nifgen) | | +===============================+=======================+ -| Driver Version Tested Against | 2023 Q1.1 | +| Driver Version Tested Against | 2023 Q4 | +-------------------------------+-----------------------+ | PyPI Version | |nifgenLatestVersion| | +-------------------------------+-----------------------+ @@ -249,7 +249,7 @@ NI-ModInst Python API Status +-------------------------------+--------------------------+ | NI-ModInst (nimodinst) | | +===============================+==========================+ -| Driver Version Tested Against | 2023 Q2 | +| Driver Version Tested Against | 2024 Q2 | +-------------------------------+--------------------------+ | PyPI Version | |nimodinstLatestVersion| | +-------------------------------+--------------------------+ @@ -295,7 +295,7 @@ NI-SCOPE Python API Status +-------------------------------+------------------------+ | NI-SCOPE (niscope) | | +===============================+========================+ -| Driver Version Tested Against | 2023 Q1.1 | +| Driver Version Tested Against | 2023 Q4 | +-------------------------------+------------------------+ | PyPI Version | |niscopeLatestVersion| | +-------------------------------+------------------------+ @@ -387,7 +387,7 @@ NI-SWITCH Python API Status +-------------------------------+-------------------------+ | NI-SWITCH (niswitch) | | +===============================+=========================+ -| Driver Version Tested Against | 2023 Q1 | +| Driver Version Tested Against | 2023 Q4 | +-------------------------------+-------------------------+ | PyPI Version | |niswitchLatestVersion| | +-------------------------------+-------------------------+ @@ -433,7 +433,7 @@ NI-TClk Python API Status +-------------------------------+-----------------------+ | NI-TClk (nitclk) | | +===============================+=======================+ -| Driver Version Tested Against | 2023 Q2 | +| Driver Version Tested Against | 2024 Q2 | +-------------------------------+-----------------------+ | PyPI Version | |nitclkLatestVersion| | +-------------------------------+-----------------------+ diff --git a/docs/nidcpower/status.inc b/docs/nidcpower/status.inc index dd6736b7f..46f033102 100644 --- a/docs/nidcpower/status.inc +++ b/docs/nidcpower/status.inc @@ -5,7 +5,7 @@ NI-DCPower Python API Status +-------------------------------+--------------------------+ | NI-DCPower (nidcpower) | | +===============================+==========================+ -| Driver Version Tested Against | 2023 Q2 | +| Driver Version Tested Against | 2024 Q2 | +-------------------------------+--------------------------+ | PyPI Version | |nidcpowerLatestVersion| | +-------------------------------+--------------------------+ diff --git a/docs/nidigital/status.inc b/docs/nidigital/status.inc index 6580ac710..e73d5a9df 100644 --- a/docs/nidigital/status.inc +++ b/docs/nidigital/status.inc @@ -5,7 +5,7 @@ NI-Digital Pattern Driver Python API Status +---------------------------------------+--------------------------+ | NI-Digital Pattern Driver (nidigital) | | +=======================================+==========================+ -| Driver Version Tested Against | 2023 Q2 | +| Driver Version Tested Against | 2024 Q2 | +---------------------------------------+--------------------------+ | PyPI Version | |nidigitalLatestVersion| | +---------------------------------------+--------------------------+ diff --git a/docs/nidmm/status.inc b/docs/nidmm/status.inc index 9a999423c..cebcff6d0 100644 --- a/docs/nidmm/status.inc +++ b/docs/nidmm/status.inc @@ -5,7 +5,7 @@ NI-DMM Python API Status +-------------------------------+----------------------+ | NI-DMM (nidmm) | | +===============================+======================+ -| Driver Version Tested Against | 2023 Q1.1 | +| Driver Version Tested Against | 2023 Q4 | +-------------------------------+----------------------+ | PyPI Version | |nidmmLatestVersion| | +-------------------------------+----------------------+ diff --git a/docs/nifgen/status.inc b/docs/nifgen/status.inc index 69587e886..b98f3350b 100644 --- a/docs/nifgen/status.inc +++ b/docs/nifgen/status.inc @@ -5,7 +5,7 @@ NI-FGEN Python API Status +-------------------------------+-----------------------+ | NI-FGEN (nifgen) | | +===============================+=======================+ -| Driver Version Tested Against | 2023 Q1.1 | +| Driver Version Tested Against | 2023 Q4 | +-------------------------------+-----------------------+ | PyPI Version | |nifgenLatestVersion| | +-------------------------------+-----------------------+ diff --git a/docs/nimodinst/status.inc b/docs/nimodinst/status.inc index 42dcd3a55..3d08fcbf9 100644 --- a/docs/nimodinst/status.inc +++ b/docs/nimodinst/status.inc @@ -5,7 +5,7 @@ NI-ModInst Python API Status +-------------------------------+--------------------------+ | NI-ModInst (nimodinst) | | +===============================+==========================+ -| Driver Version Tested Against | 2023 Q2 | +| Driver Version Tested Against | 2024 Q2 | +-------------------------------+--------------------------+ | PyPI Version | |nimodinstLatestVersion| | +-------------------------------+--------------------------+ diff --git a/docs/niscope/status.inc b/docs/niscope/status.inc index eec49dc37..1fcad90d0 100644 --- a/docs/niscope/status.inc +++ b/docs/niscope/status.inc @@ -5,7 +5,7 @@ NI-SCOPE Python API Status +-------------------------------+------------------------+ | NI-SCOPE (niscope) | | +===============================+========================+ -| Driver Version Tested Against | 2023 Q1.1 | +| Driver Version Tested Against | 2023 Q4 | +-------------------------------+------------------------+ | PyPI Version | |niscopeLatestVersion| | +-------------------------------+------------------------+ diff --git a/docs/niswitch/status.inc b/docs/niswitch/status.inc index 809400606..806e525f5 100644 --- a/docs/niswitch/status.inc +++ b/docs/niswitch/status.inc @@ -5,7 +5,7 @@ NI-SWITCH Python API Status +-------------------------------+-------------------------+ | NI-SWITCH (niswitch) | | +===============================+=========================+ -| Driver Version Tested Against | 2023 Q1 | +| Driver Version Tested Against | 2023 Q4 | +-------------------------------+-------------------------+ | PyPI Version | |niswitchLatestVersion| | +-------------------------------+-------------------------+ diff --git a/docs/nitclk/status.inc b/docs/nitclk/status.inc index b2c93f8a9..933e08e31 100644 --- a/docs/nitclk/status.inc +++ b/docs/nitclk/status.inc @@ -5,7 +5,7 @@ NI-TClk Python API Status +-------------------------------+-----------------------+ | NI-TClk (nitclk) | | +===============================+=======================+ -| Driver Version Tested Against | 2023 Q2 | +| Driver Version Tested Against | 2024 Q2 | +-------------------------------+-----------------------+ | PyPI Version | |nitclkLatestVersion| | +-------------------------------+-----------------------+ diff --git a/generated/nidcpower/README.rst b/generated/nidcpower/README.rst index 7b89ca962..daa812bd5 100644 --- a/generated/nidcpower/README.rst +++ b/generated/nidcpower/README.rst @@ -53,7 +53,7 @@ NI-DCPower Python API Status +-------------------------------+--------------------------+ | NI-DCPower (nidcpower) | | +===============================+==========================+ -| Driver Version Tested Against | 2023 Q2 | +| Driver Version Tested Against | 2024 Q2 | +-------------------------------+--------------------------+ | PyPI Version | |nidcpowerLatestVersion| | +-------------------------------+--------------------------+ diff --git a/generated/nidigital/README.rst b/generated/nidigital/README.rst index 5be1034cb..b632c8a4e 100644 --- a/generated/nidigital/README.rst +++ b/generated/nidigital/README.rst @@ -53,7 +53,7 @@ NI-Digital Pattern Driver Python API Status +---------------------------------------+--------------------------+ | NI-Digital Pattern Driver (nidigital) | | +=======================================+==========================+ -| Driver Version Tested Against | 2023 Q2 | +| Driver Version Tested Against | 2024 Q2 | +---------------------------------------+--------------------------+ | PyPI Version | |nidigitalLatestVersion| | +---------------------------------------+--------------------------+ diff --git a/generated/nidmm/README.rst b/generated/nidmm/README.rst index 9b32b301b..b18e9f9da 100644 --- a/generated/nidmm/README.rst +++ b/generated/nidmm/README.rst @@ -53,7 +53,7 @@ NI-DMM Python API Status +-------------------------------+----------------------+ | NI-DMM (nidmm) | | +===============================+======================+ -| Driver Version Tested Against | 2023 Q1.1 | +| Driver Version Tested Against | 2023 Q4 | +-------------------------------+----------------------+ | PyPI Version | |nidmmLatestVersion| | +-------------------------------+----------------------+ diff --git a/generated/nifgen/README.rst b/generated/nifgen/README.rst index ada14862d..a88f911b2 100644 --- a/generated/nifgen/README.rst +++ b/generated/nifgen/README.rst @@ -53,7 +53,7 @@ NI-FGEN Python API Status +-------------------------------+-----------------------+ | NI-FGEN (nifgen) | | +===============================+=======================+ -| Driver Version Tested Against | 2023 Q1.1 | +| Driver Version Tested Against | 2023 Q4 | +-------------------------------+-----------------------+ | PyPI Version | |nifgenLatestVersion| | +-------------------------------+-----------------------+ diff --git a/generated/nimodinst/README.rst b/generated/nimodinst/README.rst index a0dd242d6..908a248df 100644 --- a/generated/nimodinst/README.rst +++ b/generated/nimodinst/README.rst @@ -53,7 +53,7 @@ NI-ModInst Python API Status +-------------------------------+--------------------------+ | NI-ModInst (nimodinst) | | +===============================+==========================+ -| Driver Version Tested Against | 2023 Q2 | +| Driver Version Tested Against | 2024 Q2 | +-------------------------------+--------------------------+ | PyPI Version | |nimodinstLatestVersion| | +-------------------------------+--------------------------+ diff --git a/generated/niscope/README.rst b/generated/niscope/README.rst index f4b0f0772..d221b3d74 100644 --- a/generated/niscope/README.rst +++ b/generated/niscope/README.rst @@ -53,7 +53,7 @@ NI-SCOPE Python API Status +-------------------------------+------------------------+ | NI-SCOPE (niscope) | | +===============================+========================+ -| Driver Version Tested Against | 2023 Q1.1 | +| Driver Version Tested Against | 2023 Q4 | +-------------------------------+------------------------+ | PyPI Version | |niscopeLatestVersion| | +-------------------------------+------------------------+ diff --git a/generated/niswitch/README.rst b/generated/niswitch/README.rst index 5fa053b78..e0832295a 100644 --- a/generated/niswitch/README.rst +++ b/generated/niswitch/README.rst @@ -53,7 +53,7 @@ NI-SWITCH Python API Status +-------------------------------+-------------------------+ | NI-SWITCH (niswitch) | | +===============================+=========================+ -| Driver Version Tested Against | 2023 Q1 | +| Driver Version Tested Against | 2023 Q4 | +-------------------------------+-------------------------+ | PyPI Version | |niswitchLatestVersion| | +-------------------------------+-------------------------+ diff --git a/generated/nitclk/README.rst b/generated/nitclk/README.rst index 06c3e63d5..2eb1e6b21 100644 --- a/generated/nitclk/README.rst +++ b/generated/nitclk/README.rst @@ -53,7 +53,7 @@ NI-TClk Python API Status +-------------------------------+-----------------------+ | NI-TClk (nitclk) | | +===============================+=======================+ -| Driver Version Tested Against | 2023 Q2 | +| Driver Version Tested Against | 2024 Q2 | +-------------------------------+-----------------------+ | PyPI Version | |nitclkLatestVersion| | +-------------------------------+-----------------------+ diff --git a/src/nidcpower/metadata/config_addon.py b/src/nidcpower/metadata/config_addon.py index 12c5abae4..2c76e4347 100644 --- a/src/nidcpower/metadata/config_addon.py +++ b/src/nidcpower/metadata/config_addon.py @@ -1,6 +1,6 @@ # We need to maintain the version here since it needs to be updated by the build process on GitHub config_additional_config = { 'module_version': '1.4.8.dev0', - 'latest_runtime_version_tested_against': '2023 Q2', + 'latest_runtime_version_tested_against': '2024 Q2', 'initial_release_year': '2017', } diff --git a/src/nidcpower/system_tests/test_system_nidcpower.py b/src/nidcpower/system_tests/test_system_nidcpower.py index c4670573e..4b169f8ed 100644 --- a/src/nidcpower/system_tests/test_system_nidcpower.py +++ b/src/nidcpower/system_tests/test_system_nidcpower.py @@ -1027,7 +1027,6 @@ def test_perform_lcr_load_compensation(self, session): def test_perform_lcr_open_short_custom_cable_compensation(self, session, compensation_function): compensation_function(session) - @pytest.mark.skip(reason="TODO(jfitzger): Skip until we have a way to successfully call configure_lcr_custom_cable_compensation() with a simulated device. GitHub issue #1908") @pytest.mark.resource_name("4190/0") @pytest.mark.options("Simulate=1, DriverSetup=Model:4190; BoardType:PXIe") def test_lcr_custom_cable_compensation_data(self, session): @@ -1078,7 +1077,6 @@ class TestLibrary(SystemTests): def session_creation_kwargs(self): return {} - @pytest.mark.skip(reason="TODO(jfitzger): Skip until we have a way to successfully call configure_lcr_compensation() with a simulated device. GitHub issue #1908") @pytest.mark.resource_name("4190/0") @pytest.mark.options("Simulate=1, DriverSetup=Model:4190; BoardType:PXIe") def test_lcr_compensation_data(self, session): diff --git a/src/nidigital/metadata/config_addon.py b/src/nidigital/metadata/config_addon.py index 82192e06d..df97b1cbb 100644 --- a/src/nidigital/metadata/config_addon.py +++ b/src/nidigital/metadata/config_addon.py @@ -1,7 +1,7 @@ # We need to maintain the version here since it needs to be updated by the build process on GitHub config_additional_config = { 'module_version': '1.4.8.dev0', - 'latest_runtime_version_tested_against': '2023 Q2', + 'latest_runtime_version_tested_against': '2024 Q2', 'initial_release_year': '2019', 'custom_types': [ { diff --git a/src/nidmm/metadata/config_addon.py b/src/nidmm/metadata/config_addon.py index 5a788fd56..4650560d3 100644 --- a/src/nidmm/metadata/config_addon.py +++ b/src/nidmm/metadata/config_addon.py @@ -1,6 +1,6 @@ # We need to maintain the version here since it needs to be updated by the build process on GitHub config_additional_config = { 'module_version': '1.4.8.dev0', - 'latest_runtime_version_tested_against': '2023 Q1.1', + 'latest_runtime_version_tested_against': '2023 Q4', 'initial_release_year': '2017', } diff --git a/src/nifgen/metadata/config_addon.py b/src/nifgen/metadata/config_addon.py index 5a788fd56..4650560d3 100644 --- a/src/nifgen/metadata/config_addon.py +++ b/src/nifgen/metadata/config_addon.py @@ -1,6 +1,6 @@ # We need to maintain the version here since it needs to be updated by the build process on GitHub config_additional_config = { 'module_version': '1.4.8.dev0', - 'latest_runtime_version_tested_against': '2023 Q1.1', + 'latest_runtime_version_tested_against': '2023 Q4', 'initial_release_year': '2017', } diff --git a/src/nimodinst/metadata/config_addon.py b/src/nimodinst/metadata/config_addon.py index 12c5abae4..2c76e4347 100644 --- a/src/nimodinst/metadata/config_addon.py +++ b/src/nimodinst/metadata/config_addon.py @@ -1,6 +1,6 @@ # We need to maintain the version here since it needs to be updated by the build process on GitHub config_additional_config = { 'module_version': '1.4.8.dev0', - 'latest_runtime_version_tested_against': '2023 Q2', + 'latest_runtime_version_tested_against': '2024 Q2', 'initial_release_year': '2017', } diff --git a/src/niscope/metadata/config_addon.py b/src/niscope/metadata/config_addon.py index 9bc8c68c6..156ea2933 100644 --- a/src/niscope/metadata/config_addon.py +++ b/src/niscope/metadata/config_addon.py @@ -1,7 +1,7 @@ # We need to maintain the version here since it needs to be updated by the build process on GitHub config_additional_config = { 'module_version': '1.4.8.dev0', - 'latest_runtime_version_tested_against': '2023 Q1.1', + 'latest_runtime_version_tested_against': '2023 Q4', 'initial_release_year': '2017', 'custom_types': [ # Redundant, since waveform_info is also in the base config.py file. See issue 1495 (https://github.com/ni/nimi-python/issues/1495) diff --git a/src/niswitch/metadata/config_addon.py b/src/niswitch/metadata/config_addon.py index d2dbebd2c..4650560d3 100644 --- a/src/niswitch/metadata/config_addon.py +++ b/src/niswitch/metadata/config_addon.py @@ -1,6 +1,6 @@ # We need to maintain the version here since it needs to be updated by the build process on GitHub config_additional_config = { 'module_version': '1.4.8.dev0', - 'latest_runtime_version_tested_against': '2023 Q1', + 'latest_runtime_version_tested_against': '2023 Q4', 'initial_release_year': '2017', } diff --git a/src/nitclk/metadata/config_addon.py b/src/nitclk/metadata/config_addon.py index a22d5eff9..adfc4d638 100644 --- a/src/nitclk/metadata/config_addon.py +++ b/src/nitclk/metadata/config_addon.py @@ -1,6 +1,6 @@ # We need to maintain the version here since it needs to be updated by the build process on GitHub config_additional_config = { 'module_version': '1.4.8.dev0', - 'latest_runtime_version_tested_against': '2023 Q2', + 'latest_runtime_version_tested_against': '2024 Q2', 'initial_release_year': '2019', }