Skip to content

Remove pyairports #1093

@lapp0

Description

@lapp0

What behavior of the library made you think about the improvement?

We currently rely on a poorly maintained package, pyairports. The way this package is structured has caused a few build / test issues

The only use for pyairports in outlines is outlines.types.airports, in which we load AIRPORT_IATA_LIST. pyairports isn't maintained, so the list is presumably out of date.

How would you like it to behave?

We should remove the pyairports dependency and use a different package.

import airportsdata
IATA_CODES = sorted(airportsdata.load().keys())

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions