[Python] Remove nose support from server generators
This MR removes nose support from the Flask, aiohttp, and BluePlanet server generators. It removes the useNose option and Java API, makes the generators use their existing pytest configuration, and updates related requirements, tox and Travis configurations, documentation, samples, and ignore files. It also fixes Flask Travis to install test requirements and run pytest.
The change preserves existing dependency versions and Python support settings. Users who set useNose should remove that property. Custom templates or generated projects with nose configuration may need manual updates.
Validation: the focused Java tests passed (35 tests). The full Maven suite passed except for a remote fixture test blocked by sandbox network access; it passed on a network-enabled rerun. Python sample results matched their baselines, including the same existing failures. BluePlanet’s runtime could not be validated because Python 3.5 and a pinned dependency were unavailable.
PR checklist
- Read the contribution guidelines.
- Run the following to build the project and update samples:
./mvnw clean package || exit
./bin/generate-samples.sh ./bin/configs/*.yaml || exit
./bin/utils/export_docs_generators.sh || exit
(For Windows users, please run the script in WSL)
Commit all changed files.
This is important, as CI jobs will verify all generator outputs of your HEAD commit as it would merge with master.
These must match the expectations made by your contribution.
You may regenerate an individual generator by passing the relevant config(s) as an argument to the script, for example ./bin/generate-samples.sh bin/configs/java*.
IMPORTANT: Do NOT purge/delete any folders/files (e.g. tests) when regenerating the samples as manually written tests may be removed.
- If your PR is targeting a particular programming language, @mention the technical committee members, so they are more likely to review the pull request.