Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
23 commits
Select commit Hold shift + click to select a range
7247215
fix: separate pylint config for opentracing example to resolve FIXME
chimchim89 Apr 3, 2026
e077525
chore: regenerate workflows for opentracing example lint env
chimchim89 Apr 3, 2026
23a4225
fix: remove pylint disable and resolve FIXME in opentracing example
chimchim89 Apr 3, 2026
f86bdf0
fix: use dedicated .pylintrc for opentracing example and add newline
chimchim89 Apr 4, 2026
a087728
feat(config): Add TracerProvider support for declarative config (#4985)
MikeGoldsmith Apr 8, 2026
b508f3a
feat(config): wire container resource detector via entry point loadin…
MikeGoldsmith Apr 8, 2026
063746b
feat(config): add host resource detector support for declarative conf…
MikeGoldsmith Apr 8, 2026
777526c
feat(config): Add MeterProvider support for declarative config (#4987)
MikeGoldsmith Apr 8, 2026
d6a9067
[chore]: update readme (#5060)
maryliag Apr 8, 2026
915f50e
misc: update version for codegen-json and proto-json packages (#5061)
herin049 Apr 9, 2026
35b63eb
feat: add experimental logger configurator (#4980)
herin049 Apr 9, 2026
5154471
Update version to 1.42.0.dev/0.63b0.dev (#5065)
otelbot[bot] Apr 9, 2026
9f980c3
opentelemetry-sdk: fix a bunch of wrong type imports (#5062)
xrmx Apr 9, 2026
8791d9e
eachdist.ini: opentelemetry-proto-json is still a prerelease (#5066)
xrmx Apr 10, 2026
affffd9
opentelemetry-sdk: fix a couple of unbound variables in tests (#5063)
xrmx Apr 10, 2026
e1044c3
Fix tracer_scope argument in benchmark test (#5078)
emdneto Apr 10, 2026
06233ad
feat(config): add service resource detector support for declarative c…
MikeGoldsmith Apr 10, 2026
d51fe6f
opentelemetry-sdk: make SynchronousMeasurementConsumer collect deadli…
xrmx Apr 13, 2026
4eceac9
Drop Python 3.9 support (#5076)
emdneto Apr 13, 2026
3c3b54a
Add logger exception support for logs API/SDK (#4908)
iblancasa Apr 13, 2026
bec4a11
feat(config): Add LoggerProvider support for declarative config (#4990)
MikeGoldsmith Apr 13, 2026
504b421
docs: add changelog entry for pylint config fix #5037
chimchim89 Apr 14, 2026
40c54fb
fix: resolve merge conflict in CHANGELOG.md
chimchim89 Apr 15, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 19 additions & 0 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -176,6 +176,25 @@ jobs:
- name: Run tests
run: tox -e lint-opentelemetry-opentracing-shim

lint-opentelemetry-opentracing-example:
name: opentelemetry-opentracing-example
runs-on: ubuntu-latest
timeout-minutes: 30
steps:
- name: Checkout repo @ SHA - ${{ github.sha }}
uses: actions/checkout@v4

- name: Set up Python 3.14
uses: actions/setup-python@v5
with:
python-version: "3.14"

- name: Install tox
run: pip install tox-uv

- name: Run tests
run: tox -e lint-opentelemetry-opentracing-example

lint-opentelemetry-opencensus-shim:
name: opentelemetry-opencensus-shim
runs-on: ubuntu-latest
Expand Down
4 changes: 3 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- logs: add exception support to Logger emit and LogRecord attributes
([#4907](https://github.com/open-telemetry/opentelemetry-python/issues/4907))
- Drop Python 3.9 support
([#5076](https://github.com/open-telemetry/opentelemetry-python/pull/5076))
([#5076](https://github.com/open-telemetry/opentelemetry-python-contrib/pull/5076))
- Fix separate pylint config for opentracing example to resolve `# pylint: disable=import-error` workaround
([#5037](https://github.com/open-telemetry/opentelemetry-python/pull/5037))


## Version 1.41.0/0.62b0 (2026-04-09)
Expand Down
9 changes: 9 additions & 0 deletions docs/examples/opentracing/.pylintrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
[MASTER]
init-hook='import sys; sys.path.insert(0, ".")'

[MESSAGES CONTROL]
disable=missing-docstring,
too-few-public-methods

[FORMAT]
expected-line-ending-format=
7 changes: 2 additions & 5 deletions docs/examples/opentracing/rediscache.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,8 @@
import pickle
from functools import wraps

# FIXME The pylint disablings are needed here because the code of this
# example is being executed against the tox.ini of the main
# opentelemetry-python project. Find a way to separate the two.
import redis # pylint: disable=import-error
import redis_opentracing # pylint: disable=import-error
import redis
import redis_opentracing


class RedisCache:
Expand Down
11 changes: 11 additions & 0 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ envlist =
py3{10,11,12,13,14,14t}-test-opentelemetry-opentracing-shim
pypy3-test-opentelemetry-opentracing-shim
lint-opentelemetry-opentracing-shim
lint-opentelemetry-opentracing-example

py3{10,11,12,13,14}-test-opentelemetry-opencensus-shim
; opencensus-shim intentionally excluded from pypy3 (grpcio install fails)
Expand Down Expand Up @@ -406,3 +407,13 @@ deps =
pre-commit
commands =
pre-commit run --color=always --all-files {posargs}

[testenv:lint-opentelemetry-opentracing-example]
deps =
-r dev-requirements.txt
-r {toxinidir}/docs/examples/opentracing/requirements.txt
setenv =
PYTHONPATH = {toxinidir}/docs/examples/opentracing
commands =
pylint --rcfile {toxinidir}/docs/examples/opentracing/.pylintrc {toxinidir}/docs/examples/opentracing

Loading