I don't use python-formalchemy for years, and even requested for adoption for years. But I guess I known how this is coming.
python-formalchemy is a library depends on python-sqlalchemy. It was python-sqlalchemy 0.7 or 0.8 when I packed python-formalchemy. And python-sqlalchemy comes to 1.0 now. Exception package changed from 'sqlalchemy.exceptions' to 'sqlalchemy.exc', so the name not match. I checked homepage of this project. It's totally disappeared. Instead, I found it's repository here: https://github.com/FormAlchemy/formalchemy According to this repo, the latest change is 1.5.3, been committed 3 years ago. There are no visible activity (commits, response of issues, renew the domain of project, new post in maillist, ...) after that. This issue (#896197) has been fixed in the latest version (1.5.3), but I suggest stop maintaining and remove it directly. Sincerely Shell On Sat, Apr 21, 2018 at 4:00 AM, Helmut Grohne <hel...@subdivi.de> wrote: > Package: python-formalchemy > Version: 1.4.2-1 > Severity: serious > User: helm...@debian.org > Usertags: python-import > > After installing python-formalchemy importing the module formalchemy > into a python interpreter fails with the following error: > > Traceback (most recent call last): > File "<string>", line 1, in <module> > File "/usr/lib/python2.7/dist-packages/formalchemy/__init__.py", line > 9, in <module> > from formalchemy.tables import * > File "/usr/lib/python2.7/dist-packages/formalchemy/tables.py", line 9, > in <module> > from formalchemy.forms import FieldSet > File "/usr/lib/python2.7/dist-packages/formalchemy/forms.py", line 42, > in <module> > from formalchemy import fields > File "/usr/lib/python2.7/dist-packages/formalchemy/fields.py", line 21, > in <module> > from sqlalchemy import exceptions as sqlalchemy_exceptions > ImportError: cannot import name exceptions > > The vast majority of import failures is attributed to missing dependencies. > Often times that manifests as an ImportError or ModuleNotFoundError. > Typically, dependencies should be inserted by dh-python via > ${python:Depends} > or ${python3:Depends}. Thus a missing dependency can be caused by > incomplete > install_requires in setup.py. Sometimes a missing dependency of a > dependency > is the cause, in such cases this bug should be reassigned. > > Helmut > -- 彼節者有間,而刀刃者無厚;以無厚入有間,恢恢乎其於游刃必有餘地矣。 blog: http://shell909090.org/ twitter: @shell909090 <https://twitter.com/shell909090> about.me: http://about.me/shell909090