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

Drop support for Python 2 in template generation hooks #5614

Merged
merged 1 commit into from
Jan 9, 2025

Conversation

browniebroke
Copy link
Member

@browniebroke browniebroke commented Dec 31, 2024

Description

Python 2.7 has been EOL for 5 years, it's time. This PR is not fixing all the issues but remove the comment at the top of each file as well as the most obvious changes. The rest will be fixed either automatically in #5613 or manually as a follow up change.

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

Enable us to use modern syntax in prr/post-generation hooks

@browniebroke browniebroke merged commit c5b60d2 into cookiecutter:master Jan 9, 2025
14 checks passed
@browniebroke browniebroke deleted the drop-python-2-hooks branch January 9, 2025 20:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant