You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- Navigate to the **instrumentation package directory:**
284
-
- Update the respective instrumentation **`pyproject.toml`** file by modifying _instruments_ entry in the [project.optional-dependencies] section with the new version constraint
284
+
- Update the respective instrumentation **`pyproject.toml`** file by modifying _instruments_ entry in the `[project.optional-dependencies]` section with the new version constraint
285
285
- Update instrumentation **`package.py`** file in `_instruments` variable with the new version constraint
286
286
- At the **root of the project directory**, run `tox -e generate` to regenerate necessary files
287
287
288
288
If you're adding support for a new version of the instrumentation package, follow these additional steps:
289
289
290
290
- At the **instrumentation package directory:** Add new test-requirements.txt file with the respective package version required for testing
291
-
- At the **root of the project directory**: Add a new test environment entry for the package version in [tox.ini](./tox.ini) and run `tox -e generate-workflows` to regenerate new workflows accordingly. At the same file, search for `opentelemetry-instrumentation-{package}/test-requirements` and add a new line to point to the new test-requirements.txt you created in the previous step so tox can install the correct requirements.
291
+
- At the **root of the project directory**: Add a new test environment entry for the package version in [tox.ini](./tox.ini) and run `tox -e generate-workflows` to regenerate new workflows accordingly. In the same[tox.ini](./tox.ini) file, search for `opentelemetry-instrumentation-{package}/test-requirements` and add a new line to point to the new test-requirements.txt you created in the previous step so tox can install the correct requirements.
292
292
293
293
Example PRs: [#2976](https://github.com/open-telemetry/opentelemetry-python-contrib/pull/2976), [#2845](https://github.com/open-telemetry/opentelemetry-python-contrib/pull/2845)
0 commit comments