Bug#1017573: python3-ulmo: autopkgtest fail with pandas 1.4

Rebecca N. Palmer rebecca_palmer at zoho.com
Wed Aug 17 22:25:35 BST 2022


Package: python3-ulmo
Version: 0.8.8+dfsg1-1
Severity: important

Autopkgtest fail with pandas 1.4.3 (currently in experimental):

______________________________ test_get_stations 
_______________________________

     def test_get_stations():
         stations_file = 'cdec/historical/all_stations.csv'
         with test_util.mocked_urls(stations_file):
 >           stations = ulmo.cdec.historical.get_stations()

test/cdec_historical_test.py:11:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
_ _ _ _
ulmo/cdec/historical/core.py:79: in get_stations
     df = pd.read_csv(url, names=col_names, header=None, 
quotechar="'",index_col=0)
[...]
E   pandas.errors.ParserError: Error tokenizing data. C error: Expected 
7 fields in line 190, saw 8

https://ci.debian.net/packages/p/python-ulmo/unstable/amd64/

(Note that this is a different, though similarly named, test from the 
ones that recently started failing with or without the new pandas.)

As far as I can tell, upstream are not aware of this.

_Possibly_ related, either as a cause or as a potential fix:
https://github.com/pandas-dev/pandas/issues/22144



More information about the debian-science-maintainers mailing list