Migrate flight_tool to fast-flights 3.x API
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 11
- Forks
- 43
- Avg merge
- 1d 5h
- Merged PRs (30d)
- 4
Description
mcp/flight_tool/flight_tool.py uses the fast-flights 2.x API. Dependabot #676 bumps fast-flights 2.2 → 3.0.2, which fails test-startup:
ImportError: cannot import name 'FlightData' from 'fast_flights'
fast-flights 3.x is a breaking major release that relocated the public API (FlightData and the symbols imported alongside it). Migrating requires updating the imports in flight_tool.py to the 3.x paths.
Closing #676 in favor of a proper migration.
Assisted-By: Claude Code
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 mcp/flight_tool/flight_tool.py and inspect its fast-flights imports, especially FlightData and the symbols imported alongside it. Check the fast-flights 3.x public API paths, update those imports, and run test-startup to confirm the migration no longer raises ImportError.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- tooling
- Issue type
- Refactor
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Active
- Clarity
- Clearly specified
- Newbie friendliness
- 84/100