Work only in the supplied repository. You have 20 minutes from delivery of this prompt to your final response. Read BENCH_REQUIREMENTS.md and complete that job. The source is historical Flask 2.2.5, used as a controlled engineering fixture, not a current production recommendation.

You may read and change source, tests, documentation and packaging files in this checkout; run local commands, tests and builds; and use the supplied preinstalled Python dependencies. Do not access other workspaces, personal files, credentials, external accounts, browsers, plugins or MCP servers. Do not install packages, use network tools, push, publish, spend money or change the supplied runtime. Provider inference is handled by the product's authentication outside the repository. There is no remote Git destination.

Run the existing upstream pytest suite and add meaningful job-specific tests. Do not delete, skip, weaken or broadly suppress tests or warnings to make a result look green. For the migration, narrowly update tests only when a removed dependency API requires an equivalent check; explain every such change. Preserve Flask behavior unrelated to this job. Do not copy a newer entire Flask release over this checkout.

Work autonomously. If blocked by a missing permission or environment problem, state exactly what is missing. If you think you are finished, stop and report the changed files, commands actually run and their results, and remaining issues. A final claim of success will be checked against independent acceptance tests and regression checks after your run.
