[Python-modules-team] Bug#954907: python3-dateparser: Warning with autopkgtest when python3.8 is default
Hi, The warning is raised here [0]. The date_formats should be a list, and in this test is parametrized a string. If a list is set on the date_formats the warning does not emitted. I created this issue on upstream [1]. What is your opinion? Make an patch or we wait for an upstream response? [0] https://salsa.debian.org/python-team/modules/dateparser/-/blob/master/tests/test_date.py#L302 [1] https://github.com/scrapinghub/dateparser/issues/688 Cheers, Arias Emmanuel @eamanu yaerobi.com ___ Python-modules-team mailing list Python-modules-team@alioth-lists.debian.net https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/python-modules-team
[Python-modules-team] Bug#954907: python3-dateparser: Warning with autopkgtest when python3.8 is default
Hi, The warning is still happen on 0.7.4-1 version. ``` /tmp/autopkgtest.anahCe/build.ib1/src/dateparser/date.py:138: FutureWarning: Date formats should be list, tuple or set of strings warn(_DateLocaleParser.DATE_FORMATS_ERROR_MESSAGE, FutureWarning) ``` I will investigate. Cheers, eamanu ___ Python-modules-team mailing list Python-modules-team@alioth-lists.debian.net https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/python-modules-team
[Python-modules-team] Bug#954907: python3-dateparser: Warning with autopkgtest when python3.8 is default
Control: tags -1 worksforme On 2020-03-25 02:39:49, Scott Kitterman wrote: > Package: python3-dateparser > Version: 0.7.2-1 > Severity: normal > > While investigatin a resolution for #954147, I noticed the following > warning being emitted. Presumably this will turn to an error in the > future and should, at some point, be addressed: > > tmp/autopkgtest.ced6Wo/build.9qW/real-tree/dateparser/date.py:142: > FutureWarning: Date formats should be list, tuple or set of strings > warn(_DateLocaleParser.DATE_FORMATS_ERROR_MESSAGE, FutureWarning) Hi! Could you check if this still occurs in the latest version just uploaded to sid? The warning doesn't occur at build time at least... a. -- Imagine a world in which every single person on the planet is given free access to the sum of all human knowledge. - Jimmy Wales, co-founder of Wikipedia ___ Python-modules-team mailing list Python-modules-team@alioth-lists.debian.net https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/python-modules-team
[Python-modules-team] Bug#954907: python3-dateparser: Warning with autopkgtest when python3.8 is default
Package: python3-dateparser Version: 0.7.2-1 Severity: normal While investigatin a resolution for #954147, I noticed the following warning being emitted. Presumably this will turn to an error in the future and should, at some point, be addressed: tmp/autopkgtest.ced6Wo/build.9qW/real-tree/dateparser/date.py:142: FutureWarning: Date formats should be list, tuple or set of strings warn(_DateLocaleParser.DATE_FORMATS_ERROR_MESSAGE, FutureWarning) Scott K ___ Python-modules-team mailing list Python-modules-team@alioth-lists.debian.net https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/python-modules-team