Skip to content

Commit 093012f

Browse files
authored
[releases/1.1] examples: Disallow click version 8.1.4 (#326)
examples: Disallow click version 8.1.4 (#325) It causes mypy errors: _helpers.py:209: error: Argument 1 has incompatible type "F"; expected <nothing> [arg-type] _helpers.py:214: error: Need type annotation for "use_grpc_device_option" [var-annotated] _helpers.py:220: error: Need type annotation for "grpc_device_address_option" [var-annotated] Signed-off-by: Brad Keryan <brad.keryan@ni.com> (cherry picked from commit 8789cb3)
1 parent 1d99a70 commit 093012f

11 files changed

Lines changed: 11 additions & 11 deletions

File tree

examples/nidaqmx_analog_input/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ authors = ["National Instruments"]
88
python = "^3.8"
99
nidaqmx = { version = ">=0.8.0-dev0", extras = ["grpc"], allow-prereleases = true }
1010
ni-measurementlink-service = {version = "^1.1.0-dev2", allow-prereleases = true}
11-
click = ">=7.1.2"
11+
click = ">=7.1.2, !=8.1.4" # mypy fails with click 8.1.4: https://github.com/pallets/click/issues/2558
1212

1313
[tool.poetry.group.dev.dependencies]
1414
mypy = ">=1.0"

examples/nidcpower_source_dc_voltage/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ authors = ["National Instruments"]
88
python = "^3.8"
99
nidcpower = { version = ">=1.4.4", extras = ["grpc"] }
1010
ni-measurementlink-service = {version = "^1.1.0-dev2", allow-prereleases = true}
11-
click = ">=7.1.2"
11+
click = ">=7.1.2, !=8.1.4" # mypy fails with click 8.1.4: https://github.com/pallets/click/issues/2558
1212
grpcio = "*"
1313

1414
[tool.poetry.group.dev.dependencies]

examples/nidigital_spi/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ authors = ["National Instruments"]
88
python = "^3.8"
99
nidigital = ">=1.4.4"
1010
ni-measurementlink-service = {version = "^1.1.0-dev2", allow-prereleases = true}
11-
click = ">=7.1.2"
11+
click = ">=7.1.2, !=8.1.4" # mypy fails with click 8.1.4: https://github.com/pallets/click/issues/2558
1212
grpcio = "*"
1313

1414
[tool.poetry.group.dev.dependencies]

examples/nidmm_measurement/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ authors = ["National Instruments"]
88
python = "^3.8"
99
nidmm = { version = ">=1.4.4", extras = ["grpc"] }
1010
ni-measurementlink-service = {version = "^1.1.0-dev2", allow-prereleases = true}
11-
click = ">=7.1.2"
11+
click = ">=7.1.2, !=8.1.4" # mypy fails with click 8.1.4: https://github.com/pallets/click/issues/2558
1212
grpcio = "*"
1313

1414
[tool.poetry.group.dev.dependencies]

examples/nifgen_standard_function/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ authors = ["National Instruments"]
88
python = "^3.8"
99
nifgen = { version = ">=1.4.4", extras = ["grpc"] }
1010
ni-measurementlink-service = {version = "^1.1.0-dev2", allow-prereleases = true}
11-
click = ">=7.1.2"
11+
click = ">=7.1.2, !=8.1.4" # mypy fails with click 8.1.4: https://github.com/pallets/click/issues/2558
1212
grpcio = "*"
1313

1414
[tool.poetry.group.dev.dependencies]

examples/niscope_acquire_waveform/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ authors = ["National Instruments"]
88
python = "^3.8"
99
niscope = { version = ">=1.4.4", extras = ["grpc"] }
1010
ni-measurementlink-service = {version = "^1.1.0-dev2", allow-prereleases = true}
11-
click = ">=7.1.2"
11+
click = ">=7.1.2, !=8.1.4" # mypy fails with click 8.1.4: https://github.com/pallets/click/issues/2558
1212
grpcio = "*"
1313

1414
[tool.poetry.group.dev.dependencies]

examples/niswitch_control_relays/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ authors = ["National Instruments"]
88
python = "^3.8"
99
niswitch = { version = ">=1.4.4", extras = ["grpc"] }
1010
ni-measurementlink-service = {version = "^1.1.0-dev2", allow-prereleases = true}
11-
click = ">=7.1.2"
11+
click = ">=7.1.2, !=8.1.4" # mypy fails with click 8.1.4: https://github.com/pallets/click/issues/2558
1212
grpcio = "*"
1313

1414
[tool.poetry.group.dev.dependencies]

examples/nivisa_dmm_measurement/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ python = "^3.8"
99
ni-measurementlink-service = {version = "^1.1.0-dev2", allow-prereleases = true}
1010
PyVISA = "^1.13.0"
1111
PyVISA-sim = "^0.5.1"
12-
click = ">=7.1.2"
12+
click = ">=7.1.2, !=8.1.4" # mypy fails with click 8.1.4: https://github.com/pallets/click/issues/2558
1313
grpcio = "*"
1414

1515
[tool.poetry.group.dev.dependencies]

examples/sample_measurement/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ authors = ["National Instruments"]
77
[tool.poetry.dependencies]
88
python = "^3.8"
99
ni-measurementlink-service = {version = "^1.1.0-dev2", allow-prereleases = true}
10-
click = ">=7.1.2"
10+
click = ">=7.1.2, !=8.1.4" # mypy fails with click 8.1.4: https://github.com/pallets/click/issues/2558
1111

1212
[tool.poetry.group.dev.dependencies]
1313
mypy = ">=1.0"

examples/sample_streaming_measurement/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ authors = ["National Instruments"]
77
[tool.poetry.dependencies]
88
python = "^3.8"
99
ni-measurementlink-service = {version = "^1.1.0-dev0", allow-prereleases = true}
10-
click = ">=7.1.2"
10+
click = ">=7.1.2, !=8.1.4" # mypy fails with click 8.1.4: https://github.com/pallets/click/issues/2558
1111

1212
[tool.poetry.group.dev.dependencies]
1313
mypy = ">=1.0"

0 commit comments

Comments
 (0)