Skip to content
This repository was archived by the owner on Jan 17, 2023. It is now read-only.

Commit 52e7c90

Browse files
author
Martin Galvan
authored
Add support for Python 3.10 (#379)
This commit adds support for building pc-nrfutil under Python 3.10. It also modifies the following dependencies: - Use pc-ble-driver-py 0.16.4, which supports Python 3.10. - Require protobuf >=3.17.3, which has proper Python 3.10 support.
1 parent 1caa347 commit 52e7c90

File tree

3 files changed

+5
-4
lines changed

3 files changed

+5
-4
lines changed

requirements-frozen.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ crcmod==1.7
44
ecdsa==0.17.0
55
intelhex==2.3.0
66
libusb1==1.9.3
7-
pc-ble-driver-py==0.16.1
7+
pc-ble-driver-py==0.16.4
88
piccata==2.0.1
99
protobuf==3.17.3
1010
pyserial==3.5

requirements.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@ crcmod
44
ecdsa
55
intelhex
66
libusb1==1.9.3
7-
pc_ble_driver_py >= 0.16.1
7+
pc_ble_driver_py >= 0.16.4
88
piccata
9-
protobuf < 4.0.0
9+
protobuf >=3.17.3, < 4.0.0
1010
pyserial
1111
pyspinel >= 1.0.0a3
1212
pyyaml

setup.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ def run_tests(self):
148148
'../libusb/x86/libusb-1.0.dll', '../libusb/x64/libusb-1.0.dll',
149149
'../libusb/x64/libusb-1.0.dylib', '../libusb/LICENSE']
150150
},
151-
python_requires='>=3.7, <3.10',
151+
python_requires='>=3.7, <3.11',
152152
install_requires=reqs,
153153
zipfile=None,
154154
tests_require=[
@@ -174,6 +174,7 @@ def run_tests(self):
174174
'Programming Language :: Python :: 3.7',
175175
'Programming Language :: Python :: 3.8',
176176
'Programming Language :: Python :: 3.9',
177+
'Programming Language :: Python :: 3.10',
177178
],
178179
keywords='nordic nrf51 nrf52 ble bluetooth dfu ota softdevice serialization nrfutil pc-nrfutil',
179180
cmdclass={

0 commit comments

Comments
 (0)