version 0.3.1 is not compatible with DRF 3.8 and produces ImportError
See original GitHub issueThe version 0.3.1 is not compatible with DRF 3.8. It seems that the master is, but the latest provided release to PyPI apparently not.
It produces an import error in the 0.3.1 code
Error:
...
File ".../site-packages/rest_framework_extensions/routers.py", line 7, in <module>
from rest_framework.routers import (
ImportError: cannot import name 'replace_methodname'
Culprit code of 0.3.1
# -*- coding: utf-8 -*-
from distutils.version import StrictVersion
from django.core.exceptions import ImproperlyConfigured
from django.core.urlresolvers import NoReverseMatch
import rest_framework
from rest_framework.routers import (
DefaultRouter,
SimpleRouter,
Route,
replace_methodname,
^^^^^^^^^^^^^^^^^^^
)
Issue Analytics
- State:
- Created 5 years ago
- Comments:15
Top Results From Across the Web
Current DRF-YASG version is not compatible with drf ... - GitHub
I have been facing an issue with drf-yasg==1.23.1 after the release of latest djangorestframework==3.14.0 . They have removed the support for ...
Read more >DRF ImportError: cannot import name 'action' on v3.8.2
My virtual environment and docker container were not using the same django rest framework version. I had to ssh into my docker container...
Read more >mypy-django/Lobby - Gitter
Hello everyone! I have a problem. I am working on a drf project and using InteliJ. I also tried using PyCharm. The problem...
Read more >DRF ImportError: cannot import name 'action' on v3.8.2-django
I'm running v 3.8.2 of DRF. I'm wondering if docker has anything to do with it. Maybe the interpreter is trying to use/find...
Read more >graphene-django-extras - PyPI
Changed dependency of DRF to 3.6.4 on setup.py file, to avoid an import error produced by some changes in new version of DRF=3.7.0...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Can you add instructions for installing from git to the README at least?
i have emailed the original author for a new pypi release.