We'd love your help!
Make sure you have the following env versions:
python 3.8
In the interest of keeping this repository clean and manageable, you should work from a fork. To create a fork, click the 'Fork' button at the top of the repository, then clone the fork locally using git clone [email protected]:USERNAME/otel-py.git
.
You should also add this repository as an "upstream" repo to your local copy, in order to keep it up to date. You can add this as a remote like so:
git remote add upstream https://github.com/cisco-open/otel-py.git
#verify that the upstream exists
git remote -v
To update your fork, fetch the upstream repo's branches and commits, then merge your main with upstream's main:
git fetch upstream
git checkout main
git merge upstream/main
After the clone you will want to install all repo deps, run:
if using PyCharm - go to Preferences > Python Interpreter > and use poetry interpreter.
poetry build
make all
This will install the main package deps and then all the scope packages deps (and also will build the sub packages)
To run all tests:
make test
to generate .proto files:
python -m grpc_tools.protoc -I. --python_out=. --grpc_python_out=. hello.proto