Upgrade pytest to v9
Open
Nobody has claimed this yet.
module: ci
- Dominant language
- Python
- Stars
- 5k
- Forks
- 1.2k
- Avg merge
- 2d 10h
- Merged PRs (30d)
- 581
Description
Pytest has released version 9.0, but we are seeing test failures after upgrading (example job). I'm pinning pytest<9.0 in https://github.com/pytorch/executorch/pull/15787 to unbreak CI, but we'll want to investigate the failure and remove the pin.
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 the linked example job to identify which tests fail under pytest 9.0, then inspect the pin to pytest<9.0 in pull request #15787. Reproduce the failure, update the affected tests or code, and verify CI passes with pytest 9.0 so the pin can be removed.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- ci-cd, testing-qa
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100