This document provide details for Monocle committers tasks
> python3 -m build
> python3 -m pip install --upgrade twine
> python3 -m twine upload --repository testpypi dist/*
The steps to set the credential can be found here: https://packaging.python.org/en/latest/specifications/pypirc/
After setup of credentials, follow the commands below to publish the package to testpypi:
> python3 -m pip install pipenv
> pipenv install monocle-apptrace
cd monocle
monocle% python -m pip install pipenv
monocle% pipenv --python 3.11.9
monocle% source $(pipenv --venv)/bin/activate
monocle% pip install -e '.[dev]'
monocle% pytest tests/unit/*_test.py
monocle% pytest -m integration
monocle% pytest tests/integration/test_langchain_rag_l_to_m.py