-
Notifications
You must be signed in to change notification settings - Fork 612
Closed
Labels
Description
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
- Fix PyPi deployment workflow - missing
pycountry
andpyairports
#934 - Exllamav2 Integration #1010 (comment)
- I've run into a few unreported headaches trying to test with pyairports as well.
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())