Check out conda/conda, and create a venv. Activate it, and run pip install -e ..
Then create a file test.py with the following contents:
from conda.cli.main import main
main('install', '--dry-run', '--use-index-cache', 'cylc==8.0a2')Now you should be able to debug it. The --use-index-cache is important to skip downloading the