Skip to content

Commit

Permalink
Version 20220107
Browse files Browse the repository at this point in the history
  • Loading branch information
mborsetti committed Jan 7, 2022
1 parent c04fa1e commit b8d04f3
Show file tree
Hide file tree
Showing 6 changed files with 20 additions and 17 deletions.
4 changes: 2 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

# NOTE: in this package implementation, tox runs 'pre-commit run -a'

minimum_pre_commit_version: 2.15.0
minimum_pre_commit_version: 2.16.0

# Force all unspecified python hooks to run python3
default_language_version:
Expand Down Expand Up @@ -170,7 +170,7 @@ repos:

- repo: local
hooks:
- id: update_counts
- id: update_readme_counts
name: Update database counts in README.rst
entry: python update_readme_counts.py
language: system
9 changes: 9 additions & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,14 @@ on the UTC date of the release.

`Contributions <https://github.com/mborsetti/airportdata/blob/master/CHANGELOG.rst>`__ always welcomed!

Version 20220107
==================
* Replaced MHSC/XPL Coronel Enrique Soto Cano Air Base, Comayagua, Comayagua, Honduras with MHPR/XPL
Comayagua-Palmerola International Airport due to its conversion to a civil airport (started operations in
October 2021) and retirement of MHSC.
* Fixed typo in name of LHBP/BUD Budapest Liszt Ferenc International Airport, Budapest, Budapest, Hungary (contributed
upstream by `benelori <https://github.com/benelori>`__ in `#56 <https://github.com/mwgg/Airports/pull/56>`__).

Version 20211228.2
==================
* Upstream contributions by `rysiekpl <https://github.com/rysiekpl>`__ in `#54
Expand Down Expand Up @@ -45,6 +53,7 @@ Version 20210926
* Renamed KSJG to Northeast Florida Regional Airport (formerly St Augustine Airport)
* Upstream contributions by `himelsaha29 <https://github.com/himelsaha29>`__ in `#53
<https://github.com/mwgg/Airports/pull/53>`__:

* Added ``iata`` UST to KSJG Northeast Florida Regional Airport
* Added UAAL/USJ Usharal Airport, Usharal, Kazakhstan
* Added city to YBLN/BQB Busselton Regional Airport, Busselton, WA, Australia
Expand Down
16 changes: 5 additions & 11 deletions RELEASE.rst
Original file line number Diff line number Diff line change
@@ -1,11 +1,5 @@
* Upstream contributions by `rysiekpl <https://github.com/rysiekpl>`__ in `#54
<https://github.com/mwgg/Airports/pull/55>`__:

* Added EBMB Melsbroek Air Base, Brussels, Flanders, Belgium
* Added EPEK Ełk-Makosieje Airport, Giże, Warmia-Masuria, Poland
* Added EPGM Giżycko-Mazury Residence, Giżycko, Warmia-Masuria, Poland
* Fixed ``icao`` of EPRU/CZW Częstochowa-Rudniki Airport (was EPCH)
* Added EPSY Olsztyn-Mazury Airport, Szymany, Warmia-Mazury, Poland
* Added EPWT Watorowo Airport, Watorowo, Kuyavian-Pomerania, Poland
* Added ``iata`` ZWK to EPSU Suwalki Airport
* Restored most diacritical marks to ``icao`` entries starting with ``EP`` (Poland)
* Replaced MHSC/XPL Coronel Enrique Soto Cano Air Base, Comayagua, Comayagua, Honduras with MHPR/XPL
Comayagua-Palmerola International Airport due to its conversion to a civil airport (started operations in
October 2021) and retirement of MHSC.
* Fixed typo in name of LHBP/BUD Budapest Liszt Ferenc International Airport, Budapest, Budapest, Hungary (contributed
upstream by `benelori <https://github.com/benelori>`__ in `#56 <https://github.com/mwgg/Airports/pull/56>`__).
2 changes: 1 addition & 1 deletion airportsdata/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@

__project_name__ = __package__
# Release numbering follows the release data
__version__ = '20211228.2'
__version__ = '20220107'
__min_python_version__ = (3, 6)
__author__ = 'Mike Borsetti <mike@borsetti.com>'
__copyright__ = 'Copyright 2020- Mike Borsetti'
Expand Down
4 changes: 2 additions & 2 deletions airportsdata/airports.csv
Original file line number Diff line number Diff line change
Expand Up @@ -15734,7 +15734,7 @@
"LGZA","ZTH","Dionysios Solomos Airport","Zakynthos Island","Ionian-Islands","GR",15,37.7509002686,20.8843002319,"Europe/Athens"
"LHBA","","Balassagyarmat Airport","Balassagyarmat","Nograd","HU",466,48.078037262,19.3217487335,"Europe/Budapest"
"LHBC","","Bekescsaba Glider Airport","Bekescsaba","Bekes","HU",279,46.6758003235,21.1622009277,"Europe/Budapest"
"LHBP","BUD","Budapest Listz Ferenc international Airport","Budapest","Budapest","HU",495,47.4369010925,19.2555999756,"Europe/Budapest"
"LHBP","BUD","Budapest Liszt Ferenc International Airport","Budapest","Budapest","HU",495,47.4369010925,19.2555999756,"Europe/Budapest"
"LHBS","","Budaors Glider Airport","Budaors","Pest","HU",397,47.4510993958,18.9806003571,"Europe/Budapest"
"LHDC","DEB","Debrecen International Airport","Debrecen","Hajdu-Bihar","HU",359,47.488899231,21.6152992249,"Europe/Budapest"
"LHDK","","Dunakeszi Airport","Dunakeszi","Pest","HU",397,47.613899231,19.1432991028,"Europe/Budapest"
Expand Down Expand Up @@ -16734,6 +16734,7 @@
"MHPC","","Palacios Airport","Palacios","Gracias-a-Dios","HN",30,15.9549999237,-84.9413909912,"America/Tegucigalpa"
"MHPI","","Agropecuaria Piedra De Agua Azul Airport","Buena Vista","Choluteca","HN",56,13.2961111069,-87.3455581665,"America/Tegucigalpa"
"MHPL","PEU","Puerto Lempira Airport","Puerto Lempira","Gracias-a-Dios","HN",25,15.2622003555,-83.7811965942,"America/Tegucigalpa"
"MHPR","XPL","Comayagua-Palmerola International Airport","Comayagua","Comayagua","HN",2064,14.382333,-87.621167,"America/Tegucigalpa"
"MHPS","","Desvio Potrerillos Airport","El Encinal","Olancho","HN",395,14.5958328247,-86.1500015259,"America/Tegucigalpa"
"MHPV","","El Porvenir Airport","Manga","Colon","HN",69,15.5302782059,-86.2736129761,"America/Tegucigalpa"
"MHPY","","Payasito Airport","Farallones","Colon","HN",5,15.8758325577,-85.3969421387,"America/Tegucigalpa"
Expand All @@ -16746,7 +16747,6 @@
"MHRS","SDH","Santa Rosa Copan Airport","Santa Rosa de Copan","Copan","HN",2818,14.8149003983,-88.7515029907,"America/Tegucigalpa"
"MHRU","RUY","Copan Ruinas Airport","Ruinas de Copan","Copan","HN",1990,14.8402996063,-89.1439971924,"America/Tegucigalpa"
"MHRY","","Raya Airport","Raya","Gracias-a-Dios","HN",30,15.0663890839,-83.2972183228,"America/Tegucigalpa"
"MHSC","XPL","Coronel Enrique Soto Cano Air Base","Comayagua","Comayagua","HN",2061,14.382399559,-87.6212005615,"America/Tegucigalpa"
"MHSI","","Sico Airport","Sico","Colon","HN",20,15.818611145,-85.114440918,"America/Tegucigalpa"
"MHSJ","","San Jose Airport","Oropoli","El-Paraiso","HN",454,13.8277778625,-86.8102798462,"America/Tegucigalpa"
"MHSL","","San Lorenzo Airport","El Hato","Valle","HN",8,13.4422216415,-87.4597244263,"America/Tegucigalpa"
Expand Down
2 changes: 1 addition & 1 deletion tests/airportsdata_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -483,7 +483,7 @@ def test_data_quality():
def test_iata_integrity():
"""Test that there are no IATA code duplicates and that the function works correctly."""
iata = [airport['iata'] for airport in airports.values() if airport['iata']]
assert len(iata) == len(set(iata)) # no duplicate
assert set([x for x in iata if iata.count(x) > 1]) == set() # no duplicates
assert list(airports_iata.keys()) == iata # items returned is identical to those we just built


Expand Down

0 comments on commit b8d04f3

Please sign in to comment.