Skip to content

Commit d6d71df

Browse files
committed
Update grpcio and friends deps for Python 3.12 compatibility
1 parent 3a725f5 commit d6d71df

File tree

10 files changed

+22
-22
lines changed

10 files changed

+22
-22
lines changed

build/templates/setup.py.mako

+2-2
Original file line numberDiff line numberDiff line change
@@ -56,8 +56,8 @@ setup(
5656
% if grpc_supported:
5757
extras_require={
5858
'grpc': [
59-
'grpcio>=1.49.1,<2.0',
60-
'protobuf>=4.21,<5.0'
59+
'grpcio>=1.59.0,<2.0',
60+
'protobuf>=4.21.6,<5.0'
6161
],
6262
},
6363
% endif

generated/nidcpower/setup.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,8 @@ def read_contents(file_to_read):
4646
],
4747
extras_require={
4848
'grpc': [
49-
'grpcio>=1.49.1,<2.0',
50-
'protobuf>=4.21,<5.0'
49+
'grpcio>=1.59.0,<2.0',
50+
'protobuf>=4.21.6,<5.0'
5151
],
5252
},
5353
setup_requires=['pytest-runner', ],

generated/nidigital/setup.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -47,8 +47,8 @@ def read_contents(file_to_read):
4747
],
4848
extras_require={
4949
'grpc': [
50-
'grpcio>=1.49.1,<2.0',
51-
'protobuf>=4.21,<5.0'
50+
'grpcio>=1.59.0,<2.0',
51+
'protobuf>=4.21.6,<5.0'
5252
],
5353
},
5454
setup_requires=['pytest-runner', ],

generated/nidmm/setup.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,8 @@ def read_contents(file_to_read):
4646
],
4747
extras_require={
4848
'grpc': [
49-
'grpcio>=1.49.1,<2.0',
50-
'protobuf>=4.21,<5.0'
49+
'grpcio>=1.59.0,<2.0',
50+
'protobuf>=4.21.6,<5.0'
5151
],
5252
},
5353
setup_requires=['pytest-runner', ],

generated/nifake/setup.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -47,8 +47,8 @@ def read_contents(file_to_read):
4747
],
4848
extras_require={
4949
'grpc': [
50-
'grpcio>=1.49.1,<2.0',
51-
'protobuf>=4.21,<5.0'
50+
'grpcio>=1.59.0,<2.0',
51+
'protobuf>=4.21.6,<5.0'
5252
],
5353
},
5454
setup_requires=['pytest-runner', ],

generated/nifgen/setup.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -47,8 +47,8 @@ def read_contents(file_to_read):
4747
],
4848
extras_require={
4949
'grpc': [
50-
'grpcio>=1.49.1,<2.0',
51-
'protobuf>=4.21,<5.0'
50+
'grpcio>=1.59.0,<2.0',
51+
'protobuf>=4.21.6,<5.0'
5252
],
5353
},
5454
setup_requires=['pytest-runner', ],

generated/niscope/setup.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -47,8 +47,8 @@ def read_contents(file_to_read):
4747
],
4848
extras_require={
4949
'grpc': [
50-
'grpcio>=1.49.1,<2.0',
51-
'protobuf>=4.21,<5.0'
50+
'grpcio>=1.59.0,<2.0',
51+
'protobuf>=4.21.6,<5.0'
5252
],
5353
},
5454
setup_requires=['pytest-runner', ],

generated/niswitch/setup.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,8 @@ def read_contents(file_to_read):
4646
],
4747
extras_require={
4848
'grpc': [
49-
'grpcio>=1.49.1,<2.0',
50-
'protobuf>=4.21,<5.0'
49+
'grpcio>=1.59.0,<2.0',
50+
'protobuf>=4.21.6,<5.0'
5151
],
5252
},
5353
setup_requires=['pytest-runner', ],

tox-travis.ini

+3-3
Original file line numberDiff line numberDiff line change
@@ -136,16 +136,16 @@ deps =
136136
test: mako
137137
test: numpy
138138
test: hightime
139-
test: grpcio == 1.49.1 # Compatible with grpcio-tools 1.49.1
140-
test: protobuf == 4.21 # Compatible with grpcio-tools 1.49.1
139+
test: grpcio == 1.59.0 # Compatible with grpcio-tools 1.59.0
140+
test: protobuf == 4.21.6 # Compatible with grpcio-tools 1.59.0
141141
build_test: pytest
142142
build_test: coverage
143143
build_test: mako
144144
build_test: hacking
145145
build_test: pep8-naming
146146
codegen: mako
147147
codegen: packaging
148-
codegen: grpcio-tools == 1.49.1
148+
codegen: grpcio-tools == 1.59.0 # First version to support Python 3.12
149149
installers: build
150150
flake8: hacking
151151
flake8: pep8-naming

tox.ini

+3-3
Original file line numberDiff line numberDiff line change
@@ -136,16 +136,16 @@ deps =
136136
test: mako
137137
test: numpy
138138
test: hightime
139-
test: grpcio == 1.49.1 # Compatible with grpcio-tools 1.49.1
140-
test: protobuf == 4.21 # Compatible with grpcio-tools 1.49.1
139+
test: grpcio == 1.59.0 # Compatible with grpcio-tools 1.59.0
140+
test: protobuf == 4.21.6 # Compatible with grpcio-tools 1.59.0
141141
build_test: pytest
142142
build_test: coverage
143143
build_test: mako
144144
build_test: hacking
145145
build_test: pep8-naming
146146
codegen: mako
147147
codegen: packaging
148-
codegen: grpcio-tools == 1.49.1
148+
codegen: grpcio-tools == 1.59.0 # First version to support Python 3.12
149149
installers: build
150150
flake8: hacking
151151
flake8: pep8-naming

0 commit comments

Comments
 (0)