-
Notifications
You must be signed in to change notification settings - Fork 467
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chore: update Python version #1241
Conversation
dateparser/date_parser.py
Outdated
if hasattr(stz, "localize") and sys.version_info < (3, 6): | ||
if hasattr(stz, "localize") and sys.version_info < (3, 9): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this correct?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actually this is always False now, so this whole block can be removed. There may be other such places in the code so I suggest looking for them and cleaning them up, as a separate PR.
.github/workflows/main.yml
Outdated
env: | ||
TOXENV: twinecheck | ||
- python-version: "3.11" # Keep in sync with tox.ini | ||
- python-version: "3.13" # Keep in sync with tox.ini |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not sure why does this mention tox.ini as we usually need to sync this with .readthedocs.yml
(which wasn't changed in this PR, but we currently can't use 3.13 to build docs as RTD doesn't support that yet, so the docs Python version should be bumped only to 3.12.
Besides the test failures, it looks like all non-test envs (flake8, twinecheck, docs) run |
No description provided.