[Debian-med-packaging] Bug#1044079: augur 24 still ftbfs against pandas 2.1.4

Étienne Mollier emollier at debian.org
Wed Feb 7 18:27:17 GMT 2024


Control: reopen -1

I must have mistaken something about pandas versions when
uploading augur 24.0.0, because the error is still there and is
now causing ftbfs again with at least pandas 2.1.4.  This is
still the same error in the same test:

	self = <test_parse.TestParse object at 0x7fc3d83abe50>
	capsys = <_pytest.capture.CaptureFixture object at 0x7fc3d81d59d0>
	
	    def test_fix_dates(self, capsys):
	        full_date = "4-5-2020"
	>       assert parse.fix_dates(full_date) == "2020-05-04"
	
	tests/test_parse.py:14: 
	_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
	
	d = '4-5-2020', dayfirst = True
	
	    def fix_dates(d, dayfirst=True):
	        '''
	        attempt to parse a date string using pandas date parser. If ambiguous,
	        the argument 'dayfirst' determines whether month or day is assumed to be
	        the first field. Incomplete dates will be padded with XX.
	        On failure to parse the date, the function will return the input.
	        '''
	        try:
	            from pandas.core.tools.datetimes import parsing
	>           results = parsing.parse_time_string(d, dayfirst=dayfirst)
	E           AttributeError: module 'pandas._libs.tslibs.parsing' has no attribute 'parse_time_string'

Too bad things looked promising,
-- 
  .''`.  Étienne Mollier <emollier at debian.org>
 : :' :  pgp: 8f91 b227 c7d6 f2b1 948c  8236 793c f67e 8f0d 11da
 `. `'   sent from /dev/pts/3, please excuse my verbosity
   `-
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/debian-med-packaging/attachments/20240207/12e023a3/attachment-0001.sig>


More information about the Debian-med-packaging mailing list