>>> from todosrht.app import db
/usr/lib/python3.7/site-packages/sqlalchemy/sql/functions.py:67: SAWarning: The GenericFunction 'array_agg' is already registered and is going to be overriden.
"is going to be overriden.".format(identifier)
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/lib/python3.7/site-packages/todosrht/app.py", line 3, in <module>
from todosrht.flask import TodoApp
File "/usr/lib/python3.7/site-packages/todosrht/flask.py", line 3, in <module>
from srht.flask import SrhtFlask
File "/usr/lib/python3.7/site-packages/srht/flask/__init__.py", line 8, in <module>
from .flask import DATE_FORMAT
File "/usr/lib/python3.7/site-packages/srht/flask/flask.py", line 10, in <module>
from srht.oauth.scope import set_client_id
File "/usr/lib/python3.7/site-packages/srht/oauth/__init__.py", line 28, in <module>
from srht.oauth.blueprint import oauth_blueprint
File "/usr/lib/python3.7/site-packages/srht/oauth/blueprint.py", line 8, in <module>
from srht.flask import csrf_bypass
ImportError: cannot import name 'csrf_bypass' from 'srht.flask' (/usr/lib/python3.7/site-packages/srht/flask/__init__.py)
Archlinux, latest todo.sr.ht and packages from all dbs.
Can you run updates (
pacman -Syu
) and try again?
It works now. Sorry about reporting for multiple projects, I only saw it on two so figured it was specific to those and forgot about python-srht core heh. -Michael.