Skip to content

Commit

Permalink
Merge remote-tracking branch 'upstream/master' into fix_nidcpower_adv…
Browse files Browse the repository at this point in the history
…anced_sequence
  • Loading branch information
Justin Oca committed Apr 24, 2024
2 parents d836030 + 72fce1e commit fa036f9
Show file tree
Hide file tree
Showing 190 changed files with 4,487 additions and 4,337 deletions.
1 change: 0 additions & 1 deletion .github/actions/linux/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ runs:
source /etc/bashrc
cd generated
mkdir junit
mkdir kibana
cd ${{ inputs.module_name }}
python -m tox -c tox-system_tests.ini
shell: bash
1 change: 0 additions & 1 deletion .github/actions/windows/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ runs:
- run: |
cd generated
mkdir junit
mkdir kibana
cd ${{ inputs.module_name }}
python -m tox -c tox-system_tests.ini
shell: powershell
3 changes: 2 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,11 @@ matrix:
include:
# We run tests on the latest supported version of Python first.
# This is where additional tests are run so we give it more time.
- python: "3.11"
- python: "3.12"
- python: "3.8"
- python: "3.9"
- python: "3.10"
- python: "3.11"

install:
- travis_retry sudo apt-get -y install python3-pip
Expand Down
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ All notable changes to this project will be documented in this file.
## Unreleased
* ### ALL
* #### Added
* Support for Python 3.12
* #### Changed
* #### Removed
* ### `nidcpower` (NI-DCPower)
Expand Down
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
19 changes: 19 additions & 0 deletions SECURITY.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
<!-- Begin NI SECURITY.md V1.0 -->

# Security

NI views the security of our software products as an important part of our commitment to our users. This includes source code repositories managed through the [NI](https://github.com/ni) GitHub organization.

## Reporting Security Issues

We encourage you to report security vulnerabilities to us privately so we can follow the principle of [Coordinated Vulnerability Disclosure (CVD)](https://vuls.cert.org/confluence/display/CVD). This allows us time to thoroughly investigate security issues and publicly disclose them when appropriate.

**Please do not report security vulnerabilities through public GitHub issues.**

Instead, please report them by sending an email to [security@ni.com](mailto:security@ni.com) with sufficient details about the type of issue, the impact of the issue, and how to reproduce the issue. You may use the [NI PGP key](https://www.ni.com/en/support/security/pgp.html) to encrypt any sensitive communications you send to us. When you notify us of a potential security issue, our remediation process includes acknowledging receipt and coordinating any necessary response activities with you.

## Learn More

To learn more about NI Security, please see [https://ni.com/security](https://ni.com/security)

<!-- End NI SECURITY.md -->
4 changes: 2 additions & 2 deletions build/generate_template.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ def generate_template(template_name, template_params, dest_file, in_zip_file=Fal
try:
template_params['encoding_tag'] = '# -*- coding: utf-8 -*-'
module_name = template_params['metadata'].config['module_name']
lookup = TemplateLookup(directories=['src/{0}/templates'.format(module_name), 'build/templates'])
lookup = TemplateLookup(directories=[f'src/{module_name}/templates', 'build/templates'])
template = Template(filename=template_name, lookup=lookup)
rendered_template = template.render(template_parameters=template_params)

Expand All @@ -28,7 +28,7 @@ def generate_template(template_name, template_params, dest_file, in_zip_file=Fal
lines = tback.source.split('\n')

# The underlying error.
logging.error("\n%s: %s\n" % (str(tback.error.__class__.__name__), str(tback.error)))
logging.error("\n{}: {}\n".format(str(tback.error.__class__.__name__), str(tback.error)))
logging.error("Offending Template: %s\n" % template_name)

# Show a source listing of the template, with offending line marked.
Expand Down
Loading

0 comments on commit fa036f9

Please sign in to comment.