[Python-modules-team] Bug#918683: python-sqlobject: Overly restrictive requires.txt in the sqlobject package
Neil Muller
drnlmuller+bugs at gmail.com
Tue Jan 8 10:46:09 GMT 2019
Package: python-sqlobject
Version: 3.7.0+dfsg-1
Severity: normal
Dear Maintainer,
The 3.7 sqlobject package includes an overly restrictive requires.txt
file from upstream, which breaks with the version of formencode
currently in debian when used with setuptools.
The sqlobject disables the use of formencode 1.3.0 to work around an
issue with the wheels produced by that version, but the problem doesn't
apply to the debian version.
When running a local python app using setuptools with the current package,
the restrictions cause the following traceback:
error: Could not find suitable distribution for Requirement.parse('FormEncode!=1.3.0,>=1.1.1')
Traceback (most recent call last):
File "./test", line 6, in <module>
from pkg_resources import load_entry_point
File "/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 3126, in <module>
@_call_aside
File "/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 3110, in _call_aside
f(*args, **kwargs)
File "/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 3139, in _initialize_master_working_set
working_set = WorkingSet._build_master()
File "/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 583, in _build_master
return cls._build_from_requirements(__requires__)
File "/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 596, in _build_from_requirements
dists = ws.resolve(reqs, Environment())
File "/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 784, in resolve
raise DistributionNotFound(req, requirers)
pkg_resources.DistributionNotFound: The 'FormEncode!=1.3.0,>=1.1.1' distribution was not found and is required by SQLObject
Lowering the requirement to allow Formencode>=1.3.0 gives a working installation.
-- System Information:
Debian Release: buster/sid
APT prefers testing
APT policy: (500, 'testing')
Architecture: amd64 (x86_64)
Kernel: Linux 4.19.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_ZA.UTF-8, LC_CTYPE=en_ZA.UTF-8 (charmap=UTF-8), LANGUAGE=en_ZA.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages python-sqlobject depends on:
ii python 2.7.15-3
ii python-formencode 1.3.0-3
ii python-pkg-resources 40.6.2-1
ii python-pydispatch 2.0.5-1
Versions of packages python-sqlobject recommends:
ii sqlobject-admin 3.7.0+dfsg-1
Versions of packages python-sqlobject suggests:
pn python-adodb <none>
ii python-fdb 1.6.1+dfsg1-1
ii python-mysqldb 1.3.10-1+b1
ii python-psycopg2 2.7.6.1-3
pn python-pymssql <none>
pn python-sqlite <none>
ii python-sqlobject-doc 3.7.0+dfsg-1
-- debconf-show failed
More information about the Python-modules-team
mailing list