Skip to content

Commit

Permalink
Version 20230323
Browse files Browse the repository at this point in the history
  • Loading branch information
mborsetti committed Mar 23, 2023
1 parent e255322 commit afab80d
Show file tree
Hide file tree
Showing 7 changed files with 15 additions and 35 deletions.
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ minimum_pre_commit_version: 3.1.1

# Force all unspecified python hooks to run python3
default_language_version:
python: python3
python: python3

# A list of repository mappings.
repos:
Expand Down
4 changes: 4 additions & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ on the UTC date of the release.

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

20230323
==================
* Added ZUTF/TFU, Chengdu/Tianfu Airport, Tianfu, Sichuan, China


20230303
==================
Expand Down
4 changes: 2 additions & 2 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
airportsdata
============

.. |ICAO| replace:: 28,130
.. |ICAO| replace:: 28,131

.. |IATA| replace:: 6,478
.. |IATA| replace:: 6,479

.. |LID| replace:: 12,566

Expand Down
27 changes: 1 addition & 26 deletions RELEASE.rst
Original file line number Diff line number Diff line change
@@ -1,26 +1 @@
* Better documented our use of pseudo-ICAO Identifiers.
* Reworded the IATA Multi Airport Cities page.
* Removed IATA code QUS from DNGU, Gusau Airport, Gusau, Zamfara, Nigeria (code not in IATA database).
* Implemented suggestions made upstream by `Nicolas Bridoux
<https://github.com/Bridouille>`__ in issue `#80 <https://github.com/mborsetti/airportsdata/issues/80>`__:

* Added:

- AYLO/LWI, Lowai Airstrip, Lowai, Morobe Province, Papua New Guinea
- LTCW/YKO, Yüksekova Selahaddin Eyyubi Airport, Yüksekova, Hakkari, Turkey
- MPRH/RIH, Río Hato Airport, Río Hato, Coclé, Panama
- UWSG/GSV, Gagarin Airport, Saratov, Saratov, Russia
- ZSSM/SQJ, Sanming Shaxian Airport, Sanming, Fujian, China
* Added IATA code and updated ICAO one:

- VEDH/DBR, Darbhanga Airport, Bihar, India (was VE89)
- VOTK/TCR, Tuticorin Southwest Airport, Tamil-Nadu, India (was VO80)
* Added IATA code:

- 5MS1/RFK, Rollang Field, Rolling Fork, Mississippi, USA
- KTHM/THM, Thompson Falls Airport, Thompson Falls, Montana, USA
- MMSM/NLU, Santa Lucia Air Force Base, Reyes Acozac, Mexico
- SKSA/RVE, Los Colonizadores Airport, Saravena, Arauca, Colombia
- SKVG/VGZ, Villagarzon Airport, Villagarzon, Putumayo, Colombia
- YBGD/OCM, Boolgeeda Airport, Western Australia, Australia
* Added ``tox-ini-fmt`` to ``pre-commit`` to apply a consistent format to tox.ini files.
* Added ZUTF/TFU, Chengdu/Tianfu Airport, Tianfu, Sichuan, China
2 changes: 1 addition & 1 deletion airportsdata/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

__project_name__ = __package__
# Release numbering follows the release date
__version__ = '20230303'
__version__ = '20230323'
__min_python_version__ = (3, 8)
__author__ = 'Mike Borsetti <mike@borsetti.com>'
__copyright__ = 'Copyright 2020- Mike Borsetti'
Expand Down
1 change: 1 addition & 0 deletions airportsdata/airports.csv
Original file line number Diff line number Diff line change
Expand Up @@ -28084,6 +28084,7 @@
"ZUNZ","LZY","Nyingchi Airport","Nyingchi","Tibet","CN",9675,29.3033008575,94.3352966309,"Asia/Shanghai",""
"ZUQJ","JIQ","Qianjiang Wulingshan Airport","Chongqing","Chongqing","CN",1365,29.514559,108.83371499999998,"Asia/Shanghai",""
"ZUTC","TCZ","Tengchong Tuofeng Airport","Tengchong","Yunnan","CN",6250,24.9380555556,98.4858333333,"Asia/Shanghai",""
"ZUTF","TFU","Chengdu/Tianfu Airport","Tianfu","Sichuan","CN",1453,30.29,104.443333,"Asia/Shanghai",""
"ZUTR","TEN","Tongren Fenghuang Airport","","Hunan","CN",0,27.883333,109.308889,"Asia/Shanghai",""
"ZUUU","CTU","Chengdu Shuangliu International Airport","Chengdu","Sichuan","CN",1625,30.5785007477,103.9469985962,"Asia/Shanghai",""
"ZUWX","WXN","Wanxian Airport","Wanxian","Chongqing","CN",0,30.8017,108.433,"Asia/Shanghai",""
Expand Down
10 changes: 5 additions & 5 deletions tests/test_airportsdata.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@


airports_icao = airportsdata.load('ICAO')
iso_3166_1 = [
iso_3166_1 = {
'AF',
'AX',
'AL',
Expand Down Expand Up @@ -269,11 +269,11 @@
'YE',
'ZM',
'ZW',
] # As of 2020-11-06
} # As of 2020-11-06
# There is no ISO 3166-1 country code for the Republic of Kosovo, however 'XK' is a self assigned code that is used by
# many international organisations per https://en.wikipedia.org/wiki/ISO_3166-2:RS#Note
iso_3166_1.append('XK')
tz_deprecated = [
iso_3166_1.add('XK')
tz_deprecated = {
'Africa/Asmera',
'Africa/Timbuktu',
'America/Argentina/ComodRivadavia',
Expand Down Expand Up @@ -443,7 +443,7 @@
'W-SU',
'WET',
'Zulu',
] # from https://www.php.net/timezones.others 2020-11-08; UTC kept in the list as it's non-geographical
} # from https://www.php.net/timezones.others 2020-11-08; UTC kept in the list as it's non-geographical


def test_loading() -> None:
Expand Down

0 comments on commit afab80d

Please sign in to comment.