Skip to content

Conversation

lohmander
Copy link
Contributor

Had to fix import of python_2_unicode_compatible since it is removed from Django 3.

https://docs.djangoproject.com/en/3.0/releases/3.0/#removed-private-python-2-compatibility-apis

@zerolab
Copy link
Member

zerolab commented Feb 20, 2020

Thank you for this @lohmander,
I would make the case for dropping Python 2 support all together. Plus, flake8 complains that wagtailmedia/models.py:32:5: E731 do not assign a lambda expression, use a def

@lohmander
Copy link
Contributor Author

@zerolab alright, is this something that you're ready to do now? It's a bit unfortunate that the package doesn't work when installed on a fresh Wagtail install. :-/

@zerolab zerolab merged commit 0e3a760 into torchbox:master Feb 20, 2020
@zerolab
Copy link
Member

zerolab commented Feb 20, 2020

Let's get this in since it blocks new installs. Thank you @lohmander

@zerolab
Copy link
Member

zerolab commented Feb 20, 2020

@Chris-May
Copy link

Awesome! Thanks @lohmander and @zerolab for reporting and fixing this!

@thibaudcolas thibaudcolas linked an issue Feb 21, 2020 that may be closed by this pull request
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Drop python 2 support
3 participants