[Bug 1048091] [NEW] dh_python3: TypeError when maximum version is specified
IRIE Shinsuke
1048091 at bugs.launchpad.net
Sun Sep 9 02:58:21 UTC 2012
Public bug reported:
Package: python3-defaults
Version: 3.2.3-5
I was building a deb package using python3 in my PPA. I want to specify
a range of python3 version, but dh_python3 causes an error as follows if
the maximum version is specified:
Traceback (most recent call last):
File "/usr/bin/dh_python3", line 490, in <module>
main()
File "/usr/bin/dh_python3", line 422, in main
dependencies.parse(stats, options)
File "/usr/share/python3/debpython/depends.py", line 158, in parse
self.depend("python3 (<< %s)" % vrepr(vr[1] + 1))
TypeError: can only concatenate tuple (not "int") to tuple
I specified the python3 version in debian/control as follows:
X-Python3-Version: >= 3.2, << 3.3
The same error happens when I use -V command line option like:
dh_python3 -V 3.2-3.3
** Affects: python3-defaults (Ubuntu)
Importance: Undecided
Status: New
** Affects: python3-defaults (Debian)
Importance: Unknown
Status: Unknown
** Tags: quantal
** Bug watch added: Debian Bug tracker #687060
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=687060
** Also affects: python3-defaults (Debian) via
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=687060
Importance: Unknown
Status: Unknown
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to python3-defaults in Ubuntu.
https://bugs.launchpad.net/bugs/1048091
Title:
dh_python3: TypeError when maximum version is specified
Status in “python3-defaults” package in Ubuntu:
New
Status in “python3-defaults” package in Debian:
Unknown
Bug description:
Package: python3-defaults
Version: 3.2.3-5
I was building a deb package using python3 in my PPA. I want to
specify a range of python3 version, but dh_python3 causes an error as
follows if the maximum version is specified:
Traceback (most recent call last):
File "/usr/bin/dh_python3", line 490, in <module>
main()
File "/usr/bin/dh_python3", line 422, in main
dependencies.parse(stats, options)
File "/usr/share/python3/debpython/depends.py", line 158, in parse
self.depend("python3 (<< %s)" % vrepr(vr[1] + 1))
TypeError: can only concatenate tuple (not "int") to tuple
I specified the python3 version in debian/control as follows:
X-Python3-Version: >= 3.2, << 3.3
The same error happens when I use -V command line option like:
dh_python3 -V 3.2-3.3
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/python3-defaults/+bug/1048091/+subscriptions
More information about the foundations-bugs
mailing list