python32-postgresql 1.1.0 invalid (and broken)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
IUS Community Project |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Reported by Jason G. via Email:
Hey Guys,
I just noticed that one of our main production sites was down with this error:
=================
Traceback (most recent call last):
File "/home/
Res = self.Exec()
File "/home/
RVAL = Callable(self)
File "/home/
SO.
File "/home/
('IP', IP),
File "/home/
return self.CachePrepa
File "/home/
self.
File "/home/
ps = super()
File "/usr/lib64/
ps._fini()
File "/usr/lib64/
pack = (typio.resolve(x) or (None,None))[0]
File "/usr/lib64/
typio = builtins(typid)
File "/usr/lib64/
module_
File "/usr/lib64/
return __import__(__name__ + '.' + relmod, fromlist = True, level = 1)
File "/usr/lib64/
import ipaddress
ImportError: No module named ipaddress
=================
Jason spoke with the python postgresql guys and discovered Python 3.2 is not compatible with v1.1.0 py-postgresql:
http://
Changed in ius: | |
status: | New → Fix Released |
Test are not being ran on the pythonxx-postgresql packages,
this was handled in the same way Fedora upstream packages were handled:
http:// pkgs.fedoraproj ect.org/ cgit/python3- postgresql. git/tree/ python3- postgresql. spec
The reason test are not being ran is due to the test suite requiring a postgresql instance:
+ /usr/bin/python3.2 setup.py test rpm-tmp. kDm6ef (%check) rpm-tmp. kDm6ef (%check) build/SPECS/ python32- postgresql. spec'] python2. 7/site- packages/ mockbuild/ trace_decorator .py", line 70, in trace python2. 7/site- packages/ mockbuild/ util.py" , line 352, in do exception. Error, ("Command failed. See logs for output.\n # %s" % (command,), child.returncode) build/SPECS/ python32- postgresql. spec']
running test
ERROR: cannot find 'default' pg_config
HINT: set the PGINSTALLATION environment variable to the `pg_config` path
error: Bad exit status from /var/tmp/
RPM build errors:
Bad exit status from /var/tmp/
Child return code was: 1
EXCEPTION: Command failed. See logs for output.
# ['bash', '--login', '-c', 'rpmbuild -bb --target x86_64 --nodeps builddir/
Traceback (most recent call last):
File "/usr/lib/
result = func(*args, **kw)
File "/usr/lib/
raise mockbuild.
Error: Command failed. See logs for output.
# ['bash', '--login', '-c', 'rpmbuild -bb --target x86_64 --nodeps builddir/
LEAVE do --> EXCEPTION RAISED