Make sure you have the required tools installed:
source .venv/bin/activate
make installEnsure all tests pass before proceeding:
make testBump the version in src/uptrace/version.py:
__version__ = "X.Y.Z"The version should match the OpenTelemetry SDK version (e.g. 1.40.0).
Update OpenTelemetry dependency versions in pyproject.toml to match the new version.
Update requirements.txt in each example/ directory to use the new dependency versions.
Then reinstall dependencies:
make installmake publishThis runs tests, builds the sdist and wheel, and uploads them to PyPI via twine.
After publishing, update the uptrace version reference in the go-uptrace repository.
git add -A
git commit -m "chore: bump version to X.Y.Z"
git tag vX.Y.Z
git push origin master --tags