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 <emoll...@debian.org>
 : :' :  pgp: 8f91 b227 c7d6 f2b1 948c  8236 793c f67e 8f0d 11da
 `. `'   sent from /dev/pts/3, please excuse my verbosity
   `-

Attachment: signature.asc
Description: PGP signature

Reply via email to