Skip to content

VOER-457: Update PySocks for tempest

Tanmay Pandey requested to merge constraints-2022.11 into touchstone-master-v2022-11

Need to update PySocks to avoid the following error. - image

Logs -

2023-09-06 10:15:31.249 158943 TOUCHSTONE_INFO touchstone_common.utils.ve_installer [None  3bb35b9f-4c9e-11ee-be18-00163e000000 ] Running Command: python -m pip install PySocks==1.6.8 --no-index --find-links=file:///opt/touchstone/packages --constraint=/tmp/.engine/tempest/3bb35b9f-4c9e-11ee-be18-00163e000000/tempest-constraints.txt
2023-09-06 10:15:32.159 158943 TOUCHSTONE_ERROR ve_engines.plugins.engines.manager [None  3bb35b9f-4c9e-11ee-be18-00163e000000 ] Exception while running execution 3bb35b9f-4c9e-11ee-be18-00163e000000:
Traceback (most recent call last):
  File "ve_engines/plugins/engines/manager.py", line 112, in ve_engines.plugins.engines.manager.Manager.run
  File "ve_engines/plugins/engines/manager.py", line 135, in ve_engines.plugins.engines.manager.Manager.setup_engine
  File "ve_engines/plugins/engines/tempest_engine.py", line 62, in ve_engines.plugins.engines.tempest_engine.VETempestEngine.setup
  File "ve_engines/plugins/engines/tempest_engine.py", line 117, in ve_engines.plugins.engines.tempest_engine.VETempestEngine.create_verifier
  File "/opt/touchstone/touchstone_engine_venv/lib/python3.10/site-packages/ve_engines/plugins/tempest/tempest.py", line 420, in install
    self._install_venv()
  File "/opt/touchstone/touchstone_engine_venv/lib/python3.10/site-packages/ve_engines/plugins/tempest/tempest.py", line 316, in _install_venv
    ve_installer.pip_install(
  File "/opt/touchstone/touchstone_engine_venv/lib/python3.10/site-packages/touchstone_common/utils/ve_installer.py", line 187, in pip_install
    return execute_cmd(install_cmd, environ=environ)
  File "/opt/touchstone/touchstone_engine_venv/lib/python3.10/site-packages/touchstone_common/utils/ve_installer.py", line 119, in execute_cmd
    raise RuntimeError('Command failed with error code %d and error: '
RuntimeError: Command failed with error code 1 and error:   ERROR: Could not find a version that satisfies the requirement PySocks==1.6.8 (from -c /tmp/.engine/tempest/3bb35b9f-4c9e-11ee-be18-00163e000000
/tempest-constraints.txt (line 37)) (from versions: 1.7.1)
Edited by Tanmay Pandey

Merge request reports