open-telemetry / open-telemetry/opentelemetry-python-contrib
grpc-instrumentation: simplify tests-requirements here to use latest-oldest testing pattern
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 1.1k
- Forks
- 1.1k
- Avg merge
- 4d 15h
- Merged PRs (30d)
- 16
Description
The idea here is to modify grpc tests that runs in tox to follow latest-oldest pattern we follow in other instrumentations, like: https://github.com/open-telemetry/opentelemetry-python-contrib/blob/main/tox.ini#L192.
For that we need to:
- create test-requirements.in
- Generate test-requirements.oldest.txt and test-requirements.latest.txt from uv pip compile commands
- Update tox.ini to reference the generated files
grpc-instrumentation: simplify tests-requirements here to use latest-oldest testing pattern
Originally posted by @emdneto in #4193
Contributor 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.
Research direction
Start with tox.ini and the latest-oldest pattern around the referenced line, then inspect the grpc instrumentation's existing test requirements. Create test-requirements.in, generate test-requirements.oldest.txt and test-requirements.latest.txt with the specified uv pip compile commands, and update tox.ini to use them. Done means the grpc tests run under tox with both generated requirement sets.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- build-system, testing-qa
- Issue type
- Refactor
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 68/100