Skip to content

Commit 442e169

Browse files
authored
Drop Python 3.9 Support (#2153)
* Drop 39/3.9 mentions - source file edits * Codgen * Bump minimum required version Forgot to do this, initially * Update Changelog
1 parent 841e844 commit 442e169

38 files changed

+67
-70
lines changed

.travis.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ matrix:
88
# This is where additional tests are run so we give it more time.
99
# When the version used for codegen changes, the version that runs first should change to match.
1010
- python: "3.12"
11-
- python: "3.9"
1211
- python: "3.10"
1312
- python: "3.11"
1413
- python: "3.13"

CHANGELOG.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,7 @@
5252
- Added
5353
- Changed
5454
- Removed
55+
- Python 3.9 Support
5556

5657
#### [nidcpower] 1.5.0 - 2025-07-01
5758
- Added
@@ -546,6 +547,7 @@
546547
- Added
547548
- Changed
548549
- Removed
550+
- Python 3.9 Support
549551

550552
#### [nidigital] 1.4.9 - 2025-02-26
551553
- Added
@@ -779,6 +781,7 @@
779781
- Added
780782
- Changed
781783
- Removed
784+
- Python 3.9 Support
782785

783786
#### [nidmm] 1.4.9 - 2025-02-26
784787
- Added
@@ -1094,6 +1097,7 @@
10941097
- Added
10951098
- Changed
10961099
- Removed
1100+
- Python 3.9 Support
10971101

10981102
#### [nifgen] 1.4.9 - 2025-02-26
10991103
- Added
@@ -1470,6 +1474,7 @@
14701474
- Added
14711475
- Changed
14721476
- Removed
1477+
- Python 3.9 Support
14731478

14741479
#### [nimodinst] 1.4.9 - 2025-02-26
14751480
- Added
@@ -1711,6 +1716,7 @@
17111716
- `ref_clock_source`
17121717
- `trigger_identifier` parameter in `send_software_edge_trigger` method
17131718
- Removed
1719+
- Python 3.9 Support
17141720
- Methods and properties applicable only to hardware which are not supported anymore
17151721
- Methods
17161722
- `configure_digital_modulation_user_defined_waveform`
@@ -1799,6 +1805,7 @@
17991805
- Added
18001806
- Changed
18011807
- Removed
1808+
- Python 3.9 Support
18021809

18031810
#### [niscope] 1.4.9 - 2025-02-26
18041811
- Added
@@ -2238,6 +2245,7 @@
22382245
- Added
22392246
- Changed
22402247
- Removed
2248+
- Python 3.9 Support
22412249

22422250
#### [nise] 1.4.9 - 2025-02-26
22432251
- Added
@@ -2394,6 +2402,7 @@
23942402
- Added
23952403
- Changed
23962404
- Removed
2405+
- Python 3.9 Support
23972406

23982407
#### [niswitch] 1.4.9 - 2025-02-26
23992408
- Added
@@ -2645,6 +2654,7 @@
26452654
- Added
26462655
- Changed
26472656
- Removed
2657+
- Python 3.9 Support
26482658

26492659
#### [nitclk] 1.4.9 - 2025-02-26
26502660
- Added

build/templates/setup.py.mako

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ setup(
3535
license='MIT',
3636
include_package_data=True,
3737
packages=['${config['module_name']}'],
38-
python_requires='>=3.9',
38+
python_requires='>=3.10',
3939
install_requires=[
4040
'hightime>=0.2.0',
4141
% if config['uses_nitclk']:
@@ -59,7 +59,6 @@ setup(
5959
"Operating System :: Microsoft :: Windows",
6060
"Operating System :: POSIX",
6161
"Programming Language :: Python :: 3",
62-
"Programming Language :: Python :: 3.9",
6362
"Programming Language :: Python :: 3.10",
6463
"Programming Language :: Python :: 3.11",
6564
"Programming Language :: Python :: 3.12",

build/templates/tox-system_tests.ini.mako

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
wheel_env_no_py = '{}-wheel_dep'.format(module_name)
1212
# We only actually need to build it once, but we specify multiple versions here
1313
# to prevent tox from trying to build the wheel with an unsupported (earlier) Python version
14-
wheel_env = 'py{39,310,311,312,313}-' + wheel_env_no_py + ','
14+
wheel_env = 'py{310,311,312,313}-' + wheel_env_no_py + ','
1515
uses_other_wheel = True
1616
if module_name == 'nitclk':
1717
# nitclk system tests use niscope
@@ -28,7 +28,7 @@
2828
# test suite on all supported python versions. To use it, "pip install tox"
2929
# and then run "tox -c tox-system_tests.ini" from the driver directory. (generated/${module_name})
3030
[tox]
31-
envlist = ${wheel_env}py{39,310,311,312,313}-${module_name}-system_tests, py313-${module_name}-coverage
31+
envlist = ${wheel_env}py{310,311,312,313}-${module_name}-system_tests, py313-${module_name}-coverage
3232
skip_missing_interpreters=True
3333
ignore_basepython_conflict=True
3434
# We put the .tox directory outside of the Jenkins workspace so that it isn't wiped with the rest of the repo
@@ -90,7 +90,7 @@ deps =
9090
${module_name}-coverage: coverage
9191

9292
depends =
93-
${module_name}-coverage: py{39,310,311,312,313}-${module_name}-system_tests
93+
${module_name}-coverage: py{310,311,312,313}-${module_name}-system_tests
9494
% if uses_other_wheel:
9595
${module_name}-system_tests: ${wheel_env}
9696
% endif

docs/nidcpower/conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@
5555

5656
# General information about the project.
5757
project = 'NI-DCPower Python API'
58-
copyright = '2017-2025, National Instruments Corporation'
58+
copyright = '2017-2026, National Instruments Corporation'
5959
author = 'NI'
6060

6161
# The version info for the project you're documenting, acts as replacement for

docs/nidigital/conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@
5555

5656
# General information about the project.
5757
project = 'NI-Digital Pattern Driver Python API'
58-
copyright = '2019-2025, National Instruments Corporation'
58+
copyright = '2019-2026, National Instruments Corporation'
5959
author = 'NI'
6060

6161
# The version info for the project you're documenting, acts as replacement for

docs/nidmm/conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@
5555

5656
# General information about the project.
5757
project = 'NI-DMM Python API'
58-
copyright = '2017-2025, National Instruments Corporation'
58+
copyright = '2017-2026, National Instruments Corporation'
5959
author = 'NI'
6060

6161
# The version info for the project you're documenting, acts as replacement for

docs/nifgen/conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@
5555

5656
# General information about the project.
5757
project = 'NI-FGEN Python API'
58-
copyright = '2017-2025, National Instruments Corporation'
58+
copyright = '2017-2026, National Instruments Corporation'
5959
author = 'NI'
6060

6161
# The version info for the project you're documenting, acts as replacement for

docs/nimodinst/conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@
5555

5656
# General information about the project.
5757
project = 'NI-ModInst Python API'
58-
copyright = '2017-2025, National Instruments Corporation'
58+
copyright = '2017-2026, National Instruments Corporation'
5959
author = 'NI'
6060

6161
# The version info for the project you're documenting, acts as replacement for

docs/nirfsg/conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@
5555

5656
# General information about the project.
5757
project = 'NI-RFSG Python API'
58-
copyright = '2025-2025, National Instruments Corporation'
58+
copyright = '2025-2026, National Instruments Corporation'
5959
author = 'NI'
6060

6161
# The version info for the project you're documenting, acts as replacement for

0 commit comments

Comments
 (0)