Skip to content

Commit d13a152

Browse files
authored
Remove support for Python 3.8 (#1076)
* Remove support for Python 3.8 * Remove Python 3.8 workarounds * Fix lint errors
1 parent 9491f6b commit d13a152

File tree

27 files changed

+44
-281
lines changed

27 files changed

+44
-281
lines changed

.github/workflows/run_unit_tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
strategy:
1515
matrix:
1616
os: [windows-latest, ubuntu-latest]
17-
python-version: [3.8, 3.9, '3.10', 3.11, 3.12]
17+
python-version: [3.9, '3.10', 3.11, 3.12]
1818
# Fail-fast skews the pass/fail ratio and seems to make pytest produce
1919
# incomplete JUnit XML results.
2020
fail-fast: false

examples/game_of_life/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ description = "Measurement plug-in example that displays Conway's Game of Life i
66
authors = ["National Instruments"]
77

88
[tool.poetry.dependencies]
9-
python = "^3.8"
9+
python = "^3.9"
1010
ni-measurement-plugin-sdk-service = {version = "^2.2.0"}
1111
click = ">=7.1.2, !=8.1.4" # mypy fails with click 8.1.4: https://github.com/pallets/click/issues/2558
1212

examples/nidaqmx_analog_input/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ description = "Measurement plug-in example that performs a finite analog input m
66
authors = ["National Instruments"]
77

88
[tool.poetry.dependencies]
9-
python = "^3.8"
9+
python = "^3.9"
1010
nidaqmx = { version = ">=0.8.0", extras = ["grpc"] }
1111
ni-measurement-plugin-sdk-service = {version = "^2.2.0"}
1212
click = ">=7.1.2, !=8.1.4" # mypy fails with click 8.1.4: https://github.com/pallets/click/issues/2558

examples/nidcpower_source_dc_voltage/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ description = "Measurement plug-in example that sources and measures a DC voltag
66
authors = ["National Instruments"]
77

88
[tool.poetry.dependencies]
9-
python = "^3.8"
9+
python = "^3.9"
1010
nidcpower = { version = ">=1.4.4", extras = ["grpc"] }
1111
ni-measurement-plugin-sdk-service = {version = "^2.2.0"}
1212
click = ">=7.1.2, !=8.1.4" # mypy fails with click 8.1.4: https://github.com/pallets/click/issues/2558

examples/nidcpower_source_dc_voltage_with_multiplexer/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ description = "Measurement plug-in example that sources and measures a DC voltag
66
authors = ["National Instruments"]
77

88
[tool.poetry.dependencies]
9-
python = "^3.8"
9+
python = "^3.9"
1010
nidcpower = { version = ">=1.4.4", extras = ["grpc"] }
1111
niswitch = { version = ">=1.4.4", extras = ["grpc"] }
1212
ni-measurement-plugin-sdk-service = {version = "^2.2.0"}

examples/nidigital_spi/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ description = "Measurement plug-in example that tests a SPI device using an NI D
66
authors = ["National Instruments"]
77

88
[tool.poetry.dependencies]
9-
python = "^3.8"
9+
python = "^3.9"
1010
nidigital = { version = ">=1.4.4", extras = ["grpc"] }
1111
ni-measurement-plugin-sdk-service = {version = "^2.2.0"}
1212
click = ">=7.1.2, !=8.1.4" # mypy fails with click 8.1.4: https://github.com/pallets/click/issues/2558

examples/nidmm_measurement/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ description = "Measurement plug-in example that performs a measurement using an
66
authors = ["National Instruments"]
77

88
[tool.poetry.dependencies]
9-
python = "^3.8"
9+
python = "^3.9"
1010
nidmm = { version = ">=1.4.4", extras = ["grpc"] }
1111
ni-measurement-plugin-sdk-service = {version = "^2.2.0"}
1212
click = ">=7.1.2, !=8.1.4" # mypy fails with click 8.1.4: https://github.com/pallets/click/issues/2558

examples/nifgen_standard_function/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ description = "Measurement plug-in example that generates a standard function wa
66
authors = ["National Instruments"]
77

88
[tool.poetry.dependencies]
9-
python = "^3.8"
9+
python = "^3.9"
1010
nifgen = { version = ">=1.4.4", extras = ["grpc"] }
1111
ni-measurement-plugin-sdk-service = {version = "^2.2.0"}
1212
click = ">=7.1.2, !=8.1.4" # mypy fails with click 8.1.4: https://github.com/pallets/click/issues/2558

examples/niscope_acquire_waveform/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ description = "Measurement plug-in example that acquires a waveform using an NI
66
authors = ["National Instruments"]
77

88
[tool.poetry.dependencies]
9-
python = "^3.8"
9+
python = "^3.9"
1010
niscope = { version = ">=1.4.4", extras = ["grpc"] }
1111
ni-measurement-plugin-sdk-service = {version = "^2.2.0"}
1212
click = ">=7.1.2, !=8.1.4" # mypy fails with click 8.1.4: https://github.com/pallets/click/issues/2558

examples/niswitch_control_relays/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ description = "Measurement plug-in example that controls relays using an NI rela
66
authors = ["National Instruments"]
77

88
[tool.poetry.dependencies]
9-
python = "^3.8"
9+
python = "^3.9"
1010
niswitch = { version = ">=1.4.4", extras = ["grpc"] }
1111
ni-measurement-plugin-sdk-service = {version = "^2.2.0"}
1212
click = ">=7.1.2, !=8.1.4" # mypy fails with click 8.1.4: https://github.com/pallets/click/issues/2558

0 commit comments

Comments
 (0)