From c6a0e3eeac3adb852910e2da4b48f8d177eb532d Mon Sep 17 00:00:00 2001 From: alrex Date: Mon, 26 Jul 2021 14:48:36 -0700 Subject: [PATCH] fix opentelemetry-bootstrap bug (#1987) * fix opentelemetry-bootstrap bug * Update CHANGELOG.md --- CHANGELOG.md | 6 ++ .../instrumentation/bootstrap_gen.py | 66 +++++++++---------- 2 files changed, 39 insertions(+), 33 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 0acb5edda96..360d8860c91 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,6 +9,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 to let distros use its default implementation ([#1937](https://github.com/open-telemetry/opentelemetry-python/pull/1937)) +## [0.23.1](https://github.com/open-telemetry/opentelemetry-python/pull/1987) - 2021-07-26 + +### Changed +- Fix opentelemetry-bootstrap dependency script. + ([#1987](https://github.com/open-telemetry/opentelemetry-python/pull/1987)) + ## [1.4.0-0.23b0](https://github.com/open-telemetry/opentelemetry-python/releases/tag/v1.4.0-0.23b0) - 2021-07-21 ### Added diff --git a/opentelemetry-instrumentation/src/opentelemetry/instrumentation/bootstrap_gen.py b/opentelemetry-instrumentation/src/opentelemetry/instrumentation/bootstrap_gen.py index b49f40905f5..c9ea34297a5 100644 --- a/opentelemetry-instrumentation/src/opentelemetry/instrumentation/bootstrap_gen.py +++ b/opentelemetry-instrumentation/src/opentelemetry/instrumentation/bootstrap_gen.py @@ -18,121 +18,121 @@ libraries = { "aiohttp": { "library": "aiohttp ~= 3.0", - "instrumentation": "opentelemetry-instrumentation-aiohttp-client==0.23.dev0", + "instrumentation": "opentelemetry-instrumentation-aiohttp-client==0.23b0", }, "aiopg": { "library": "aiopg >= 0.13.0, < 1.3.0", - "instrumentation": "opentelemetry-instrumentation-aiopg==0.23.dev0", + "instrumentation": "opentelemetry-instrumentation-aiopg==0.23b0", }, "asgiref": { "library": "asgiref ~= 3.0", - "instrumentation": "opentelemetry-instrumentation-asgi==0.23.dev0", + "instrumentation": "opentelemetry-instrumentation-asgi==0.23b0", }, "asyncpg": { "library": "asyncpg >= 0.12.0", - "instrumentation": "opentelemetry-instrumentation-asyncpg==0.23.dev0", + "instrumentation": "opentelemetry-instrumentation-asyncpg==0.23b0", }, "boto": { "library": "boto~=2.0", - "instrumentation": "opentelemetry-instrumentation-boto==0.23.dev0", + "instrumentation": "opentelemetry-instrumentation-boto==0.23b0", }, "botocore": { "library": "botocore ~= 1.0", - "instrumentation": "opentelemetry-instrumentation-botocore==0.23.dev0", + "instrumentation": "opentelemetry-instrumentation-botocore==0.23b0", }, "celery": { "library": "celery >= 4.0, < 6.0", - "instrumentation": "opentelemetry-instrumentation-celery==0.23.dev0", + "instrumentation": "opentelemetry-instrumentation-celery==0.23b0", }, "django": { "library": "django >= 1.10", - "instrumentation": "opentelemetry-instrumentation-django==0.23.dev0", + "instrumentation": "opentelemetry-instrumentation-django==0.23b0", }, "elasticsearch": { "library": "elasticsearch >= 2.0", - "instrumentation": "opentelemetry-instrumentation-elasticsearch==0.23.dev0", + "instrumentation": "opentelemetry-instrumentation-elasticsearch==0.23b0", }, "falcon": { "library": "falcon ~= 2.0", - "instrumentation": "opentelemetry-instrumentation-falcon==0.23.dev0", + "instrumentation": "opentelemetry-instrumentation-falcon==0.23b0", }, "fastapi": { "library": "fastapi ~= 0.58.1", - "instrumentation": "opentelemetry-instrumentation-fastapi==0.23.dev0", + "instrumentation": "opentelemetry-instrumentation-fastapi==0.23b0", }, "flask": { "library": "flask >= 1.0, < 3.0", - "instrumentation": "opentelemetry-instrumentation-flask==0.23.dev0", + "instrumentation": "opentelemetry-instrumentation-flask==0.23b0", }, "grpcio": { "library": "grpcio ~= 1.27", - "instrumentation": "opentelemetry-instrumentation-grpc==0.23.dev0", + "instrumentation": "opentelemetry-instrumentation-grpc==0.23b0", }, "httpx": { "library": "httpx >= 0.18.0, < 0.19.0", - "instrumentation": "opentelemetry-instrumentation-httpx==0.23.dev0", + "instrumentation": "opentelemetry-instrumentation-httpx==0.23b0", }, "jinja2": { "library": "jinja2~=2.7", - "instrumentation": "opentelemetry-instrumentation-jinja2==0.23.dev0", + "instrumentation": "opentelemetry-instrumentation-jinja2==0.23b0", }, "mysql-connector-python": { "library": "mysql-connector-python ~= 8.0", - "instrumentation": "opentelemetry-instrumentation-mysql==0.23.dev0", + "instrumentation": "opentelemetry-instrumentation-mysql==0.23b0", }, "psycopg2": { "library": "psycopg2 >= 2.7.3.1", - "instrumentation": "opentelemetry-instrumentation-psycopg2==0.23.dev0", + "instrumentation": "opentelemetry-instrumentation-psycopg2==0.23b0", }, "pymemcache": { "library": "pymemcache ~= 1.3", - "instrumentation": "opentelemetry-instrumentation-pymemcache==0.23.dev0", + "instrumentation": "opentelemetry-instrumentation-pymemcache==0.23b0", }, "pymongo": { "library": "pymongo ~= 3.1", - "instrumentation": "opentelemetry-instrumentation-pymongo==0.23.dev0", + "instrumentation": "opentelemetry-instrumentation-pymongo==0.23b0", }, "PyMySQL": { "library": "PyMySQL ~= 0.10.1", - "instrumentation": "opentelemetry-instrumentation-pymysql==0.23.dev0", + "instrumentation": "opentelemetry-instrumentation-pymysql==0.23b0", }, "pyramid": { "library": "pyramid >= 1.7", - "instrumentation": "opentelemetry-instrumentation-pyramid==0.23.dev0", + "instrumentation": "opentelemetry-instrumentation-pyramid==0.23b0", }, "redis": { "library": "redis >= 2.6", - "instrumentation": "opentelemetry-instrumentation-redis==0.23.dev0", + "instrumentation": "opentelemetry-instrumentation-redis==0.23b0", }, "requests": { "library": "requests ~= 2.0", - "instrumentation": "opentelemetry-instrumentation-requests==0.23.dev0", + "instrumentation": "opentelemetry-instrumentation-requests==0.23b0", }, "scikit-learn": { "library": "scikit-learn ~= 0.24.0", - "instrumentation": "opentelemetry-instrumentation-sklearn==0.23.dev0", + "instrumentation": "opentelemetry-instrumentation-sklearn==0.23b0", }, "sqlalchemy": { "library": "sqlalchemy", - "instrumentation": "opentelemetry-instrumentation-sqlalchemy==0.23.dev0", + "instrumentation": "opentelemetry-instrumentation-sqlalchemy==0.23b0", }, "starlette": { "library": "starlette ~= 0.13.0", - "instrumentation": "opentelemetry-instrumentation-starlette==0.23.dev0", + "instrumentation": "opentelemetry-instrumentation-starlette==0.23b0", }, "tornado": { "library": "tornado >= 6.0", - "instrumentation": "opentelemetry-instrumentation-tornado==0.23.dev0", + "instrumentation": "opentelemetry-instrumentation-tornado==0.23b0", }, "urllib3": { "library": "urllib3 >= 1.0.0, < 2.0.0", - "instrumentation": "opentelemetry-instrumentation-urllib3==0.23.dev0", + "instrumentation": "opentelemetry-instrumentation-urllib3==0.23b0", }, } default_instrumentations = [ - "opentelemetry-instrumentation-dbapi==0.23.dev0", - "opentelemetry-instrumentation-logging==0.23.dev0", - "opentelemetry-instrumentation-sqlite3==0.23.dev0", - "opentelemetry-instrumentation-urllib==0.23.dev0", - "opentelemetry-instrumentation-wsgi==0.23.dev0", + "opentelemetry-instrumentation-dbapi==0.23b0", + "opentelemetry-instrumentation-logging==0.23b0", + "opentelemetry-instrumentation-sqlite3==0.23b0", + "opentelemetry-instrumentation-urllib==0.23b0", + "opentelemetry-instrumentation-wsgi==0.23b0", ]