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

abandonned dependency: flask-restplus #14

Open
noraj opened this issue May 6, 2020 · 0 comments
Open

abandonned dependency: flask-restplus #14

noraj opened this issue May 6, 2020 · 0 comments

Comments

@noraj
Copy link

noraj commented May 6, 2020

Traceback (most recent call last):                                                                                                                                                                                                            
  File "/usr/bin/autopwn", line 11, in <module>                                                                                                                                                                                               
    load_entry_point('autopwn==2.0.0', 'console_scripts', 'autopwn')()                                                                                                                                                                        
  File "/usr/lib/python3.8/site-packages/pkg_resources/__init__.py", line 490, in load_entry_point                                                                                                                                            
    return get_distribution(dist).load_entry_point(group, name)                                                                                                                                                                               
  File "/usr/lib/python3.8/site-packages/pkg_resources/__init__.py", line 2859, in load_entry_point                                                                                                                                           
    return ep.load()                                                                                                                                                                                                                          
  File "/usr/lib/python3.8/site-packages/pkg_resources/__init__.py", line 2450, in load                                                                                                                                                       
    return self.resolve()                                                                                                                                                                                                                     
  File "/usr/lib/python3.8/site-packages/pkg_resources/__init__.py", line 2456, in resolve                                                                                                                                                    
    module = __import__(self.module_name, fromlist=['__name__'], level=0)                                                                                                                                                                     
  File "/usr/lib/python3.8/site-packages/autopwn2/app.py", line 7, in <module>                                                                                                                                                                
    from autopwn2.api import api                                                                                                                                                                                                              
  File "/usr/lib/python3.8/site-packages/autopwn2/api/__init__.py", line 4, in <module>                                                                                                                                                       
    from flask_restplus import Api                                                                                                                                                                                                            
  File "/usr/lib/python3.8/site-packages/flask_restplus/__init__.py", line 4, in <module>                                                                                                                                                     
    from . import fields, reqparse, apidoc, inputs, cors                                                                                                                                                                                      
  File "/usr/lib/python3.8/site-packages/flask_restplus/fields.py", line 17, in <module>
    from werkzeug import cached_property
ImportError: cannot import name 'cached_property' from 'werkzeug' (/usr/lib/python3.8/site-packages/werkzeug/__init__.py)

Because of noirbizarre/flask-restplus#777, but if you look at noirbizarre/flask-restplus#778 (comment) and noirbizarre/flask-restplus#777 (comment) it says:

flask-restplus work has been discontinued due to maintainers not having pypi keys. See the drop in replacement, flask-restx. It's an official fork by the maintainer team. We have already fixed the issue there

No. Flask-restplus is no longer maintained. The former maintainers do not have privileges to push to pypi, and after many months of trying, we forked the project. Check out flask-restx. It's a drop in replacement and we are roadmapping, designing, and making fixes...for instance, we already patched for Werkzeug

So I think a move from flask-restplus to flask-restx is required

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

No branches or pull requests

1 participant