Open szszszsz opened 1 year ago
Due to pynitrokey / nrfutil it is not possible to run tests under Python 3.11
pynitrokey / nrfutil
Collecting pynitrokey Cloning https://github.com/nitrokey/pynitrokey (to revision e40f91a4232b09cbb6c92740f650b9c170da7033) to /tmp/pip-install-nv5iy9tk/pynitrokey_ba10ecfb0961435e84d9ff1270b33795 Resolved https://github.com/nitrokey/pynitrokey to commit e40f91a4232b09cbb6c92740f650b9c170da7033 Installing build dependencies: started Installing build dependencies: finished with status 'done' Getting requirements to build wheel: started Getting requirements to build wheel: finished with status 'done' Installing backend dependencies: started Installing backend dependencies: finished with status 'error' Running command git clone --filter=blob:none --quiet https://github.com/nitrokey/pynitrokey /tmp/pip-install-nv5iy9tk/pynitrokey_ba10ecfb0961435e84d9ff1270b33795 Running command git rev-parse -q --verify 'sha^e40f91a4232b09cbb6c92740f650b9c170da7033' Running command git fetch -q https://github.com/nitrokey/pynitrokey e40f91a4232b09cbb6c92740f650b9c170da7033 Running command git checkout -q e40f91a4232b09cbb6c92740f650b9c170da7033 error: subprocess-exited-with-error × pip subprocess to install backend dependencies did not run successfully. │ exit code: 1 ╰─> [36 lines of output] Collecting pyusb Using cached pyusb-1.2.1-py3-none-any.whl (58 kB) Collecting typing_extensions~=4.3.0 Using cached typing_extensions-4.3.0-py3-none-any.whl (25 kB) Collecting cryptography<37,>=3.4.4 Using cached cryptography-36.0.2-cp36-abi3-manylinux_2_24_x86_64.whl (3.6 MB) Collecting click<9,>=8.0.0 Using cached click-8.1.3-py3-none-any.whl (96 kB) Collecting certifi>=14.5.14 Downloading certifi-2023.5.7-py3-none-any.whl (156 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 157.0/157.0 kB 2.4 MB/s eta 0:00:00 Collecting spsdk<1.8.0,>=1.7.0 Using cached spsdk-1.7.1-py3-none-any.whl (684 kB) Collecting tlv8 Using cached tlv8-0.10.0.tar.gz (16 kB) Preparing metadata (setup.py): started Preparing metadata (setup.py): finished with status 'done' Collecting ecdsa Using cached ecdsa-0.18.0-py2.py3-none-any.whl (142 kB) Collecting urllib3~=1.26.7 Downloading urllib3-1.26.16-py2.py3-none-any.whl (143 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 143.1/143.1 kB 11.1 MB/s eta 0:00:00 Collecting nkdfu Using cached nkdfu-0.2-py3-none-any.whl (16 kB) Collecting intelhex Using cached intelhex-2.3.0-py2.py3-none-any.whl (50 kB) Collecting tqdm Using cached tqdm-4.65.0-py3-none-any.whl (77 kB) Collecting cffi Using cached cffi-1.15.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (462 kB) ERROR: Ignored the following versions that require a different python version: 6.0.0 Requires-Python >=3.6, <=3.8; 6.0.1 Requires-Python >=3.6, <3.9; 6.1.0 Requires-Python >=3.6, <3.9; 6.1.1 Requires-Python >=3.7, <3.10; 6.1.2 Requires-Python >=3.7, <3.10; 6.1.3 Requires-Python >=3.7, <3.10; 6.1.4 Requires-Python >=3.7, <3.11; 6.1.5 Requires-Python >=3.7, <3.11; 6.1.6 Requires-Python >=3.7, <3.11; 6.1.7 Requires-Python >=3.7, <3.11 ERROR: Could not find a version that satisfies the requirement nrfutil<7,>=6.1.4 (from versions: 0.5.2, 0.5.3, 1.1.1, 1.2.0, 1.2.1, 1.2.2, 1.2.3, 1.2.4, 1.2.5, 1.3.0, 1.3.1, 1.3.2, 1.4.0, 1.4.1, 1.4.2, 1.4.3, 1.4.5, 1.4.6, 1.4.7, 1.4.9, 1.4.10, 1.4.11, 1.4.12, 1.4.15, 1.4.16, 1.4.17, 1.4.18, 1.4.19, 1.4.20, 1.4.21, 1.5.0, 1.5.1, 1.5.2, 1.5.3, 1.5.5, 1.6.0, 2.0.0, 2.1.0, 2.2.0, 2.3.0, 3.0.0, 3.1.0, 3.2.0, 3.2.1, 3.3.0, 3.3.1, 3.3.2, 3.4.0, 3.5.0, 3.5.1, 4.0.0, 5.0.0, 5.1.0, 5.2.0, 6.0.0a0, 6.0.0a1) ERROR: No matching distribution found for nrfutil<7,>=6.1.4 [notice] A new release of pip available: 22.3.1 -> 23.1.2 [notice] To update, run: pip install --upgrade pip [end of output] note: This error originates from a subprocess, and is likely not a problem with pip. error: subprocess-exited-with-error × pip subprocess to install backend dependencies did not run successfully. │ exit code: 1 ╰─> See above for output. note: This error originates from a subprocess, and is likely not a problem with pip. [notice] A new release of pip available: 22.3.1 -> 23.1.2 [notice] To update, run: pip install --upgrade pip
Due to
pynitrokey / nrfutil
it is not possible to run tests under Python 3.11