OpenCyphal / pycyphal

Python implementation of the Cyphal protocol stack.
https://pycyphal.readthedocs.io/
MIT License
117 stars 105 forks source link

A required privilege is not held by the client when testing #261

Closed silverv closed 1 year ago

silverv commented 1 year ago

OSError: [WinError 1314] A required privilege is not held by the client: 'C:\Users\silver\zubax\pycyphal\setup.cfg' -> 'C:\Users\silver\zubax\pycyphal\.nox\test-3-10\tmp\setup.cfg' @pavel-kirienko

(venv) C:\Users\silver\zubax\pycyphal>nox -s test
nox > Running session test-3.7
nox > Creating virtual environment (virtualenv) using python3.7 in .nox\test-3-7
nox > Command C:\Users\silver\zubax\pycyphal\venv\Scripts\python.exe -m virtualenv 'C:\Users\silver\zubax\pycyphal\.nox\test-3-7' -p python3.7 failed with exit code 1:
RuntimeError: failed to find interpreter for Builtin discover of python_spec='python3.7'
nox > Session test-3.7 failed.
nox > Running session test-3.8
nox > Missing interpreters will error by default on CI systems.
nox > Session test-3.8 skipped: Python interpreter 3.8 not found.
nox > Running session test-3.9
nox > Missing interpreters will error by default on CI systems.
nox > Session test-3.9 skipped: Python interpreter 3.9 not found.
nox > Running session test-3.10
nox > Re-using existing virtual environment at .nox\test-3-10.
nox > python -V
nox > Using the newest supported Python: True
nox > python -m pip install -e '.[transport-can-pythoncan,transport-serial,transport-udp]'
nox > python -m pip install 'pytest         ~= 7.1' 'pytest-asyncio == 0.18' 'coverage       ~= 6.3'
OSError: [WinError 1314] A required privilege is not held by the client: 'C:\\Users\\silver\\zubax\\pycyphal\\setup.cfg' -> 'C:\\Users\\silver\\zubax\\pycyphal\\.nox\\test-3-10\\tmp\\setup.cfg'
nox > Session test-3.10 failed.
nox > Ran multiple sessions:
nox > * test-3.7: failed
nox > * test-3.8: skipped
nox > * test-3.9: skipped
nox > * test-3.10: failed
silverv commented 1 year ago

This wasn't fixed by deleting the .nox directory and rerunning the command. Trying on Gnu/Linux now.