Skip to content

Commit 88ca43f

Browse files
authored
[releases/2.3] Update to typeshed version of gRPC stubs (#1184)
Update to typeshed version of gRPC stubs (#1115) * Upgrade to typeshed gRPC stubs * Update poetry.lock * Retrofit for types-grpcio changes (cherry picked from commit 65d348e)
1 parent 3cc98ab commit 88ca43f

21 files changed

Lines changed: 122 additions & 91 deletions

File tree

examples/game_of_life/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ click = ">=7.1.2, !=8.1.4" # mypy fails with click 8.1.4: https://github.com/pal
1313
[tool.poetry.group.dev.dependencies]
1414
ni-python-styleguide = ">=0.4.1"
1515
mypy = ">=1.0"
16-
grpc-stubs = "^1.53"
16+
types-grpcio = ">=1.0"
1717
types-protobuf = ">=4.21"
1818
# Uncomment to use prerelease dependencies.
1919
# ni-measurement-plugin-sdk-service = {path = "../../packages/service", develop = true}

examples/nidaqmx_analog_input/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ click = ">=7.1.2, !=8.1.4" # mypy fails with click 8.1.4: https://github.com/pal
1414
[tool.poetry.group.dev.dependencies]
1515
ni-python-styleguide = ">=0.4.1"
1616
mypy = ">=1.0"
17-
grpc-stubs = "^1.53"
17+
types-grpcio = ">=1.0"
1818
# Uncomment to use prerelease dependencies.
1919
# nidaqmx = { git = "https://github.com/ni/nidaqmx-python.git", branch = "master", extras = ["grpc"] }
2020
# ni-measurement-plugin-sdk-service = {path = "../../packages/service", develop = true}

examples/nidcpower_source_dc_voltage/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ grpcio = "*"
1515
[tool.poetry.group.dev.dependencies]
1616
ni-python-styleguide = ">=0.4.1"
1717
mypy = ">=1.0"
18-
grpc-stubs = "^1.53"
18+
types-grpcio = ">=1.0"
1919
# Uncomment to use prerelease dependencies.
2020
# nidcpower = { git = "https://github.com/ni/nimi-python.git", subdirectory = "generated/nidcpower", extras = ["grpc"] }
2121
# ni-measurement-plugin-sdk-service = {path = "../../packages/service", develop = true}

examples/nidcpower_source_dc_voltage_with_multiplexer/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ grpcio = "*"
1616
[tool.poetry.group.dev.dependencies]
1717
ni-python-styleguide = ">=0.4.1"
1818
mypy = ">=1.0"
19-
grpc-stubs = "^1.53"
19+
types-grpcio = ">=1.0"
2020
# Uncomment to use prerelease dependencies.
2121
# nidcpower = { git = "https://github.com/ni/nimi-python.git", subdirectory = "generated/nidcpower", extras = ["grpc"] }
2222
# niswitch = { git = "https://github.com/ni/nimi-python.git", subdirectory = "generated/niswitch", extras = ["grpc"] }

examples/nidigital_spi/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ grpcio = "*"
1515
[tool.poetry.group.dev.dependencies]
1616
ni-python-styleguide = ">=0.4.1"
1717
mypy = ">=1.0"
18-
grpc-stubs = "^1.53"
18+
types-grpcio = ">=1.0"
1919
# Uncomment to use prerelease dependencies.
2020
# nidigital = { git = "https://github.com/ni/nimi-python.git", subdirectory = "generated/nidigital", extras = ["grpc"] }
2121
# ni-measurement-plugin-sdk-service = {path = "../../packages/service", develop = true}

examples/nidmm_measurement/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ grpcio = "*"
1515
[tool.poetry.group.dev.dependencies]
1616
ni-python-styleguide = ">=0.4.1"
1717
mypy = ">=1.0"
18-
grpc-stubs = "^1.53"
18+
types-grpcio = ">=1.0"
1919
# Uncomment to use prerelease dependencies.
2020
# nidmm = { git = "https://github.com/ni/nimi-python.git", subdirectory = "generated/nidmm", extras = ["grpc"] }
2121
# ni-measurement-plugin-sdk-service = {path = "../../packages/service", develop = true}

examples/nifgen_standard_function/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ grpcio = "*"
1515
[tool.poetry.group.dev.dependencies]
1616
ni-python-styleguide = ">=0.4.1"
1717
mypy = ">=1.0"
18-
grpc-stubs = "^1.53"
18+
types-grpcio = ">=1.0"
1919
# Uncomment to use prerelease dependencies.
2020
# nifgen = { git = "https://github.com/ni/nimi-python.git", subdirectory = "generated/nifgen", extras = ["grpc"] }
2121
# ni-measurement-plugin-sdk-service = {path = "../../packages/service", develop = true}

examples/niscope_acquire_waveform/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ grpcio = "*"
1515
[tool.poetry.group.dev.dependencies]
1616
ni-python-styleguide = ">=0.4.1"
1717
mypy = ">=1.0"
18-
grpc-stubs = "^1.53"
18+
types-grpcio = ">=1.0"
1919
# Uncomment to use prerelease dependencies.
2020
# niscope = { git = "https://github.com/ni/nimi-python.git", subdirectory = "generated/niscope", extras = ["grpc"] }
2121
# ni-measurement-plugin-sdk-service = {path = "../../packages/service", develop = true}

examples/niswitch_control_relays/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ grpcio = "*"
1515
[tool.poetry.group.dev.dependencies]
1616
ni-python-styleguide = ">=0.4.1"
1717
mypy = ">=1.0"
18-
grpc-stubs = "^1.53"
18+
types-grpcio = ">=1.0"
1919
# Uncomment to use prerelease dependencies.
2020
# niswitch = { git = "https://github.com/ni/nimi-python.git", subdirectory = "generated/niswitch", extras = ["grpc"] }
2121
# ni-measurement-plugin-sdk-service = {path = "../../packages/service", develop = true}

examples/nivisa_dmm_measurement/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ python-decouple = ">=3.8"
1717
[tool.poetry.group.dev.dependencies]
1818
ni-python-styleguide = ">=0.4.1"
1919
mypy = ">=1.0"
20-
grpc-stubs = "^1.53"
20+
types-grpcio = ">=1.0"
2121
# Uncomment to use prerelease dependencies.
2222
# ni-measurement-plugin-sdk-service = {path = "../../packages/service", develop = true}
2323

0 commit comments

Comments
 (0)