Skip to content
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

Remove pytz from dependencies #4309

Merged
merged 1 commit into from
May 4, 2023

Conversation

browniebroke
Copy link
Member

Description

Remove pytz from the dependencies.

Checklist:

  • I've made sure that tests are updated accordingly (especially if adding or updating a template option)
  • I've updated the documentation or confirm that my change doesn't require any updates

Rationale

Django 4.0 introduced support for zoneinfo from the Python standard library (added in Python 3.9), and using pytz is deprecated.

Users can keep using the deprecated library until Django 5.0 with the USE_DEPRECATED_PYTZ setting, but it's not set in the project, which means it's disabled, which means that pytz is not needed.

@browniebroke browniebroke merged commit 18a8ec3 into cookiecutter:master May 4, 2023
@browniebroke browniebroke deleted the remove/pytz branch May 4, 2023 08:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant