Skip to content

Commit

Permalink
Update Driver Versions Tested Against (#2046)
Browse files Browse the repository at this point in the history
* 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 371a399.

* Revert "Create SwitchExecutiveExample VD before running system tests"

This reverts commit 41bc4cb.

* NISE runtime version rolled back due to bug that causes test failures
  • Loading branch information
ni-jfitzger authored Apr 22, 2024
1 parent b399fea commit f145329
Show file tree
Hide file tree
Showing 26 changed files with 32 additions and 34 deletions.
16 changes: 8 additions & 8 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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| |
+-------------------------------+--------------------------+
Expand Down Expand Up @@ -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| |
+---------------------------------------+--------------------------+
Expand Down Expand Up @@ -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| |
+-------------------------------+----------------------+
Expand Down Expand Up @@ -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| |
+-------------------------------+-----------------------+
Expand Down Expand Up @@ -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| |
+-------------------------------+--------------------------+
Expand Down Expand Up @@ -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| |
+-------------------------------+------------------------+
Expand Down Expand Up @@ -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| |
+-------------------------------+-------------------------+
Expand Down Expand Up @@ -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| |
+-------------------------------+-----------------------+
Expand Down
2 changes: 1 addition & 1 deletion docs/nidcpower/status.inc
Original file line number Diff line number Diff line change
Expand Up @@ -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| |
+-------------------------------+--------------------------+
Expand Down
2 changes: 1 addition & 1 deletion docs/nidigital/status.inc
Original file line number Diff line number Diff line change
Expand Up @@ -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| |
+---------------------------------------+--------------------------+
Expand Down
2 changes: 1 addition & 1 deletion docs/nidmm/status.inc
Original file line number Diff line number Diff line change
Expand Up @@ -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| |
+-------------------------------+----------------------+
Expand Down
2 changes: 1 addition & 1 deletion docs/nifgen/status.inc
Original file line number Diff line number Diff line change
Expand Up @@ -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| |
+-------------------------------+-----------------------+
Expand Down
2 changes: 1 addition & 1 deletion docs/nimodinst/status.inc
Original file line number Diff line number Diff line change
Expand Up @@ -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| |
+-------------------------------+--------------------------+
Expand Down
2 changes: 1 addition & 1 deletion docs/niscope/status.inc
Original file line number Diff line number Diff line change
Expand Up @@ -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| |
+-------------------------------+------------------------+
Expand Down
2 changes: 1 addition & 1 deletion docs/niswitch/status.inc
Original file line number Diff line number Diff line change
Expand Up @@ -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| |
+-------------------------------+-------------------------+
Expand Down
2 changes: 1 addition & 1 deletion docs/nitclk/status.inc
Original file line number Diff line number Diff line change
Expand Up @@ -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| |
+-------------------------------+-----------------------+
Expand Down
2 changes: 1 addition & 1 deletion generated/nidcpower/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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| |
+-------------------------------+--------------------------+
Expand Down
2 changes: 1 addition & 1 deletion generated/nidigital/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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| |
+---------------------------------------+--------------------------+
Expand Down
2 changes: 1 addition & 1 deletion generated/nidmm/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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| |
+-------------------------------+----------------------+
Expand Down
2 changes: 1 addition & 1 deletion generated/nifgen/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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| |
+-------------------------------+-----------------------+
Expand Down
2 changes: 1 addition & 1 deletion generated/nimodinst/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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| |
+-------------------------------+--------------------------+
Expand Down
2 changes: 1 addition & 1 deletion generated/niscope/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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| |
+-------------------------------+------------------------+
Expand Down
2 changes: 1 addition & 1 deletion generated/niswitch/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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| |
+-------------------------------+-------------------------+
Expand Down
2 changes: 1 addition & 1 deletion generated/nitclk/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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| |
+-------------------------------+-----------------------+
Expand Down
2 changes: 1 addition & 1 deletion src/nidcpower/metadata/config_addon.py
Original file line number Diff line number Diff line change
@@ -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',
}
2 changes: 0 additions & 2 deletions src/nidcpower/system_tests/test_system_nidcpower.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down Expand Up @@ -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):
Expand Down
2 changes: 1 addition & 1 deletion src/nidigital/metadata/config_addon.py
Original file line number Diff line number Diff line change
@@ -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': [
{
Expand Down
2 changes: 1 addition & 1 deletion src/nidmm/metadata/config_addon.py
Original file line number Diff line number Diff line change
@@ -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',
}
2 changes: 1 addition & 1 deletion src/nifgen/metadata/config_addon.py
Original file line number Diff line number Diff line change
@@ -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',
}
2 changes: 1 addition & 1 deletion src/nimodinst/metadata/config_addon.py
Original file line number Diff line number Diff line change
@@ -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',
}
2 changes: 1 addition & 1 deletion src/niscope/metadata/config_addon.py
Original file line number Diff line number Diff line change
@@ -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)
Expand Down
2 changes: 1 addition & 1 deletion src/niswitch/metadata/config_addon.py
Original file line number Diff line number Diff line change
@@ -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',
}
2 changes: 1 addition & 1 deletion src/nitclk/metadata/config_addon.py
Original file line number Diff line number Diff line change
@@ -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',
}

0 comments on commit f145329

Please sign in to comment.