Remove the opentelemetry-api pin from the e2e test requirements
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 65/100
Research direction
Start by checking whether FastAPI or OpenTelemetry has released a version compatible with the changed get_logger() signature. If so, remove the pin and its comment from test/e2e/test-files/requirements.txt, then run the Python app tests on Windows with @:apps @:win. Done when those tests pass without the opentelemetry-api<1.46 pin.
Written by the indexing model from the issue text.
Description
Summary
The FastAPI and Gradio e2e app tests started failing on Windows on Dec 4. opentelemetry-api 1.46.0 changed get_logger() so the name is the only argument you can pass by position. fastapi 0.165.1 still passes more than that from its built-in telemetry, so every request to a FastAPI app (and Gradio, which runs on FastAPI) fails with a TypeError and returns 500.
As a stopgap, the e2e test requirements now pin opentelemetry-api<1.46.
Request
Check whether fastapi (or opentelemetry) has shipped a compatible release. If it has, remove the opentelemetry-api<1.46 line and its comment from test/e2e/test-files/requirements.txt, and confirm the Python app tests pass on Windows (@:apps @:win).
Impact
Leaving the pin in place keeps the test environment on an old opentelemetry version and hides any future breakage until someone removes it.
- Dominant language
- TypeScript
- Stars
- 4.4k
- Forks
- 207
- Avg merge
- 1d 16h
- Merged PRs (30d)
- 308
Getting set up
Starts the project's dev container in your browser, under your own GitHub account.
- No Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from posit-dev/positron
-
area: assistant area: ui
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
Maintainers usually reply within 1 day
-
accessibility area: plots area: ui
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Maintainers usually reply within 1 day
-
area: plots area: ui bug
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Maintainers usually reply within 1 day
-
area: kernels lang: r
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
posit-dev/positron#17575 · 2 comments ·
Maintainers usually reply within 1 day
-
Memory meter counts page cache as used memory under a cgroup limitPossibly taken @jmcphers claimed this 10 days ago. Openarea: workbench bug memory-use support
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
posit-dev/positron#17414 · 1 comment · 1 assignee ·
Maintainers usually reply within 1 day
All issues in posit-dev/positron
Similar issues
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
Vessel9817/onion-site-template#512 ·
Maintainers usually reply within 1 day
-
nightly-tests
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
BlackBeltTechnology/pi-agent-dashboard#1256 ·
Maintainers usually reply within 1 day
-
approved
Difficulty 2/5 1-3 hours Newbie friendliness 85/100
fritzprix/libr-agent#3266 ·
Maintainers usually reply within 1 day
-
Difficulty 1/5 Under an hour Newbie friendliness 88/100
better-auth/better-auth#13101 · 1 comment · 1 reaction ·
Maintainers usually reply within 1 day