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
Django 3.0 issues #132
Comments
I'm getting the same error "ImportError: cannot import name 'python_2_unicode_compatible'". Have you found any solution? |
That might be related to Django 3 not supporting python 2.x any more. |
Just added a pull request to resolve the issue. |
Bump on getting this merged - we have vendor in this package and patch since we moved to Django 3. Anything we can do to help? |
For second issue, maybe you can copy the six.py from C:\Program Files\JetBrains\PyCharm 2018.3.5\helper(this is my folder) to D:\Anaconda3.5\Lib\site-packages\django\utils(this is my folder). For first issue, use the code below: |
The build on the PR is failing FWIW. cc: @fsecada01 |
Will go through and see what the culprit is. In the interim, if anyone wants to suggest changes to the pull request, feel free. |
So the testing with Travis is failing for all versions of Python except 3.8, and the culprit is the |
Any updates on this? |
Not really. I cannot pinpoint where the testing failures are taking place in the Travis builds. I've tried to experiment with Jenkins and local builds of Travis so I can do iterative testing but those efforts have not been successful. At this stage, I will be trying pyenv to do some granular checking, but failing that, I have no real idea of how to proceed. Really, @Siecje's pull seems to be the best step moving forward, since his pull request passes through Travis. The issue, however, is that it removes Py2 functionality and each subsequent of |
So I'm using Tox and nothing works at all. I'm abandoning my efforts to get this working because I can't even be bothered, anymore. I might as well just uninstall this module and build invitation features myself. |
If you are using Django3 you are not using Python2. You can just remove the six imports and it will work. |
Moreso, |
I just updated the |
Thanks everyone and apologies for not sorting this out sooner. I definitely do not care about supporting Python 2 since it's EOL. @fsecada01 can we go with your PR, remove all the six stuff and I think tests should be passing? If all good I can cut a new release today/tomorrow. |
Tests have passed since pinning |
So, until the PR has been merged - how can I access the package myself and remove the |
You can install my fork for the interim. Just list the git link in your requirements. https://github.com/fsecada01/django-invitations/archive/master.zip However, the PR has been merged with the developer branch, so I imagine that @bee-keeper is doing their internal testing before merging into the main branch. Shouldn't be too long now! |
Fixed in #140 I'll release a new version over the weekend. Thanks everyone for contributions. |
After installing Django 3rd versions the package has errors:
and
The text was updated successfully, but these errors were encountered: