scrapinghub / dateparser

python parser for human readable dates
BSD 3-Clause "New" or "Revised" License
2.55k stars 465 forks source link

error: venv/lib/python3.9/site-packages/dateparser/date_parser.py:35: PytzUsageWarning: The localize method is no longer necessary, as this time zone supports the fold attribute (PEP 495). For more details on migrating to a PEP 495-compliant implementation, see https://pytz-deprecation-shim.readthedocs.io/en/latest/migration.html #1050

Closed the1gofer closed 2 years ago

the1gofer commented 2 years ago

I'm getting venv/lib/python3.9/site-packages/dateparser/date_parser.py:35: PytzUsageWarning: The localize method is no longer necessary, as this time zone supports the fold attribute (PEP 495). For more details on migrating to a PEP 495-compliant implementation, see https://pytz-deprecation-shim.readthedocs.io/en/latest/migration.html

running 1.1.1, and I saw some similar discussions, but since I'm on the latest version it doesn't' look like it's fixed. The code keeps going, so I guess it's a warning, but it's breaking other things for me.

ian-barnes commented 2 years ago

Another duplicate of https://github.com/scrapinghub/dateparser/issues/1013

gutsytechster commented 2 years ago

This can be closed now with the merge of #1062