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

fail to import scirisweb with werkzeug 2.1.X (tested with 2.1.0 and 2.1.1) #46

Closed
pausz opened this issue Apr 27, 2022 · 3 comments
Closed
Labels
bug Something isn't working
Milestone

Comments

@pausz
Copy link
Contributor

pausz commented Apr 27, 2022

----> 1 import scirisweb

File ~/Projects/scirisweb/scirisweb/__init__.py:17, in <module>
     15 from .sw_tasks     import * # analysis:ignore
     16 from .sw_datastore import * # analysis:ignore
---> 17 from .sw_app       import * # analysis:ignore
     18 from .sw_server    import *

File ~/Projects/scirisweb/scirisweb/sw_app.py:27, in <module>
     25 from twisted.web.static import File
     26 from twisted.web.wsgi import WSGIResource
---> 27 from werkzeug.serving import run_with_reloader
     28 from werkzeug.exceptions import HTTPException
     29 from werkzeug.utils import secure_filename

ImportError: cannot import name 'run_with_reloader' from 'werkzeug.serving' (/home/paula/anaconda3/envs/py39-sciris-dev/lib/python3.9/site-packages/Werkzeug-2.1.1-py3.9.egg/werkzeug/serving.py)
@pausz
Copy link
Contributor Author

pausz commented Apr 27, 2022

Quick fix: temporarily downgrade to werkzeug 2.0.3

@pausz pausz changed the title fail to import scirisweb with werkzeug 2.1.1 fail to import scirisweb with werkzeug 2.1.X (tested with 2.1.0 and 2.1.1) Apr 27, 2022
@pausz pausz added the dependencies Pull requests that update a dependency file label May 2, 2022
@cliffckerr cliffckerr added this to the rc1.0.0 milestone Dec 3, 2022
@cliffckerr
Copy link
Member

See #52

@cliffckerr cliffckerr added bug Something isn't working and removed dependencies Pull requests that update a dependency file labels Aug 4, 2023
@cliffckerr
Copy link
Member

Fixed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants