Clone the repo and use a python installation to create a venv:
git clone git@github.com:RaRe-Technologies/smart_open.git
cd smart_open
python -m venv .venv
Activate the venv to start working and install test deps:
.venv/bin/activate
pip install -e ".[test]"
Tests should pass:
pytest
Thats it! When you're done, deactivate the venv:
deactivate