[Bug 2003571] [NEW] Autopkgtest is failing
Launchpad Bug Tracker
2003571 at bugs.launchpad.net
Fri Jan 20 18:17:09 UTC 2023
You have been subscribed to a public bug by Olivier Gayot (ogayot):
Recent autopkgtests runs fail with the following errors:
=================================== FAILURES ===================================
__________________________ test_get_stations_as_dicts __________________________
def test_get_stations_as_dicts():
with test_util.mocked_urls('ncdc/ghcnd/ghcnd-stations.txt'):
stations = ghcn_daily.get_stations()
assert len(stations) > 80000
for test_station in test_stations:
station_id = test_station.get('id')
> assert stations.get(station_id) == test_station
E AssertionError: assert {'country': '...': 'HCN', ...} == {'country': '...': 'HCN', ...}
E Omitting 9 identical items, use -vv to show
E Differing items:
E {'longitude': -82.2197} != {'longitude': -82.2203}
E {'elevation': 325.8} != {'elevation': 286.5}
E {'latitude': 34.8833} != {'latitude': 34.8831}
E Use -v to get more diff
test/ghcn_daily_test.py:130: AssertionError
________________________ test_get_stations_as_dataframe ________________________
def test_get_stations_as_dataframe():
with test_util.mocked_urls('ncdc/ghcnd/ghcnd-stations.txt'):
stations = ghcn_daily.get_stations(as_dataframe=True)
assert len(stations) > 80000
for test_station in test_stations:
station_id = test_station.get('id')
station = stations.xs(station_id)
station_dict = util.misc._nans_to_nones(station.to_dict())
> assert station_dict == test_station
E AssertionError: assert {'country': '...': 'HCN', ...} == {'country': '...': 'HCN', ...}
E Omitting 9 identical items, use -vv to show
E Differing items:
E {'longitude': -82.2197} != {'longitude': -82.2203}
E {'elevation': 325.8} != {'elevation': 286.5}
E {'latitude': 34.8833} != {'latitude': 34.8831}
E Use -v to get more diff
There is an existing PR upstream which seems to fix the issue:
https://github.com/ulmo-dev/ulmo/pull/214/
The problem also affects Debian and the PR upstream was opened by a
Debian contributor.
** Affects: python-ulmo (Ubuntu)
Importance: Undecided
Status: New
--
Autopkgtest is failing
https://bugs.launchpad.net/bugs/2003571
You received this bug notification because you are a member of Ubuntu Sponsors Team, which is subscribed to the bug report.
More information about the Ubuntu-sponsors
mailing list