Migrate flight_tool to fast-flights 3.x API

Open Beginner friendly
#702 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
84/100
Issue type
Refactor
Clarity
Clearly specified
Activity status
Active
Tech stack
python
Domain
tooling

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.

Description

stale

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

Dominant language
Python
Stars
11
Forks
43
Avg merge
1d 5h
Merged PRs (30d)
4

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from rossoctl/examples

All issues in rossoctl/examples

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.