diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index ee48a3f788..3820c7118d 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -97,3 +97,6 @@ jobs: key: v4-misc-tox-cache-${{ matrix.tox-environment }}-${{ hashFiles('tox.ini', 'dev-requirements.txt', 'gen-requirements.txt', 'docs-requirements.txt') }} - name: run tox run: tox -e ${{ matrix.tox-environment }} + - name: Ensure generated code is up to date + if: matrix.tox-environment == 'generate' + run: git diff --exit-code || (echo 'Generated code is out of date, please run "tox -e generate" and commit the changes in this PR.' && exit 1) diff --git a/opentelemetry-instrumentation/src/opentelemetry/instrumentation/bootstrap_gen.py b/opentelemetry-instrumentation/src/opentelemetry/instrumentation/bootstrap_gen.py index 282d4491ca..9b9d417f75 100644 --- a/opentelemetry-instrumentation/src/opentelemetry/instrumentation/bootstrap_gen.py +++ b/opentelemetry-instrumentation/src/opentelemetry/instrumentation/bootstrap_gen.py @@ -18,111 +18,111 @@ libraries = { "aiohttp": { "library": "aiohttp ~= 3.0", - "instrumentation": "opentelemetry-instrumentation-aiohttp-client==0.25b0", + "instrumentation": "opentelemetry-instrumentation-aiohttp-client==0.25b1", }, "aiopg": { "library": "aiopg >= 0.13.0, < 1.3.0", - "instrumentation": "opentelemetry-instrumentation-aiopg==0.25b0", + "instrumentation": "opentelemetry-instrumentation-aiopg==0.25b1", }, "asgiref": { "library": "asgiref ~= 3.0", - "instrumentation": "opentelemetry-instrumentation-asgi==0.25b0", + "instrumentation": "opentelemetry-instrumentation-asgi==0.25b1", }, "asyncpg": { "library": "asyncpg >= 0.12.0", - "instrumentation": "opentelemetry-instrumentation-asyncpg==0.25b0", + "instrumentation": "opentelemetry-instrumentation-asyncpg==0.25b1", }, "boto": { "library": "boto~=2.0", - "instrumentation": "opentelemetry-instrumentation-boto==0.25b0", + "instrumentation": "opentelemetry-instrumentation-boto==0.25b1", }, "botocore": { "library": "botocore ~= 1.0", - "instrumentation": "opentelemetry-instrumentation-botocore==0.25b0", + "instrumentation": "opentelemetry-instrumentation-botocore==0.25b1", }, "celery": { "library": "celery >= 4.0, < 6.0", - "instrumentation": "opentelemetry-instrumentation-celery==0.25b0", + "instrumentation": "opentelemetry-instrumentation-celery==0.25b1", }, "django": { "library": "django >= 1.10", - "instrumentation": "opentelemetry-instrumentation-django==0.25b0", + "instrumentation": "opentelemetry-instrumentation-django==0.25b1", }, "elasticsearch": { "library": "elasticsearch >= 2.0", - "instrumentation": "opentelemetry-instrumentation-elasticsearch==0.25b0", + "instrumentation": "opentelemetry-instrumentation-elasticsearch==0.25b1", }, "falcon": { "library": "falcon >= 2.0.0, < 4.0.0", - "instrumentation": "opentelemetry-instrumentation-falcon==0.25b0", + "instrumentation": "opentelemetry-instrumentation-falcon==0.25b1", }, "fastapi": { "library": "fastapi ~= 0.58", - "instrumentation": "opentelemetry-instrumentation-fastapi==0.25b0", + "instrumentation": "opentelemetry-instrumentation-fastapi==0.25b1", }, "flask": { "library": "flask >= 1.0, < 3.0", - "instrumentation": "opentelemetry-instrumentation-flask==0.25b0", + "instrumentation": "opentelemetry-instrumentation-flask==0.25b1", }, "grpcio": { "library": "grpcio ~= 1.27", - "instrumentation": "opentelemetry-instrumentation-grpc==0.25b0", + "instrumentation": "opentelemetry-instrumentation-grpc==0.25b1", }, "httpx": { "library": "httpx >= 0.18.0, < 0.19.0", - "instrumentation": "opentelemetry-instrumentation-httpx==0.25b0", + "instrumentation": "opentelemetry-instrumentation-httpx==0.25b1", }, "jinja2": { "library": "jinja2 >= 2.7, < 4.0", - "instrumentation": "opentelemetry-instrumentation-jinja2==0.25b0", + "instrumentation": "opentelemetry-instrumentation-jinja2==0.25b1", }, "mysql-connector-python": { "library": "mysql-connector-python ~= 8.0", - "instrumentation": "opentelemetry-instrumentation-mysql==0.25b0", + "instrumentation": "opentelemetry-instrumentation-mysql==0.25b1", }, "pika": { "library": "pika >= 1.1.0", - "instrumentation": "opentelemetry-instrumentation-pika==0.25b0", + "instrumentation": "opentelemetry-instrumentation-pika==0.25b1", }, "psycopg2": { "library": "psycopg2 >= 2.7.3.1", - "instrumentation": "opentelemetry-instrumentation-psycopg2==0.25b0", + "instrumentation": "opentelemetry-instrumentation-psycopg2==0.25b1", }, "pymemcache": { "library": "pymemcache ~= 1.3", - "instrumentation": "opentelemetry-instrumentation-pymemcache==0.25b0", + "instrumentation": "opentelemetry-instrumentation-pymemcache==0.25b1", }, "pymongo": { "library": "pymongo ~= 3.1", - "instrumentation": "opentelemetry-instrumentation-pymongo==0.25b0", + "instrumentation": "opentelemetry-instrumentation-pymongo==0.25b1", }, "PyMySQL": { "library": "PyMySQL ~= 0.10.1", - "instrumentation": "opentelemetry-instrumentation-pymysql==0.25b0", + "instrumentation": "opentelemetry-instrumentation-pymysql==0.25b1", }, "pyramid": { "library": "pyramid >= 1.7", - "instrumentation": "opentelemetry-instrumentation-pyramid==0.25b0", + "instrumentation": "opentelemetry-instrumentation-pyramid==0.25b1", }, "redis": { "library": "redis >= 2.6", - "instrumentation": "opentelemetry-instrumentation-redis==0.25b0", + "instrumentation": "opentelemetry-instrumentation-redis==0.25b1", }, "requests": { "library": "requests ~= 2.0", - "instrumentation": "opentelemetry-instrumentation-requests==0.25b0", + "instrumentation": "opentelemetry-instrumentation-requests==0.25b1", }, "scikit-learn": { "library": "scikit-learn ~= 0.24.0", - "instrumentation": "opentelemetry-instrumentation-sklearn==0.25b0", + "instrumentation": "opentelemetry-instrumentation-sklearn==0.25b1", }, "sqlalchemy": { "library": "sqlalchemy", - "instrumentation": "opentelemetry-instrumentation-sqlalchemy==0.25b0", + "instrumentation": "opentelemetry-instrumentation-sqlalchemy==0.25b1", }, "starlette": { "library": "starlette ~= 0.13.0", - "instrumentation": "opentelemetry-instrumentation-starlette==0.25b0", + "instrumentation": "opentelemetry-instrumentation-starlette==0.25b1", }, "tornado": { "library": "tornado >= 6.0", @@ -130,13 +130,13 @@ }, "urllib3": { "library": "urllib3 >= 1.0.0, < 2.0.0", - "instrumentation": "opentelemetry-instrumentation-urllib3==0.25b0", + "instrumentation": "opentelemetry-instrumentation-urllib3==0.25b1", }, } default_instrumentations = [ - "opentelemetry-instrumentation-dbapi==0.25b0", - "opentelemetry-instrumentation-logging==0.25b0", - "opentelemetry-instrumentation-sqlite3==0.25b0", - "opentelemetry-instrumentation-urllib==0.25b0", - "opentelemetry-instrumentation-wsgi==0.25b0", + "opentelemetry-instrumentation-dbapi==0.25b1", + "opentelemetry-instrumentation-logging==0.25b1", + "opentelemetry-instrumentation-sqlite3==0.25b1", + "opentelemetry-instrumentation-urllib==0.25b1", + "opentelemetry-instrumentation-wsgi==0.25b1", ]