Bug#896197: python-formalchemy: formalchemy fails to import

2018-04-21 Thread Helmut Grohne
On Sat, Apr 21, 2018 at 04:01:46PM +0800, Shell Xu wrote:
> I don't use python-formalchemy for years, and even requested for adoption
> for years. But I guess I known how this is coming.

Thank you for replying anyway.

> 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.

The correct course of action for that is sending the following to
control@bugs.d.o:

retitle 896197 RM: python-formalchemy -- ROM; dead upstream
severity 896197 normal
reassign 896197 ftp.debian.org

python-formalchemy already has no reverse dependencies, so removing it
doesn't kick anything else.

Helmut



Bug#896197: python-formalchemy: formalchemy fails to import

2018-04-21 Thread Shell Xu
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  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 "", line 1, in 
>   File "/usr/lib/python2.7/dist-packages/formalchemy/__init__.py", line
> 9, in 
> from formalchemy.tables import *
>   File "/usr/lib/python2.7/dist-packages/formalchemy/tables.py", line 9,
> in 
> from formalchemy.forms import FieldSet
>   File "/usr/lib/python2.7/dist-packages/formalchemy/forms.py", line 42,
> in 
> from formalchemy import fields
>   File "/usr/lib/python2.7/dist-packages/formalchemy/fields.py", line 21,
> in 
> 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 
about.me: http://about.me/shell909090


Bug#896197: python-formalchemy: formalchemy fails to import

2018-04-20 Thread Helmut Grohne
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 "", line 1, in 
  File "/usr/lib/python2.7/dist-packages/formalchemy/__init__.py", line 9, in 

from formalchemy.tables import *
  File "/usr/lib/python2.7/dist-packages/formalchemy/tables.py", line 9, in 

from formalchemy.forms import FieldSet
  File "/usr/lib/python2.7/dist-packages/formalchemy/forms.py", line 42, in 

from formalchemy import fields
  File "/usr/lib/python2.7/dist-packages/formalchemy/fields.py", line 21, in 

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