The metar test fails because "known" duplicates have changed
libgweather 4.0.0: libgweather/tests/metar.c
The test fails because the known_duplicates
array is obsolete (as of April 9th, 2022, the duplicate list is "PAEC", "KMTR", "KHQG"). Since this list is not up to date, some duplicates are counted, but not inserted, so that the assertion num_stations == g_hash_table_size (stations_ht)
fails.
Since the action when the duplicate is known is just to discard it, I'd suggest not to test whether the duplicate is "known" (since this can change over time), and just discard any duplicate. I can make a MR if needed.